37 lines
895 B
TypeScript
37 lines
895 B
TypeScript
import { type Base, genBase } from "./_base"
|
|
|
|
export interface Person extends Base {
|
|
// todo: awaiting approve from stake holder: buat field sapaan
|
|
// todo: adjust field ketika person Balita
|
|
name: string
|
|
alias?: string
|
|
frontTitle?: string
|
|
endTitle?: string
|
|
birthDate?: Date | string
|
|
birthRegency_code?: string
|
|
gender_code?: string
|
|
residentIdentityNumber?: string
|
|
passportNumber?: string
|
|
drivingLicenseNumber?: string
|
|
religion_code?: string
|
|
education_code?: string
|
|
occupation_code?: string
|
|
occupation_name?: string
|
|
ethnic_code?: string
|
|
language_code?: string
|
|
nationality?: string
|
|
communicationIssueStatus?: boolean
|
|
disability?: string
|
|
residentIdentityFileUrl?: string
|
|
passportFileUrl?: string
|
|
drivingLicenseFileUrl?: string
|
|
familyIdentityFileUrl?: string
|
|
}
|
|
|
|
export function genPerson(): Person {
|
|
return {
|
|
...genBase(),
|
|
name: '',
|
|
}
|
|
}
|