1 | <?php |
||
17 | class Document |
||
18 | { |
||
19 | /** |
||
20 | * @Assert\Length( |
||
21 | * min="2", |
||
22 | * max="2" |
||
23 | * ) |
||
24 | * @var string |
||
25 | */ |
||
26 | private $tipoDoc; |
||
27 | |||
28 | /** |
||
29 | * @Assert\Length(max="30") |
||
30 | * @var string |
||
31 | */ |
||
32 | private $nroDoc; |
||
33 | |||
34 | /** |
||
35 | * @return string |
||
36 | */ |
||
37 | public function getTipoDoc() |
||
41 | |||
42 | /** |
||
43 | * @param string $tipoDoc |
||
44 | * @return Document |
||
45 | */ |
||
46 | public function setTipoDoc($tipoDoc) |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getNroDoc() |
||
59 | |||
60 | /** |
||
61 | * @param string $nroDoc |
||
62 | * @return Document |
||
63 | */ |
||
64 | public function setNroDoc($nroDoc) |
||
69 | } |