ปรับ fe sprint2
This commit is contained in:
parent
8576f3c387
commit
0d6ff7be0a
83 changed files with 6932 additions and 2571 deletions
|
|
@ -1,7 +1,12 @@
|
|||
//ข้อมูล
|
||||
interface ResponseObject {
|
||||
id: string;
|
||||
point: number;
|
||||
point1Total: number;
|
||||
point1: number;
|
||||
point2Total: number;
|
||||
point2: number;
|
||||
pointSumTotal: number;
|
||||
pointSum: number;
|
||||
name: string;
|
||||
date: Date;
|
||||
createdFullName: string;
|
||||
|
|
|
|||
|
|
@ -1,18 +1,20 @@
|
|||
//ข้อมูล
|
||||
interface ResponseObject {
|
||||
oc: string | null;
|
||||
business: string | null;
|
||||
positionExecutive: string | null;
|
||||
positionExecutiveSide: string | null;
|
||||
dateAppoint: Date | string;
|
||||
dateStart: Date | string;
|
||||
govAge: string | null;
|
||||
govAgeAbsent: number | null;
|
||||
govAgePlus: number | null;
|
||||
level: string | null;
|
||||
positionLevel: string | null;
|
||||
posNo: string | null;
|
||||
position: string | null;
|
||||
positionPathSide: string | null;
|
||||
retireDate: string | null;
|
||||
type: string | null;
|
||||
work: string | null;
|
||||
positionType: string | null;
|
||||
positionLine: string | null;
|
||||
createdFullName: string | null;
|
||||
createdAt: Date;
|
||||
reasonSameDate: string | null;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
//ข้อมูล
|
||||
interface ResponseObject {
|
||||
changeName: boolean | null;
|
||||
birthDate: Date;
|
||||
bloodGroupId: string | null;
|
||||
citizenId: string | null;
|
||||
|
|
|
|||
|
|
@ -1,20 +1,22 @@
|
|||
//ข้อมูล
|
||||
interface ResponseObject {
|
||||
id: string;
|
||||
year: number;
|
||||
sickDay: number;
|
||||
personalDay: number;
|
||||
maternityDay: number;
|
||||
wifeDay: number;
|
||||
sickCount: number;
|
||||
ordainDay: number;
|
||||
absentDay: number;
|
||||
studyDay: number;
|
||||
agencyDay: number;
|
||||
coupleDay: number;
|
||||
therapyDay: number;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
typeLeave: string;
|
||||
dateStartLeave: Date;
|
||||
dateEndLeave: Date;
|
||||
numLeave: number;
|
||||
sumLeave: number;
|
||||
totalLeave: number;
|
||||
status: string;
|
||||
reason: string;
|
||||
typeLeaveId: string;
|
||||
}
|
||||
interface ResponseTotalObject {
|
||||
typeLeaveId: string;
|
||||
typeLeave: string;
|
||||
totalLeave: number;
|
||||
limitLeave: string;
|
||||
remainLeave: string;
|
||||
}
|
||||
|
||||
export type { ResponseObject };
|
||||
export type { ResponseObject, ResponseTotalObject };
|
||||
|
|
|
|||
|
|
@ -2,20 +2,36 @@
|
|||
interface ResponseObject {
|
||||
id: number;
|
||||
fullname: String;
|
||||
fullnameOld: String;
|
||||
avatar: String;
|
||||
citizenId: String;
|
||||
oc: String;
|
||||
position: String;
|
||||
posNo: String;
|
||||
positionPathSide: String;
|
||||
posNo: String | null;
|
||||
posNoEmployee: String | null;
|
||||
positionLine: String;
|
||||
positionType: String;
|
||||
govAge: number;
|
||||
positionLevel: String;
|
||||
positionExecutive: String;
|
||||
positionExecutive: String | null;
|
||||
positionExecutiveSide: String | null;
|
||||
refSalary: String;
|
||||
positionEmployeePosition: String | null;
|
||||
positionEmployeePositionSide: String | null;
|
||||
positionEmployeeLevel: String | null;
|
||||
positionEmployeeGroup: String | null;
|
||||
dateAppoint: Date | null;
|
||||
dateStart: Date | null;
|
||||
createdAt: Date | null;
|
||||
salaryDate: Date | null;
|
||||
leaveReason: string;
|
||||
age: String;
|
||||
amount: String;
|
||||
insignia: String;
|
||||
insigniaLast: String;
|
||||
isLeave: boolean;
|
||||
leaveDateOrder: Date | null;
|
||||
}
|
||||
|
||||
export type { ResponseObject };
|
||||
|
|
|
|||
14
src/modules/04_registry/interface/response/OldName.ts
Normal file
14
src/modules/04_registry/interface/response/OldName.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
//ข้อมูล
|
||||
interface ResponseObject {
|
||||
id: string;
|
||||
prefix: string;
|
||||
prefixId: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
status: string;
|
||||
file: string | null;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
export type { ResponseObject };
|
||||
|
|
@ -29,4 +29,29 @@ interface ResponseObject {
|
|||
createdAt: Date;
|
||||
}
|
||||
|
||||
export type { ResponseObject };
|
||||
interface ResponseObjectEmployee {
|
||||
amount: number;
|
||||
createdAt: Date;
|
||||
createdFullName: string;
|
||||
date: Date;
|
||||
id: string;
|
||||
mouthSalaryAmount: number;
|
||||
oc: string | null;
|
||||
ocId: string | null;
|
||||
posNo: string | null;
|
||||
posNoId: string | null;
|
||||
posNoEmployee: string | null;
|
||||
positionEmployeeGroup: string | null;
|
||||
positionEmployeeGroupId: string | null;
|
||||
positionEmployeeLevel: string | null;
|
||||
positionEmployeeLevelId: string | null;
|
||||
positionEmployeePosition: string | null;
|
||||
positionEmployeePositionId: string | null;
|
||||
positionEmployeePositionSide: string | null;
|
||||
positionEmployeePositionSideId: string | null;
|
||||
positionSalaryAmount: number;
|
||||
salaryClass: string | null;
|
||||
salaryRef: string | null;
|
||||
}
|
||||
|
||||
export type { ResponseObject, ResponseObjectEmployee };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue