| 12345678910111213141516171819 |
- import {Attr, Num, Model, Uid, HasOne} from '@vuex-orm/core'
- import { Historical } from '~/types/interfaces'
- import {Person} from "~/models/Person/Person";
- export class Access extends Model {
- static entity = 'accesses'
- @Uid()
- id!: number | string | null
- @HasOne(() => Person, 'accessId')
- person!: Person | null
- @Num(0, { nullable: true })
- activityYear!: number
- @Attr({})
- historical!: Historical
- }
|