Completed
Push — Recipes ( 630f49...c8afb0 )
by Laurent
12:15 queued 03:48
created

Company::getStatus()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * Entity Company.
5
 *
6
 * PHP Version 7
7
 *
8
 * @author    Quétier Laurent <[email protected]>
9
 * @copyright 2014 Dev-Int GLSR
10
 * @license   http://opensource.org/licenses/gpl-license.php GNU Public License
11
 *
12
 * @version GIT: <git_id>
13
 *
14
 * @link https://github.com/Dev-Int/glsr
15
 */
16
namespace  App\Entity\Settings;
17
18
use Doctrine\ORM\Mapping as ORM;
19
use App\Entity\Contact;
20
21
/**
22
 * Company Entity.
23
 *
24
 * @category Entity
25
 *
26
 * @ORM\Table(name="gs_company")
27
 * @ORM\Entity(repositoryClass="App\Repository\Settings\CompanyRepository")
28
 */
29
class Company extends Contact
30
{
31
    /**
32
     * @var int $cpId company ID
33
     *
34
     * @ORM\Column(name="id", type="integer")
35
     * @ORM\Id
36
     * @ORM\GeneratedValue(strategy="AUTO")
37
     */
38
    private $cpId;
39
40
    /**
41
     * @var string $status Status of the company
42
     *
43
     * @ORM\Column(name="status", type="string", length=255)
44
     */
45
    private $status;
46
47
    /**
48
     * Get id
49
     *
50
     * @return integer
51
     */
52
    public function getId()
53
    {
54
        return $this->cpId;
55
    }
56
57
    /**
58
     * Set status.
59
     *
60
     * @param string $status Statut juridique
61
     *
62
     * @return Company
63
     */
64
    public function setStatus($status)
65
    {
66
        $this->status = $status;
67
68
        return $this;
69
    }
70
71
    /**
72
     * Get status.
73
     *
74
     * @return string
75
     */
76
    public function getStatus()
77
    {
78
        return $this->status;
79
    }
80
}
81