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