| 1 | <?php |
||
| 17 | class Company |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @Assert\NotBlank() |
||
| 21 | * @Assert\Length(max="11", min="11") |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $ruc; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @Assert\NotBlank() |
||
| 28 | * @Assert\Length(max="100") |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | private $razonSocial; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @Assert\Length(max="100") |
||
| 35 | * @var string |
||
| 36 | */ |
||
| 37 | private $nombreComercial; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @Assert\Valid() |
||
| 41 | * @var Address |
||
| 42 | */ |
||
| 43 | private $address; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | 2 | public function getRuc() |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @param string $ruc |
||
| 55 | * @return Company |
||
| 56 | */ |
||
| 57 | 2 | public function setRuc($ruc) |
|
| 62 | |||
| 63 | /** |
||
| 64 | * @return string |
||
| 65 | */ |
||
| 66 | 2 | public function getRazonSocial() |
|
| 70 | |||
| 71 | /** |
||
| 72 | * @param string $razonSocial |
||
| 73 | * @return Company |
||
| 74 | */ |
||
| 75 | 2 | public function setRazonSocial($razonSocial) |
|
| 80 | |||
| 81 | /** |
||
| 82 | * @return string |
||
| 83 | */ |
||
| 84 | public function getNombreComercial() |
||
| 85 | { |
||
| 86 | return $this->nombreComercial; |
||
| 87 | } |
||
| 88 | |||
| 89 | /** |
||
| 90 | * @param string $nombreComercial |
||
| 91 | * @return Company |
||
| 92 | */ |
||
| 93 | 2 | public function setNombreComercial($nombreComercial) |
|
| 98 | |||
| 99 | /** |
||
| 100 | * @return Address |
||
| 101 | */ |
||
| 102 | public function getAddress() |
||
| 103 | { |
||
| 104 | return $this->address; |
||
| 105 | } |
||
| 106 | |||
| 107 | /** |
||
| 108 | * @param Address $address |
||
| 109 | * @return Company |
||
| 110 | */ |
||
| 111 | 2 | public function setAddress($address) |
|
| 116 | } |