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

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