MyProfile.ts 299 B

123456789101112131415
  1. import { Attr, Num, Model } from '@vuex-orm/core'
  2. import { Historical } from '~/types/interfaces'
  3. export class MyProfile extends Model {
  4. static entity = 'accesses'
  5. @Attr(null)
  6. id!: number | null
  7. @Num(0, { nullable: true })
  8. activityYear!: number
  9. @Attr({})
  10. historical!: Historical
  11. }