| 1 | <?php |
||
| 9 | class Z0035 extends Element implements ElementInterface |
||
| 10 | { |
||
| 11 | const REG = '0035'; |
||
| 12 | const LEVEL = 0; |
||
| 13 | const PARENT = '2'; |
||
| 14 | |||
| 15 | protected $parameters = [ |
||
| 16 | 'COD_SCP' => [ |
||
| 17 | 'type' => 'numeric', |
||
| 18 | 'regex' => '^(\d{14})$', |
||
| 19 | 'required' => false, |
||
| 20 | 'info' => 'Identificação da SCP', |
||
| 21 | 'format' => '' |
||
| 22 | ], |
||
| 23 | 'DESC_SCP' => [ |
||
| 24 | 'type' => 'string', |
||
| 25 | 'regex' => '^(.*)$', |
||
| 26 | 'required' => false, |
||
| 27 | 'info' => 'Descrição da SCP', |
||
| 28 | 'format' => '' |
||
| 29 | ], |
||
| 30 | 'INF_COMP' => [ |
||
| 31 | 'type' => 'string', |
||
| 32 | 'regex' => '^(.*)$', |
||
| 33 | 'required' => false, |
||
| 34 | 'info' => 'Informação Complementar', |
||
| 35 | 'format' => '' |
||
| 36 | ], |
||
| 37 | |||
| 38 | ]; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Constructor |
||
| 42 | * @param \stdClass $std |
||
| 43 | */ |
||
| 44 | public function __construct(\stdClass $std) |
||
| 49 | } |
||
| 50 |