33f17e54b1
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.
22 lines
395 B
TypeScript
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: '',
|
|
}
|
|
}
|