import {Str, Model, Uid} from '@vuex-orm/core'

export class OrganizationLicence extends Model {
  static entity = 'organization_licences'

  @Uid()
  id!: number | string | null

  @Str('', { nullable: false })
  licensee!: string

  @Str(null, { nullable: true })
  licenceNumber!: string|null

  @Str(null, { nullable: true })
  categorie!: string|null

  @Str(null, { nullable: true })
  validityDate!: string|null
}
