| 1 | <?php |
||
| 18 | class Prepayment |
||
| 19 | { |
||
| 20 | use PrepaymentValidator; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @Assert\NotBlank() |
||
| 24 | * @Assert\Length(min="2", max="2") |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $tipoDocRel; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @Assert\NotBlank() |
||
| 31 | * @Assert\Length(max="30") |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | private $nroDocRel; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @Assert\NotBlank() |
||
| 38 | * @Assert\Type("numeric") |
||
| 39 | * @var float |
||
| 40 | */ |
||
| 41 | private $total; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | 2 | public function getTipoDocRel() |
|
| 50 | |||
| 51 | /** |
||
| 52 | * @param string $tipoDocRel |
||
| 53 | * @return Prepayment |
||
| 54 | */ |
||
| 55 | 12 | public function setTipoDocRel($tipoDocRel) |
|
| 60 | |||
| 61 | /** |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | 2 | public function getNroDocRel() |
|
| 68 | |||
| 69 | /** |
||
| 70 | * @param string $nroDocRel |
||
| 71 | * @return Prepayment |
||
| 72 | */ |
||
| 73 | 12 | public function setNroDocRel($nroDocRel) |
|
| 78 | |||
| 79 | /** |
||
| 80 | * @return float |
||
| 81 | */ |
||
| 82 | 2 | public function getTotal() |
|
| 86 | |||
| 87 | /** |
||
| 88 | * @param float $total |
||
| 89 | * @return Prepayment |
||
| 90 | */ |
||
| 91 | 12 | public function setTotal($total) |
|
| 96 | } |