| 1 | <?php |
||
| 13 | class C111 extends Element implements ElementInterface |
||
| 14 | { |
||
| 15 | const REG = 'C111'; |
||
| 16 | const LEVEL = 4; |
||
| 17 | const PARENT = 'C110'; |
||
| 18 | |||
| 19 | protected $parameters = [ |
||
| 20 | 'NUM_PROC' => [ |
||
| 21 | 'type' => 'string', |
||
| 22 | 'regex' => '^[A-z0-9]{1,15}$', |
||
| 23 | 'required' => true, |
||
| 24 | 'info' => 'Identificação do processo ou ato concessório', |
||
| 25 | 'format' => '' |
||
| 26 | ], |
||
| 27 | 'IND_PROC' => [ |
||
| 28 | 'type' => 'string', |
||
| 29 | 'regex' => '^(0|1|2|3|9)$', |
||
| 30 | 'required' => true, |
||
| 31 | 'info' => 'Indicador da origem do processo', |
||
| 32 | 'format' => '' |
||
| 33 | ] |
||
| 34 | ]; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Constructor |
||
| 38 | * @param \stdClass $std |
||
| 39 | */ |
||
| 40 | public function __construct(\stdClass $std) |
||
| 45 | } |
||
| 46 |