Files
simrsx-fe/app/models/person.ts
T

35 lines
753 B
TypeScript

import type { ItemMeta } from '~/models/_model'
export interface Person extends ItemMeta {
id: number
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
residentIdentityFileUrl?: string
passportFileUrl?: string
drivingLicenseFileUrl?: string
familyIdentityFileUrl?: string
}
export function genPerson(): Person {
return {
id: 0,
createdAt: '',
updatedAt: '',
name: '',
}
}