1 | <?php |
||
15 | class C174 extends Element implements ElementInterface |
||
16 | { |
||
17 | const REG = 'C174'; |
||
18 | const LEVEL = 4; |
||
19 | const PARENT = ''; |
||
20 | |||
21 | protected $parameters = [ |
||
22 | 'IND_ARM' => [ |
||
23 | 'type' => 'string', |
||
24 | 'regex' => '^(0|1)$', |
||
25 | 'required' => false, |
||
26 | 'info' => 'Indicador do tipo da arma de fogo', |
||
27 | 'format' => '' |
||
28 | ], |
||
29 | 'NUM_ARM' => [ |
||
30 | 'type' => 'string', |
||
31 | 'regex' => '^(.*)$', |
||
32 | 'required' => false, |
||
33 | 'info' => 'Numeração de série de fabricação da arma', |
||
34 | 'format' => '' |
||
35 | ], |
||
36 | 'DESCR_COMPL' => [ |
||
37 | 'type' => 'string', |
||
38 | 'regex' => '^(.*)$', |
||
39 | 'required' => false, |
||
40 | 'info' => 'Descrição da arma', |
||
41 | 'format' => '' |
||
42 | ], |
||
43 | ]; |
||
44 | |||
45 | /** |
||
46 | * Constructor |
||
47 | * @param \stdClass $std |
||
48 | */ |
||
49 | public function __construct(\stdClass $std) |
||
54 | } |
||
55 |