| 1 | <?php |
||
| 13 | class Client |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var integer |
||
| 17 | * |
||
| 18 | * @ORM\Column(type="integer") |
||
| 19 | * @ORM\Id |
||
| 20 | * @ORM\GeneratedValue(strategy="AUTO") |
||
| 21 | */ |
||
| 22 | private $id; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | * |
||
| 27 | * @ORM\Column(type="string", length=255) |
||
| 28 | */ |
||
| 29 | private $name; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | * |
||
| 34 | * @ORM\Column(type="string", length=255) |
||
| 35 | */ |
||
| 36 | private $status; |
||
| 37 | |||
| 38 | public function __construct() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get id |
||
| 45 | * |
||
| 46 | * @return integer |
||
| 47 | */ |
||
| 48 | public function getId() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Set name |
||
| 55 | * |
||
| 56 | * @param string $name |
||
| 57 | * @return Client |
||
| 58 | */ |
||
| 59 | public function setName($name) |
||
| 65 | |||
| 66 | /** |
||
| 67 | * Get name |
||
| 68 | * |
||
| 69 | * @return string |
||
| 70 | */ |
||
| 71 | public function getName() |
||
| 75 | |||
| 76 | /** |
||
| 77 | * Returns status |
||
| 78 | * |
||
| 79 | * @return string |
||
| 80 | */ |
||
| 81 | public function getStatus() |
||
| 85 | |||
| 86 | /** |
||
| 87 | * Sets status marking |
||
| 88 | * |
||
| 89 | * @param $status |
||
| 90 | */ |
||
| 91 | public function setStatus($status) |
||
| 95 | } |
||
| 96 |