| 1 | <?php |
||
| 24 | class Z0400 extends Element implements ElementInterface |
||
| 25 | { |
||
| 26 | const REG = '0400'; |
||
| 27 | const LEVEL = 0; |
||
| 28 | const PARENT = ''; |
||
| 29 | |||
| 30 | protected $parameters = [ |
||
| 31 | 'COD_NAT' => [ |
||
| 32 | 'type' => 'string', |
||
| 33 | 'regex' => '^.{1,10}$', |
||
| 34 | 'required' => true, |
||
| 35 | 'info' => 'Código da natureza da operação/prestação', |
||
| 36 | 'format' => '' |
||
| 37 | ], |
||
| 38 | 'DESCR_NAT' => [ |
||
| 39 | 'type' => 'string', |
||
| 40 | 'regex' => '^.{1,255}$', |
||
| 41 | 'required' => true, |
||
| 42 | 'info' => 'Descrição da natureza da operação/prestação', |
||
| 43 | 'format' => '' |
||
| 44 | ] |
||
| 45 | ]; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Constructor |
||
| 49 | * @param stdClass $std |
||
| 50 | */ |
||
| 51 | public function __construct(stdClass $std) |
||
| 56 | } |
||
| 57 |