Organization.ts 317 B

1234567891011121314151617
  1. import {Model, Attr, Str} from '@vuex-orm/core'
  2. export class Organization extends Model{
  3. static entity = 'organizations'
  4. @Attr(null)
  5. id!: number | null
  6. @Str('', {nullable: false})
  7. name!: string
  8. @Str('', {nullable: true})
  9. legalStatus!: string
  10. @Str('', {nullable: true})
  11. principalType!: string
  12. }