NotificationUsers.ts 360 B

1234567891011121314151617
  1. import { Str, Model, Bool, Uid } from '@vuex-orm/core'
  2. export class NotificationUsers extends Model {
  3. static entity = 'notification_users'
  4. @Uid()
  5. id!: number | string | null
  6. @Str(null, { nullable: true })
  7. notification!: string|null
  8. @Str(null, { nullable: true })
  9. access!: string|null
  10. @Bool(false, { nullable: false })
  11. isRead!: boolean
  12. }