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