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