feat(02): citizen id, issue, expire

This commit is contained in:
puriphatt 2024-09-12 15:41:54 +07:00
parent 6a6bf68cd9
commit aece743ccf
6 changed files with 387 additions and 264 deletions

View file

@ -34,6 +34,12 @@ export type User = {
provinceId: string | null;
addressEN: string;
address: string;
mooEN: string;
moo: string;
soiEN: string;
soi: string;
streetEN: string;
street: string;
lastNameEN: string;
lastName: string;
middleNameEN?: string | null;
@ -47,6 +53,9 @@ export type User = {
responsibleArea: string;
checkpoint?: string | null;
checkpointEN?: string | null;
citizenExpire?: Date | null;
citizenIssue?: Date | null;
citizenId: string;
branch: Branch[];
};
@ -62,6 +71,12 @@ export type UserCreate = {
gender: string;
addressEN: string;
address: string;
mooEN: string;
moo: string;
soiEN: string;
soi: string;
streetEN: string;
street: string;
trainingPlace?: string | null;
importNationality?: string | null;
sourceNationality?: string | null;
@ -87,6 +102,9 @@ export type UserCreate = {
responsibleArea?: string | null;
checkpoint?: string | null;
checkpointEN?: string | null;
citizenExpire?: Date | null;
citizenIssue?: Date | null;
citizenId: string;
};
export type UserAttachment = {