Files
simrsx-fe/app/models/person-address.ts
T
Khafid Prayoga 33f17e54b1 refactor(person-address): change postal_code to camelCase postalCode
Update all references to postal_code field to use camelCase postalCode for consistency with codebase naming conventions. This includes changes to models, schemas, and components.
2025-10-09 19:51:57 +07:00

22 lines
395 B
TypeScript

import { type Base, genBase } from './_base'
export interface PersonAddress extends Base {
person_id: number
locationType: string
address: string
rt?: string
rw?: string
postalCode?: string
village_code: string
}
export function genPersonAddress(): PersonAddress {
return {
...genBase(),
person_id: 0,
locationType: '',
address: '',
village_code: '',
}
}