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: '',
|
|
}
|
|
}
|