| 123456789101112131415 |
- import {Attr, Str, HasOne, Model} from '@vuex-orm/core'
- import {AddressPostal} from "~/models/Core/AddressPostal";
- export class OrganizationAddressPostal extends Model{
- static entity = 'organization_address_postals'
- @Attr(null)
- id!: number | null
- @HasOne(() => AddressPostal, 'id')
- addressPostal!: AddressPostal | null
- @Str('PRINCIPAL', {nullable: false})
- type!: string
- }
|