fixing rank registry & change type any to interface
This commit is contained in:
parent
32b83298cd
commit
516a405df4
4 changed files with 68 additions and 11 deletions
30
src/interface/Main.ts
Normal file
30
src/interface/Main.ts
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
interface ProfileData {
|
||||
rank?: string;
|
||||
prefix: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
position: string;
|
||||
posExecutiveName?: string;
|
||||
posTypeName: string;
|
||||
posLevelName: string;
|
||||
posNo: string;
|
||||
}
|
||||
|
||||
interface InformationData {
|
||||
rank?: string; //ยศ
|
||||
citizenId: string; //เลขประจำตัวประชาชน
|
||||
prefix: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
birthDate: Date | null; //วันเกิด
|
||||
gender: string; //เพศ
|
||||
relationship: string; //สถานภาพ
|
||||
nationality: string; //สัญชาติ
|
||||
ethnicity: string; //เชื้อชาติ
|
||||
religion: string; //ศาสนา
|
||||
bloodGroup: string; //หมู่เลือด
|
||||
phone: string; //เบอร์โทร
|
||||
email: string;
|
||||
}
|
||||
|
||||
export type { ProfileData, InformationData };
|
||||
Loading…
Add table
Add a link
Reference in a new issue