|
|
@@ -1,10 +1,10 @@
|
|
|
-import { Attr, Str, HasOne, Num, Model } from '@vuex-orm/core'
|
|
|
+import {Str, HasOne, Num, Model, Uid} from '@vuex-orm/core'
|
|
|
import { Country } from '~/models/Core/Country'
|
|
|
|
|
|
export class AddressPostal extends Model {
|
|
|
static entity = 'address_postals'
|
|
|
|
|
|
- @Attr(null)
|
|
|
+ @Uid()
|
|
|
id!: number | null
|
|
|
|
|
|
@HasOne(() => Country, 'id')
|