ZaliczkaAnulowanaStorageAcl.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. Lib::loadClass('Core_AclSimpleSchemaBase');// extends Core_AclBase
  3. Lib::loadClass('Core_AclHelper');
  4. Lib::loadClass('Schema_DefaultDb_zaliczka_ZaliczkaStorageAcl');
  5. class Schema_DefaultDb_zaliczka_ZaliczkaAnulowanaStorageAcl extends Schema_DefaultDb_zaliczka_ZaliczkaStorageAcl {
  6. public $_simpleSchema = [
  7. 'root' => [
  8. '@namespace' => 'default_db/ZALICZKA/ZaliczkaAnulowana',// Api_WfsNs::getBaseWfsUri() . '/default_db/Zaliczka'
  9. '@derived' => [
  10. 'default_db/ZALICZKA/Zaliczka'
  11. ],
  12. 'id' => 'xsd:integer',
  13. 'created' => [ '@type' => 'xsd:date', '@alias' => 'A_RECORD_CREATE_DATE' ],
  14. 'worker' => [ '@ref' => 'default_objects/AccessOwner' ],// 'alias_ref:default_objects:AccessOwner'
  15. // 'worker' => [ '@ref' => 'Worker' ],
  16. 'kwota' => [ '@type' => 'xsd:decimal', '@totalDigits' => 16, '@fractionDigits' => 2 ],
  17. 'nierozliczona_kwota' => [ '@type' => 'xsd:decimal', '@totalDigits' => 16, '@fractionDigits' => 2 ],
  18. 'pozycja' => [ '@ref' => 'default_db/ZALICZKA_POZYCJA/ZaliczkaPozycja', '@maxOccurs' => 'unbounded' ]
  19. ],
  20. 'Korespondencja' => [
  21. '@namespace' => 'default_db/IN7_DZIENNIK_KORESP',
  22. 'id' => [ '@type' => 'xsd:integer', '@alias' => 'ID' ],
  23. 'title' => [ '@type' => 'xsd:string', '@alias' => 'K_ZAWARTOS' ],
  24. 'kategoriaKosztu' => [ '@type' => 'xsd:string', '@alias' => 'KATEGORIA_KOSZTU' ]
  25. ],
  26. 'Projekt' => [
  27. '@namespace' => 'default_db/IN7_MK_BAZA_DYSTRYBUCJI',
  28. 'id' => [ '@type' => 'xsd:integer', '@alias' => 'ID' ],
  29. 'nrBudowy' => [ '@type' => 'xsd:string', '@alias' => 'M_DIST_DEALNUM' ],// TODO: ? M_DIST_DESC (szerszy opis)
  30. ],
  31. ];
  32. }