update
This commit is contained in:
parent
46533bbd62
commit
15d3ac574d
128 changed files with 347 additions and 322 deletions
15
src/modules/04_registryPerson/interface/response/Address.ts
Normal file
15
src/modules/04_registryPerson/interface/response/Address.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
interface ResponseObject {
|
||||
registrationAddress: string | null;
|
||||
registrationProvinceId: string | null;
|
||||
registrationDistrictId: string | null;
|
||||
registrationSubDistrictId: string | null;
|
||||
registrationZipCode: string | null;
|
||||
currentAddress: string | null;
|
||||
currentProvinceId: string | null;
|
||||
currentDistrictId: string | null;
|
||||
currentSubDistrictId: string | null;
|
||||
currentZipCode: string | null;
|
||||
id: string;
|
||||
}
|
||||
|
||||
export type { ResponseObject };
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
interface ResponseObject {
|
||||
createdAt: Date;
|
||||
createdFullName: string;
|
||||
createdUserId: string;
|
||||
detail: string;
|
||||
id: string;
|
||||
isActive: boolean;
|
||||
isDate: boolean;
|
||||
issueDate: Date;
|
||||
issuer: string;
|
||||
lastUpdateFullName: string;
|
||||
lastUpdateUserId: string;
|
||||
lastUpdatedAt: Date;
|
||||
profileId: string;
|
||||
refCommandDate: Date;
|
||||
refCommandNo: string;
|
||||
}
|
||||
|
||||
export type { ResponseObject };
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
//ข้อมูล
|
||||
interface ResponseObject {
|
||||
createdAt: Date
|
||||
createdFullName: string
|
||||
createdUserId: string
|
||||
educationLevel: string;
|
||||
institute: string;
|
||||
startYear: number;
|
||||
endYear: number;
|
||||
finishDate: Date;
|
||||
startDate: Date;
|
||||
endDate: Date;
|
||||
isEducation: boolean | null;
|
||||
degree: string;
|
||||
field: string;
|
||||
fundName: string;
|
||||
gpa: string;
|
||||
country: string;
|
||||
other: string;
|
||||
duration: string;
|
||||
durationYear: number | null;
|
||||
note: string;
|
||||
isActive: boolean
|
||||
isDate: boolean
|
||||
positionPath: string
|
||||
positionPathId : string
|
||||
profileId: string
|
||||
lastUpdateFullName: string
|
||||
lastUpdateUserID: string
|
||||
lastUpdatedAt: Date
|
||||
}
|
||||
|
||||
export type { ResponseObject };
|
||||
|
||||
54
src/modules/04_registryPerson/interface/response/Employee.ts
Normal file
54
src/modules/04_registryPerson/interface/response/Employee.ts
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
interface EmployeeHistory {
|
||||
createdAt: string;
|
||||
createdFullName: string;
|
||||
createdUserId: string;
|
||||
employeeMoneyAllowance: string;
|
||||
employeeMoneyEmployee: string;
|
||||
employeeMoneyEmployer: string;
|
||||
employeeMoneyIncrease: string;
|
||||
employeeOc: string;
|
||||
employeeTypeIndividual: string;
|
||||
employeeWage: string;
|
||||
id: string;
|
||||
lastUpdateFullName: string;
|
||||
lastUpdateUserId: string;
|
||||
lastUpdatedAt: string;
|
||||
positionEmployeeGroupId: string;
|
||||
positionEmployeeLineId: string;
|
||||
positionEmployeePositionId: string;
|
||||
}
|
||||
|
||||
interface Employment {
|
||||
command: string;
|
||||
date: string | Date;
|
||||
id: string;
|
||||
}
|
||||
|
||||
interface EmploymentHistory {
|
||||
command: string;
|
||||
createdAt: string | Date;
|
||||
createdFullName: string;
|
||||
createdUserId: string;
|
||||
date: string | Date;
|
||||
id: string;
|
||||
lastUpdateFullName: string;
|
||||
lastUpdateUserId: string;
|
||||
lastUpdatedAt: string | Date;
|
||||
profileEmployeeEmploymentId: string;
|
||||
}
|
||||
|
||||
interface ResEmployee {
|
||||
id: string;
|
||||
positionEmployeeGroupId: string;
|
||||
positionEmployeeLineId: string;
|
||||
positionEmployeePositionId: string;
|
||||
employeeOc: string;
|
||||
employeeTypeIndividual: string;
|
||||
employeeWage: string;
|
||||
employeeMoneyIncrease: string;
|
||||
employeeMoneyAllowance: string;
|
||||
employeeMoneyEmployee: string;
|
||||
employeeMoneyEmployer: string;
|
||||
}
|
||||
|
||||
export type { Employment, EmploymentHistory, EmployeeHistory, ResEmployee };
|
||||
23
src/modules/04_registryPerson/interface/response/History.ts
Normal file
23
src/modules/04_registryPerson/interface/response/History.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
interface HistoryPos {
|
||||
citizenId: string;
|
||||
date: string | Date;
|
||||
fullName: string;
|
||||
id: string;
|
||||
posNo: string;
|
||||
position: string;
|
||||
}
|
||||
|
||||
interface Position {
|
||||
createdAt: string;
|
||||
createdFullName: string;
|
||||
createdUserId: string;
|
||||
id: string;
|
||||
isActive: boolean;
|
||||
lastUpdateFullName: string;
|
||||
lastUpdateUserId: "";
|
||||
lastUpdatedAt: string;
|
||||
name: string;
|
||||
note: string;
|
||||
}
|
||||
|
||||
export type { HistoryPos, Position };
|
||||
55
src/modules/04_registryPerson/interface/response/Insignia.ts
Normal file
55
src/modules/04_registryPerson/interface/response/Insignia.ts
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
interface ResponseObject {
|
||||
id: string;
|
||||
createdAt: string;
|
||||
createdUserId: Date | null;
|
||||
lastUpdatedAt: Date | null;
|
||||
lastUpdateUserId: string;
|
||||
createdFullName: string;
|
||||
lastUpdateFullName: string;
|
||||
profileId: string;
|
||||
year: number;
|
||||
no: string;
|
||||
volume: string;
|
||||
section: string;
|
||||
page: string;
|
||||
receiveDate: Date | null;
|
||||
insigniaId: string;
|
||||
insignia: ResponseInsigniaObject;
|
||||
dateAnnounce: Date | null;
|
||||
issue: string;
|
||||
volumeNo: string;
|
||||
refCommandDate: Date | null;
|
||||
refCommandNo: string;
|
||||
note: string;
|
||||
}
|
||||
|
||||
interface ResponseInsigniaObject {
|
||||
createdAt: Date;
|
||||
createdFullName: string;
|
||||
createdUserId: string;
|
||||
id: string;
|
||||
insigniaType: ResponseInsigniaType;
|
||||
insigniaTypeId: string;
|
||||
isActive: boolean;
|
||||
lastUpdateFullName: string;
|
||||
lastUpdateUserId: string;
|
||||
lastUpdatedAt: Date;
|
||||
level: null;
|
||||
name: string;
|
||||
note: string;
|
||||
shortName: string;
|
||||
}
|
||||
|
||||
interface ResponseInsigniaType {
|
||||
createdAt: Date;
|
||||
createdFullName: string;
|
||||
createdUserId: string;
|
||||
id: string;
|
||||
isActive: boolean;
|
||||
lastUpdateFullName: string;
|
||||
lastUpdateUserId: string;
|
||||
lastUpdatedAt: Date;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export type { ResponseObject, ResponseInsigniaObject, ResponseInsigniaType };
|
||||
27
src/modules/04_registryPerson/interface/response/Main.ts
Normal file
27
src/modules/04_registryPerson/interface/response/Main.ts
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
interface DataType {
|
||||
id: string;
|
||||
posLevels: any;
|
||||
posTypeName: string;
|
||||
posTypeRank: number;
|
||||
}
|
||||
|
||||
interface DataLevel {
|
||||
id: string;
|
||||
posLevelAuthority: string | null;
|
||||
posLevelName: string;
|
||||
posLevelRank: number;
|
||||
}
|
||||
|
||||
interface DataPerson {
|
||||
avatar?: string;
|
||||
citizenId: string;
|
||||
firstName: string;
|
||||
id: string;
|
||||
lastName: string;
|
||||
posLevelId: string;
|
||||
posTypeId: string;
|
||||
position: string;
|
||||
prefix: string;
|
||||
}
|
||||
|
||||
export type { DataType, DataLevel, DataPerson };
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
//ข้อมูล
|
||||
interface ResponseObject {
|
||||
issuer: string,
|
||||
certificateType: string,
|
||||
certificateNo: string,
|
||||
issueDate: Date | null,
|
||||
isActive: boolean,
|
||||
expireDate: Date | null
|
||||
}
|
||||
|
||||
export type { ResponseObject };
|
||||
|
||||
107
src/modules/04_registryPerson/interface/response/Profile.ts
Normal file
107
src/modules/04_registryPerson/interface/response/Profile.ts
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
interface ResponseObject {
|
||||
avatar: null | string;
|
||||
avatarName: null | string;
|
||||
birthDate: Date | null;
|
||||
bloodGroup: string | null;
|
||||
citizenId: string;
|
||||
createdAt: Date | null;
|
||||
createdFullName: string;
|
||||
createdUserId: string;
|
||||
dateRetire: Date | null;
|
||||
email: string | null;
|
||||
ethnicity: string | null;
|
||||
firstName: string;
|
||||
gender: string | null;
|
||||
id: string;
|
||||
isLeave: boolean;
|
||||
isProbation: boolean;
|
||||
keycloak: string | null;
|
||||
lastName: string;
|
||||
lastUpdateFullName: string;
|
||||
lastUpdateUserId: string;
|
||||
lastUpdatedAt: Date | null;
|
||||
nationality: string | null;
|
||||
phone: string | null;
|
||||
posLevel: PosLevel | null;
|
||||
posLevelId: string | null;
|
||||
posType: PosType | null;
|
||||
posTypeId: string | null;
|
||||
position: string | null;
|
||||
prefix: string;
|
||||
rank: string | null;
|
||||
relationship: string | null;
|
||||
religion: string | null;
|
||||
telephoneNumber: string | null;
|
||||
}
|
||||
|
||||
interface Religion {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
lastUpdatedAt: Date;
|
||||
createdFullName: string;
|
||||
lastUpdateFullName: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface Gender {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
lastUpdatedAt: Date;
|
||||
createdFullName: string;
|
||||
lastUpdateFullName: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface Relationship {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
lastUpdatedAt: Date;
|
||||
createdFullName: string;
|
||||
lastUpdateFullName: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface BloodGroup {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
lastUpdatedAt: Date;
|
||||
createdFullName: string;
|
||||
lastUpdateFullName: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface PosLevel {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
createdUserId: string;
|
||||
lastUpdatedAt: Date;
|
||||
lastUpdateUserId: string;
|
||||
createdFullName: string;
|
||||
lastUpdateFullName: string;
|
||||
posLevelName: string;
|
||||
posLevelRank: number;
|
||||
posLevelAuthority: null;
|
||||
posTypeId: string;
|
||||
}
|
||||
|
||||
interface PosType {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
createdUserId: string;
|
||||
lastUpdatedAt: Date;
|
||||
lastUpdateUserId: string;
|
||||
createdFullName: string;
|
||||
lastUpdateFullName: string;
|
||||
posTypeName: string;
|
||||
posTypeRank: number;
|
||||
}
|
||||
|
||||
export type {
|
||||
ResponseObject,
|
||||
Religion,
|
||||
Gender,
|
||||
Relationship,
|
||||
BloodGroup,
|
||||
PosLevel,
|
||||
PosType,
|
||||
};
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
interface ResponseObject {
|
||||
createdAt: Date;
|
||||
createdFullName: string;
|
||||
createdUserId: string;
|
||||
date: Date;
|
||||
id: string;
|
||||
isActive: boolean;
|
||||
lastUpdateFullName: string;
|
||||
lastUpdateUserId: string;
|
||||
lastUpdatedAt: Date;
|
||||
name: string;
|
||||
point1: number;
|
||||
point1Total: number;
|
||||
point2: number;
|
||||
point2Total: number;
|
||||
pointSum: number;
|
||||
pointSumTotal: number;
|
||||
profileId: string;
|
||||
}
|
||||
|
||||
export type { ResponseObject };
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
//ข้อมูล
|
||||
interface ResponseObject {
|
||||
createdAt: Date
|
||||
createdFullName: string
|
||||
createdUserId: string
|
||||
dateStart: Date | null
|
||||
dateEnd: Date | null
|
||||
detail: string
|
||||
field: string
|
||||
id: string
|
||||
isActive: boolean
|
||||
lastUpdateFullName: string
|
||||
lastUpdateUserId: string
|
||||
lastUpdatedAt: Date
|
||||
profileId: string
|
||||
reference: string
|
||||
remark: string
|
||||
}
|
||||
|
||||
export type { ResponseObject };
|
||||
|
||||
26
src/modules/04_registryPerson/interface/response/Training.ts
Normal file
26
src/modules/04_registryPerson/interface/response/Training.ts
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
//ข้อมูล
|
||||
interface ResponseObject {
|
||||
createdAt: Date
|
||||
createdFullName: string
|
||||
createdUserId: string
|
||||
dateOrder: Date
|
||||
dateStart: Date | null
|
||||
dateEnd: Date | null
|
||||
department: string
|
||||
duration : string
|
||||
id: string
|
||||
isActive: boolean
|
||||
isDate: boolean
|
||||
lastUpdateFullName: string
|
||||
lastUpdateUserId: string
|
||||
lastUpdateAt: Date
|
||||
name: string
|
||||
numberOrder: string
|
||||
place: string
|
||||
profileId: string
|
||||
topic: string
|
||||
yearly: number
|
||||
}
|
||||
|
||||
export type { ResponseObject };
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue