| 1 | <?php | ||
| 9 | class C489 extends Element implements ElementInterface | ||
| 10 | { | ||
| 11 | const REG = 'C489'; | ||
| 12 | const LEVEL = 4; | ||
| 13 | const PARENT = 'C400'; | ||
| 14 | |||
| 15 | protected $parameters = [ | ||
| 16 | 'NUM_PROC' => [ | ||
| 17 | 'type' => 'string', | ||
| 18 |             'regex' => '^.{0,20}$', | ||
| 19 | 'required' => false, | ||
| 20 | 'info' => 'Identificação do processo ou ato concessório', | ||
| 21 | 'format' => '' | ||
| 22 | ], | ||
| 23 | 'IND_PROC' => [ | ||
| 24 | 'type' => 'string', | ||
| 25 | 'regex' => '^(1|3|9)$', | ||
| 26 | 'required' => false, | ||
| 27 | 'info' => 'Indicador da origem do processo: 1 - Justiça Federal; | ||
| 28 | 3 – Secretaria da Receita Federal do Brasil 9 - Outros.', | ||
| 29 | 'format' => '' | ||
| 30 | ], | ||
| 31 | |||
| 32 | ]; | ||
| 33 | |||
| 34 | /** | ||
| 35 | * Constructor | ||
| 36 | * @param \stdClass $std | ||
| 37 | */ | ||
| 38 | public function __construct(\stdClass $std) | ||
| 43 | } | ||
| 44 |