| 1 | <?php |
||
| 16 | class Z0600 extends Element implements ElementInterface |
||
| 17 | { |
||
| 18 | const REG = '0600'; |
||
| 19 | const LEVEL = 2; |
||
| 20 | const PARENT = ''; |
||
| 21 | |||
| 22 | protected $parameters = [ |
||
| 23 | 'DT_ALT' => [ |
||
| 24 | 'type' => 'string', |
||
| 25 | 'regex' => '^[0-9]{8}$', |
||
| 26 | 'required' => true, |
||
| 27 | 'info' => 'Data da inclusão/alteração', |
||
| 28 | 'format' => '' |
||
| 29 | ], |
||
| 30 | 'COD_CCUS' => [ |
||
| 31 | 'type' => 'string', |
||
| 32 | 'regex' => '^.{1,60}$', |
||
| 33 | 'required' => true, |
||
| 34 | 'info' => 'Código do centro de custo', |
||
| 35 | 'format' => '' |
||
| 36 | ], |
||
| 37 | 'CCUS' => [ |
||
| 38 | 'type' => 'string', |
||
| 39 | 'regex' => '^.{1,60}$', |
||
| 40 | 'required' => true, |
||
| 41 | 'info' => 'Nome do centro de custo', |
||
| 42 | 'format' => '' |
||
| 43 | ], |
||
| 44 | ]; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Constructor |
||
| 48 | * @param stdClass $std |
||
| 49 | */ |
||
| 50 | public function __construct(stdClass $std) |
||
| 55 | } |
||
| 56 |