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

export class NotificationUsers extends Model {
  static entity = 'notification_users'

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

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

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

  @Bool(false, { nullable: false })
  isRead!: boolean
}
