update
This commit is contained in:
parent
46533bbd62
commit
15d3ac574d
128 changed files with 347 additions and 322 deletions
58
src/modules/04_registryPerson/interface/index/Main.ts
Normal file
58
src/modules/04_registryPerson/interface/index/Main.ts
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
interface Pagination {
|
||||
rowsPerPage: number;
|
||||
}
|
||||
|
||||
interface DataOption {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
interface DataOption2 {
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface DataOptionInsignia {
|
||||
id: string;
|
||||
name: string;
|
||||
typeName: string;
|
||||
}
|
||||
|
||||
interface zipCodeOption {
|
||||
id: string;
|
||||
name: string;
|
||||
zipCode: string;
|
||||
}
|
||||
|
||||
interface InformationOps {
|
||||
prefixOps: DataOption[];
|
||||
rankOps: DataOption[];
|
||||
genderOps: DataOption[];
|
||||
bloodOps: DataOption[];
|
||||
statusOps: DataOption[];
|
||||
religionOps: DataOption[];
|
||||
employeeClassOps: DataOption[];
|
||||
employeeTypeOps: DataOption[];
|
||||
}
|
||||
|
||||
interface AddressOps {
|
||||
provinceOps: DataOption[];
|
||||
districtOps: DataOption[];
|
||||
districtCOps: DataOption[];
|
||||
subdistrictOps: zipCodeOption[];
|
||||
subdistrictCOps: zipCodeOption[];
|
||||
}
|
||||
|
||||
interface InsigniaOps {
|
||||
insigniaOptions: DataOptionInsignia[];
|
||||
}
|
||||
|
||||
export type {
|
||||
Pagination,
|
||||
DataOption,
|
||||
DataOption2,
|
||||
DataOptionInsignia,
|
||||
zipCodeOption,
|
||||
InformationOps,
|
||||
AddressOps,
|
||||
InsigniaOps,
|
||||
};
|
||||
41
src/modules/04_registryPerson/interface/index/discipline.ts
Normal file
41
src/modules/04_registryPerson/interface/index/discipline.ts
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
interface RequestItemsObject {
|
||||
profileId: string,
|
||||
id?: string;
|
||||
level: string;
|
||||
detail: string;
|
||||
unStigma: string;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
date: Date | null;
|
||||
|
||||
}
|
||||
|
||||
interface FormFilter {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
keyword: string;
|
||||
type: string;
|
||||
posType: string;
|
||||
posLevel: string;
|
||||
retireYear: string | null;
|
||||
rangeYear: { min: number; max: number };
|
||||
isShowRetire: boolean;
|
||||
isProbation: boolean;
|
||||
}
|
||||
|
||||
interface DataOption {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface DisciplineOps {
|
||||
levelOptions: DataOption[];
|
||||
}
|
||||
interface MyObjectRef {
|
||||
date: object | null;
|
||||
detail: object | null;
|
||||
refCommandNo: object | null;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export type { RequestItemsObject,FormFilter,DataOption,DisciplineOps,MyObjectRef };
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
interface ArrayFileList {
|
||||
id:string
|
||||
pathName:string
|
||||
fileName:string
|
||||
}
|
||||
|
||||
export type {
|
||||
ArrayFileList
|
||||
}
|
||||
30
src/modules/04_registryPerson/interface/index/family.ts
Normal file
30
src/modules/04_registryPerson/interface/index/family.ts
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
interface FormPerson {
|
||||
isLive: null | number | boolean | string;
|
||||
citizenId: string;
|
||||
prefix: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
job: string;
|
||||
lastNameOld?: string;
|
||||
statusMarital?: string;
|
||||
}
|
||||
|
||||
interface FormChildren {
|
||||
id: string;
|
||||
createdAt: string;
|
||||
createdUserId: string;
|
||||
lastUpdatedAt: string;
|
||||
lastUpdateUserId: string;
|
||||
createdFullName: string;
|
||||
lastUpdateFullName: string;
|
||||
childrenCareer: string;
|
||||
childrenFirstName: string;
|
||||
childrenLastName: string;
|
||||
childrenPrefix: string;
|
||||
childrenLive: boolean | number | null;
|
||||
childrenCitizenId: string;
|
||||
profileId: string | null;
|
||||
profileEmployeeId: string | null;
|
||||
}
|
||||
|
||||
export type { FormPerson, FormChildren };
|
||||
19
src/modules/04_registryPerson/interface/index/form.ts
Normal file
19
src/modules/04_registryPerson/interface/index/form.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
interface FormData {
|
||||
type: string,
|
||||
citizenId: string,
|
||||
fullName: string,
|
||||
retireYear: number | null,
|
||||
year: number | null,
|
||||
posPath: string,
|
||||
posLevel: string,
|
||||
posOc: string,
|
||||
isShowRetire: boolean,
|
||||
isProbation: boolean,
|
||||
}
|
||||
|
||||
interface YearRange {
|
||||
min:number,
|
||||
max:number
|
||||
}
|
||||
|
||||
export type { FormData , YearRange}
|
||||
50
src/modules/04_registryPerson/interface/index/government.ts
Normal file
50
src/modules/04_registryPerson/interface/index/government.ts
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
interface FormMain {
|
||||
ocId: string;
|
||||
positionId: string;
|
||||
positionLine: string;
|
||||
positionLevel: string;
|
||||
numberId: string;
|
||||
positionExecutive: string;
|
||||
positionExecutiveSide: string;
|
||||
positionType: string;
|
||||
positionPathSide: string;
|
||||
|
||||
containDate: any;
|
||||
workDate: any;
|
||||
reasonSameDate: string;
|
||||
retireDate: any;
|
||||
ageAll: GovAgeForm;
|
||||
absent: number;
|
||||
age: number;
|
||||
[key: string]: any;
|
||||
}
|
||||
interface GovAgeForm {
|
||||
year: number;
|
||||
month: number;
|
||||
day: number;
|
||||
}
|
||||
|
||||
interface RequestItemsHistoryObject {
|
||||
lastUpdatedAt: Date;
|
||||
lastUpdateFullName: string;
|
||||
oc: string | null;
|
||||
position: string | null;
|
||||
positionPathSide: string | null;
|
||||
posNo: string | null;
|
||||
positionLine: string | null;
|
||||
positionType: string | null;
|
||||
positionLevel: string | null;
|
||||
positionExecutive: string | null;
|
||||
positionExecutiveSide: string | null;
|
||||
dateAppoint: Date;
|
||||
dateStart: Date;
|
||||
dateRetire: string | null;
|
||||
dateRetireLaw: string | null;
|
||||
govAge: string | null;
|
||||
govAgeAbsent: string | null;
|
||||
govAgePlus: string | null;
|
||||
reasonSameDate: string | null;
|
||||
createdFullName: string | null;
|
||||
createdAt: Date;
|
||||
}
|
||||
export type { RequestItemsHistoryObject, FormMain };
|
||||
55
src/modules/04_registryPerson/interface/index/leave.ts
Normal file
55
src/modules/04_registryPerson/interface/index/leave.ts
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
interface DetailData {
|
||||
id: string;
|
||||
typeLeave: string;
|
||||
dateStartLeave: Date | null;
|
||||
dateEndLeave: Date | null;
|
||||
numLeave: number;
|
||||
status: string;
|
||||
reason: string;
|
||||
typeLeaveId: string;
|
||||
code: string;
|
||||
}
|
||||
|
||||
interface FormFilter {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
keyword: string;
|
||||
type: string;
|
||||
posType: string;
|
||||
posLevel: string;
|
||||
retireYear: string | null;
|
||||
rangeYear: { min: number; max: number };
|
||||
isShowRetire: boolean;
|
||||
isProbation: boolean;
|
||||
}
|
||||
|
||||
interface DataOptionLeave {
|
||||
id: string;
|
||||
name: string;
|
||||
totalLeave: number;
|
||||
}
|
||||
|
||||
interface DataOption {
|
||||
id: string;
|
||||
name: string;
|
||||
disable?: boolean;
|
||||
}
|
||||
|
||||
interface ResponseTotalObject {
|
||||
typeLeaveId: string;
|
||||
typeLeave: string;
|
||||
totalLeave: number;
|
||||
limitLeave: string;
|
||||
remainLeave: string;
|
||||
}
|
||||
|
||||
interface MyObjectRef {
|
||||
typeLeave: object | null;
|
||||
dateRange: object | null;
|
||||
numLeave: object | null;
|
||||
statLeave: object | null;
|
||||
reason: object | null;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export type { DetailData, FormFilter, DataOptionLeave, DataOption, ResponseTotalObject, MyObjectRef };
|
||||
31
src/modules/04_registryPerson/interface/index/other.ts
Normal file
31
src/modules/04_registryPerson/interface/index/other.ts
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
interface RowList {
|
||||
id: string;
|
||||
date: Date | null;
|
||||
detail: string;
|
||||
lastUpdateFullName: string;
|
||||
lastUpdatedAt: Date;
|
||||
}
|
||||
|
||||
interface FormFilter {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
keyword: string;
|
||||
type: string;
|
||||
posType: string;
|
||||
posLevel: string;
|
||||
retireYear: string | null;
|
||||
rangeYear: { min: number; max: number };
|
||||
isShowRetire: boolean;
|
||||
isProbation: boolean;
|
||||
}
|
||||
interface MyObjectRef {
|
||||
date: object | null;
|
||||
detail: object | null;
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
export type {
|
||||
RowList,
|
||||
FormFilter,
|
||||
MyObjectRef,
|
||||
}
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
interface FormFilter {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
keyword: string;
|
||||
type: string;
|
||||
posType: string;
|
||||
posLevel: string;
|
||||
retireYear: string | null;
|
||||
rangeYear: { min: number; max: number };
|
||||
isShowRetire: boolean;
|
||||
isProbation: boolean;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
profileId: string,
|
||||
id?: string,
|
||||
dateStart: Date | null,
|
||||
dateEnd: Date | null,
|
||||
detail: string,
|
||||
reference: string,
|
||||
refCommandNo: string,
|
||||
refCommandDate: Date | null,
|
||||
}
|
||||
|
||||
interface MyObjectRef {
|
||||
dateStart:object|null
|
||||
dateEnd:object|null
|
||||
detail:object|null
|
||||
reference:object|null
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
interface ResponseObject {
|
||||
lastUpdateFullName: string,
|
||||
lastUpdatedAt: Date,
|
||||
id: string;
|
||||
dateStart: Date;
|
||||
dateEnd: Date;
|
||||
detail: string;
|
||||
reference: string;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
export type{ FormFilter,RequestItemsObject,MyObjectRef,ResponseObject }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
interface RangeYear {
|
||||
min: number;
|
||||
max: number;
|
||||
}
|
||||
|
||||
export type { RangeYear };
|
||||
21
src/modules/04_registryPerson/interface/index/salary.ts
Normal file
21
src/modules/04_registryPerson/interface/index/salary.ts
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
interface RowList {
|
||||
id: string;
|
||||
date: Date | null;
|
||||
reference: string;
|
||||
detail: string;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
}
|
||||
|
||||
interface ObjectSalaryRef {
|
||||
date: object | null;
|
||||
posNo: object | null;
|
||||
position: object | null;
|
||||
typePosition: object | null;
|
||||
levelPosition: object | null;
|
||||
salary: object | null;
|
||||
doc: object | null;
|
||||
|
||||
[key: string]: any;
|
||||
}
|
||||
export type { RowList, ObjectSalaryRef };
|
||||
16
src/modules/04_registryPerson/interface/request/Address.ts
Normal file
16
src/modules/04_registryPerson/interface/request/Address.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
interface RequestObject {
|
||||
currentZipCode: string | null;
|
||||
currentSubDistrictId: string | null;
|
||||
currentDistrictId: string | null;
|
||||
currentProvinceId: string | null;
|
||||
currentAddress: string | null;
|
||||
registrationZipCode: string | null;
|
||||
registrationSubDistrictId: string | null;
|
||||
registrationDistrictId: string | null;
|
||||
registrationProvinceId: string | null;
|
||||
registrationAddress: string | null;
|
||||
}
|
||||
|
||||
export type {
|
||||
RequestObject,
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
interface RequestItemsObject {
|
||||
profileId?: string;
|
||||
profileEmployeeId?: string;
|
||||
detail: string;
|
||||
issueDate: Date | null;
|
||||
issuer: string;
|
||||
refCommandDate: Date | null;
|
||||
refCommandNo: string;
|
||||
isDate: boolean | string;
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
26
src/modules/04_registryPerson/interface/request/Education.ts
Normal file
26
src/modules/04_registryPerson/interface/request/Education.ts
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
interface RequestItemsObject {
|
||||
profileId: string;
|
||||
educationLevel: string;
|
||||
institute: string;
|
||||
startYear: number;
|
||||
endYear: number;
|
||||
finishDate: Date | null;
|
||||
startDate: Date;
|
||||
endDate: Date;
|
||||
isEducation: boolean | null;
|
||||
degree: string;
|
||||
field: string;
|
||||
fundName: string;
|
||||
gpa: string;
|
||||
country: string;
|
||||
other: string;
|
||||
duration: string;
|
||||
durationYear: number | null | string;
|
||||
note: string;
|
||||
educationLevelId: string;
|
||||
positionPath: string;
|
||||
positionPathId: string;
|
||||
isDate: boolean;
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
19
src/modules/04_registryPerson/interface/request/Employee.ts
Normal file
19
src/modules/04_registryPerson/interface/request/Employee.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
interface FormEmployee {
|
||||
positionEmployeeGroupId: string;
|
||||
positionEmployeeLineId: string;
|
||||
positionEmployeePositionId: string;
|
||||
employeeOc: string;
|
||||
employeeTypeIndividual: string;
|
||||
employeeWage: string;
|
||||
employeeMoneyIncrease: string;
|
||||
employeeMoneyAllowance: string;
|
||||
employeeMoneyEmployee: string;
|
||||
employeeMoneyEmployer: string;
|
||||
}
|
||||
|
||||
interface FormEmployment {
|
||||
command: string;
|
||||
date: null | Date;
|
||||
}
|
||||
|
||||
export type { FormEmployee, FormEmployment };
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
birthDate: Date | null;
|
||||
bloodGroupId: string | null;
|
||||
citizenId: string | null;
|
||||
firstName: string | null;
|
||||
genderId: string | null;
|
||||
lastName: string | null;
|
||||
nationality: string | null;
|
||||
prefixId: string | null;
|
||||
race: string | null;
|
||||
relationshipId: string | null;
|
||||
religionId: string | null;
|
||||
telephoneNumber: string | null;
|
||||
employeeType: string | null;
|
||||
employeeClass: string | null;
|
||||
}
|
||||
|
||||
interface RequestItemsHistoryObject {
|
||||
citizenId: string | null;
|
||||
prefix: string | null;
|
||||
firstName: string | null;
|
||||
lastName: string | null;
|
||||
birthDate: Date;
|
||||
gender: string | null;
|
||||
relationship: string | null;
|
||||
bloodGroup: string | null;
|
||||
nationality: string | null;
|
||||
race: string | null;
|
||||
religion: string | null;
|
||||
telephoneNumber: string | null;
|
||||
createdFullName: string | null;
|
||||
createdAt: Date;
|
||||
employeeType: string | null;
|
||||
employeeClass: string | null;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
}
|
||||
|
||||
export type {
|
||||
RequestItemsObject,
|
||||
Columns,
|
||||
DataProps,
|
||||
RequestItemsHistoryObject,
|
||||
};
|
||||
19
src/modules/04_registryPerson/interface/request/Insignia.ts
Normal file
19
src/modules/04_registryPerson/interface/request/Insignia.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
interface RequestItemsObject {
|
||||
profileId?: string;
|
||||
year: number;
|
||||
no: string;
|
||||
volume: string;
|
||||
section: string;
|
||||
page: string;
|
||||
receiveDate: Date | null;
|
||||
insigniaId: string;
|
||||
dateAnnounce: Date | null;
|
||||
issue: string;
|
||||
volumeNo: string;
|
||||
refCommandDate: Date | null;
|
||||
refCommandNo: string;
|
||||
note: string;
|
||||
profileEmployeeId?: string | null;
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
38
src/modules/04_registryPerson/interface/request/Main.ts
Normal file
38
src/modules/04_registryPerson/interface/request/Main.ts
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
interface FormFilter {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
keyword: string;
|
||||
type: string;
|
||||
posType: string;
|
||||
posLevel: string;
|
||||
retireYear: string | null;
|
||||
rangeYear: { min: number; max: number };
|
||||
isShowRetire: boolean | null;
|
||||
isProbation: boolean | null;
|
||||
}
|
||||
|
||||
interface FormAddPerson {
|
||||
birthDate: Date | null,
|
||||
rank: string,
|
||||
prefix: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
citizenId: string;
|
||||
position: string;
|
||||
posTypeId: string;
|
||||
posLevelId: string;
|
||||
}
|
||||
|
||||
interface MyObjectRef {
|
||||
prefix: object | null;
|
||||
firstName: object | null;
|
||||
lastName: object | null;
|
||||
citizenId: object | null;
|
||||
position: object | null;
|
||||
posTypeId: object | null;
|
||||
posLevelId: object | null;
|
||||
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export type { FormFilter, FormAddPerson, MyObjectRef };
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
interface RequestItemsObject {
|
||||
certificateType: string;
|
||||
issuer: string;
|
||||
certificateNo: string;
|
||||
issueDate: Date;
|
||||
expireDate: Date | null;
|
||||
profileId: string;
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
21
src/modules/04_registryPerson/interface/request/Profile.ts
Normal file
21
src/modules/04_registryPerson/interface/request/Profile.ts
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
interface RequestObject {
|
||||
birthDate: Date | null;
|
||||
bloodGroup: string | null;
|
||||
citizenId: string;
|
||||
// email: string | null;
|
||||
ethnicity: string | null;
|
||||
firstName: string;
|
||||
gender: string | null;
|
||||
lastName: string;
|
||||
nationality: string | null;
|
||||
phone: string | null;
|
||||
// posLevelId: string;
|
||||
// posTypeId: string;
|
||||
prefix: string;
|
||||
rank: string | null;
|
||||
relationship: string | null;
|
||||
religion: string | null;
|
||||
// telephoneNumber: string | null;
|
||||
}
|
||||
|
||||
export type { RequestObject };
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
interface RequestItemsObject {
|
||||
profileId?: string;
|
||||
profileEmployeeId?: string;
|
||||
name: string;
|
||||
date: Date | null;
|
||||
point1: number;
|
||||
point1Total: number;
|
||||
point2: number;
|
||||
point2Total: number;
|
||||
pointSum: number;
|
||||
pointSumTotal: number;
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
28
src/modules/04_registryPerson/interface/request/Salary.ts
Normal file
28
src/modules/04_registryPerson/interface/request/Salary.ts
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
interface FormSalaryNew {
|
||||
date: Date | null;
|
||||
posNo: string;
|
||||
templatePos: string;
|
||||
position: string;
|
||||
positionLine: string;
|
||||
positionPathSide: string;
|
||||
positionType: string;
|
||||
positionLevel: string;
|
||||
positionExecutive: string;
|
||||
salary: number | string | null;
|
||||
salaryPos: number | string | null;
|
||||
salaryCompensation: number | string | null;
|
||||
refCommandNo: string;
|
||||
templateDoc: string;
|
||||
doc: string;
|
||||
}
|
||||
|
||||
interface RequestNoPaidObject {
|
||||
profileId?: string;
|
||||
date: Date | null;
|
||||
detail: string;
|
||||
reference: string;
|
||||
refCommandDate: Date | null;
|
||||
refCommandNo: string;
|
||||
}
|
||||
|
||||
export type { FormSalaryNew, RequestNoPaidObject };
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
interface RequestItemsObject {
|
||||
field: string;
|
||||
detail: string;
|
||||
remark: string;
|
||||
reference: string;
|
||||
dateStart: Date | null,
|
||||
dateEnd: Date | null ,
|
||||
profileId: string,
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
|
||||
|
||||
19
src/modules/04_registryPerson/interface/request/Training.ts
Normal file
19
src/modules/04_registryPerson/interface/request/Training.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
interface RequestItemsObject {
|
||||
name: string,
|
||||
topic: string,
|
||||
yearly: number | null,
|
||||
place: string,
|
||||
duration: string,
|
||||
department: string,
|
||||
numberOrder: string,
|
||||
dateOrder: Date | null,
|
||||
startDate: Date,
|
||||
endDate: Date,
|
||||
startYear: number,
|
||||
finishYear: number,
|
||||
profileId: string,
|
||||
isDate: boolean,
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
|
||||
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