OrganizationLicence.ts 606 B

1234567891011121314151617181920212223242526
  1. import { Str, Uid } from 'pinia-orm/dist/decorators'
  2. import ApiModel from '~/models/ApiModel'
  3. /**
  4. * AP2i Model : OrganizationLicence
  5. *
  6. * @see https://gitlab.2iopenservice.com/opentalent/ap2i/-/blob/develop/src/Entity/Organization/OrganizationLicence.php
  7. */
  8. export default class OrganizationLicence extends ApiModel {
  9. static entity = 'organization_licences'
  10. @Uid()
  11. declare id: number | string | null
  12. @Str('')
  13. declare licensee: string
  14. @Str(null)
  15. declare licenceNumber: string | null
  16. @Str(null)
  17. declare categorie: string | null
  18. @Str(null)
  19. declare validityDate: string | null
  20. }