save profile salary
This commit is contained in:
parent
3a0fc39397
commit
479e9a3938
14 changed files with 817 additions and 129 deletions
|
|
@ -28,6 +28,14 @@ export class CommandType extends EntityBase {
|
|||
})
|
||||
code: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "รหัสประเภทของคำสั่งแต่งตั้ง",
|
||||
length: 255,
|
||||
default: null,
|
||||
})
|
||||
refCommandCode: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "คำสั่งเรื่อง",
|
||||
|
|
|
|||
|
|
@ -94,4 +94,88 @@ export class HR_POSITION_OFFICER {
|
|||
default: null,
|
||||
})
|
||||
ORDER_MOVE_POSITION: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
MP_COMMAND_DATE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
FLAG_TO_NAME_CODE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
JOB_NAME: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
SECTION_NAME: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
DIVISION_NAME: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
DEPARTMENT_NAME: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
MP_CEE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
SAL_POS_AMOUNT_1: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
SAL_POS_AMOUNT_2: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
SPECIAL_AMT: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
USER_CREATE: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
USER_UPDATE: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -127,6 +127,62 @@ export class ProfileSalary extends EntityBase {
|
|||
// })
|
||||
// commandType: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "root name",
|
||||
default: null,
|
||||
})
|
||||
orgRoot: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "child1 name",
|
||||
default: null,
|
||||
})
|
||||
orgChild1: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "child2 name",
|
||||
default: null,
|
||||
})
|
||||
orgChild2: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "child3 name",
|
||||
default: null,
|
||||
})
|
||||
orgChild3: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "child4 name",
|
||||
default: null,
|
||||
})
|
||||
orgChild4: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ระดับ",
|
||||
default: null,
|
||||
})
|
||||
mpCee: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "รหัสประเภทของคำสั่งแต่งตั้ง",
|
||||
default: null,
|
||||
})
|
||||
refCommandCode: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ชื่อประเภทคำสั่ง",
|
||||
default: null,
|
||||
})
|
||||
refCommandName: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "เลขที่คำสั่ง",
|
||||
|
|
@ -135,6 +191,13 @@ export class ProfileSalary extends EntityBase {
|
|||
})
|
||||
refCommandNo: string;
|
||||
|
||||
@Column({
|
||||
comment: "วันที่ออกคำสั่ง",
|
||||
type: "datetime",
|
||||
nullable: true,
|
||||
})
|
||||
refCommandDate: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "เอกสารอ้างอิง",
|
||||
|
|
@ -207,6 +270,15 @@ export class CreateProfileSalary {
|
|||
// commandType?: string | null;
|
||||
templateDoc: string | null;
|
||||
isGovernment?: boolean | null;
|
||||
|
||||
orgRoot?: string | null;
|
||||
orgChild1?: string | null;
|
||||
orgChild2?: string | null;
|
||||
orgChild3?: string | null;
|
||||
orgChild4?: string | null;
|
||||
mpCee?: string | null;
|
||||
refCommandCode?: string | null;
|
||||
refCommandName?: string | null;
|
||||
}
|
||||
|
||||
export class CreateProfileSalaryEmployee {
|
||||
|
|
@ -226,6 +298,15 @@ export class CreateProfileSalaryEmployee {
|
|||
positionLevel: string | null;
|
||||
refCommandNo: string | null;
|
||||
templateDoc: string | null;
|
||||
|
||||
orgRoot?: string | null;
|
||||
orgChild1?: string | null;
|
||||
orgChild2?: string | null;
|
||||
orgChild3?: string | null;
|
||||
orgChild4?: string | null;
|
||||
mpCee?: string | null;
|
||||
refCommandCode?: string | null;
|
||||
refCommandName?: string | null;
|
||||
}
|
||||
|
||||
export class UpdateProfileSalaryEmployee {
|
||||
|
|
@ -243,6 +324,15 @@ export class UpdateProfileSalaryEmployee {
|
|||
positionLevel: string | null;
|
||||
refCommandNo: string | null;
|
||||
templateDoc: string | null;
|
||||
|
||||
orgRoot?: string | null;
|
||||
orgChild1?: string | null;
|
||||
orgChild2?: string | null;
|
||||
orgChild3?: string | null;
|
||||
orgChild4?: string | null;
|
||||
mpCee?: string | null;
|
||||
refCommandCode?: string | null;
|
||||
refCommandName?: string | null;
|
||||
}
|
||||
|
||||
export type UpdateProfileSalary = {
|
||||
|
|
@ -260,4 +350,13 @@ export type UpdateProfileSalary = {
|
|||
positionLevel?: string | null;
|
||||
refCommandNo?: string | null;
|
||||
templateDoc?: string | null;
|
||||
|
||||
orgRoot?: string | null;
|
||||
orgChild1?: string | null;
|
||||
orgChild2?: string | null;
|
||||
orgChild3?: string | null;
|
||||
orgChild4?: string | null;
|
||||
mpCee?: string | null;
|
||||
refCommandCode?: string | null;
|
||||
refCommandName?: string | null;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -107,6 +107,70 @@ export class ProfileSalaryHistory extends EntityBase {
|
|||
})
|
||||
mouthSalaryAmount: Double;
|
||||
|
||||
// @Column({
|
||||
// nullable: true,
|
||||
// comment: "ประเภทคำสั่ง",
|
||||
// type: "text",
|
||||
// default: null,
|
||||
// })
|
||||
// commandType: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "root name",
|
||||
default: null,
|
||||
})
|
||||
orgRoot: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "child1 name",
|
||||
default: null,
|
||||
})
|
||||
orgChild1: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "child2 name",
|
||||
default: null,
|
||||
})
|
||||
orgChild2: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "child3 name",
|
||||
default: null,
|
||||
})
|
||||
orgChild3: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "child4 name",
|
||||
default: null,
|
||||
})
|
||||
orgChild4: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ระดับ",
|
||||
default: null,
|
||||
})
|
||||
mpCee: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "รหัสประเภทของคำสั่งแต่งตั้ง",
|
||||
default: null,
|
||||
})
|
||||
refCommandCode: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ชื่อประเภทคำสั่ง",
|
||||
default: null,
|
||||
})
|
||||
refCommandName: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "เลขที่คำสั่ง",
|
||||
|
|
@ -115,6 +179,13 @@ export class ProfileSalaryHistory extends EntityBase {
|
|||
})
|
||||
refCommandNo: string;
|
||||
|
||||
@Column({
|
||||
comment: "วันที่ออกคำสั่ง",
|
||||
type: "datetime",
|
||||
nullable: true,
|
||||
})
|
||||
refCommandDate: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "เอกสารอ้างอิง",
|
||||
|
|
@ -169,6 +240,15 @@ export class CreateProfileSalaryHistory {
|
|||
positionLevel: string | null;
|
||||
refCommandNo: string | null;
|
||||
templateDoc: string | null;
|
||||
|
||||
orgRoot?: string | null;
|
||||
orgChild1?: string | null;
|
||||
orgChild2?: string | null;
|
||||
orgChild3?: string | null;
|
||||
orgChild4?: string | null;
|
||||
mpCee?: string | null;
|
||||
refCommandCode?: string | null;
|
||||
refCommandName?: string | null;
|
||||
}
|
||||
|
||||
export class UpdateProfileSalaryHistory {
|
||||
|
|
@ -186,4 +266,13 @@ export class UpdateProfileSalaryHistory {
|
|||
positionLevel?: string | null;
|
||||
refCommandNo?: string | null;
|
||||
templateDoc?: string | null;
|
||||
|
||||
orgRoot?: string | null;
|
||||
orgChild1?: string | null;
|
||||
orgChild2?: string | null;
|
||||
orgChild3?: string | null;
|
||||
orgChild4?: string | null;
|
||||
mpCee?: string | null;
|
||||
refCommandCode?: string | null;
|
||||
refCommandName?: string | null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue