| 1234567891011121314151617 |
- import {Model, Attr, Str} from '@vuex-orm/core'
- export class Person extends Model{
- static entity = 'people'
- @Attr(null)
- id!: number | null
- @Attr(null)
- accessId!: number | null
- @Str('', {nullable: false})
- name!: string
- @Str('', {nullable: true})
- givenName!: string
- }
|