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

export class Person extends Model {
  static entity = 'people'

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

  @Attr(null)
  accessId!: number | null

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