save profile salary

This commit is contained in:
kittapath 2025-01-08 14:15:28 +07:00
parent 3a0fc39397
commit 479e9a3938
14 changed files with 817 additions and 129 deletions

View file

@ -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;
}