This commit is contained in:
Kittapath 2024-06-06 14:11:49 +07:00
parent 8f7f8eaab6
commit 9bb3d3ccd9
2 changed files with 309 additions and 0 deletions

View file

@ -276,6 +276,195 @@ export class ProfileEmployee extends EntityBase {
})
bloodGroup: string;
@Column({
nullable: true,
comment: "id อัตรา",
default: null,
})
posmasterIdTemp: string;
@Column({
nullable: true,
comment: "node",
default: null,
})
nodeTemp: string;
@Column({
nullable: true,
comment: "id node",
default: null,
})
nodeIdTemp: string;
@Column({
nullable: true,
comment: "id Revision",
default: null,
})
orgRevisionIdTemp: string;
@Column({
nullable: true,
comment: "id position",
default: null,
})
positionIdTemp: string;
@Column({
nullable: true,
comment: "เลขที่ตำแหน่ง",
default: null,
})
posMasterNoTemp: string;
@Column({
nullable: true,
comment: "ตำแหน่ง",
default: null,
})
positionTemp: string;
@Column({
nullable: true,
comment: "ตำแหน่ง",
default: null,
})
positionFieldTemp: string;
@Column({
nullable: true,
comment: "id ประเภท",
default: null,
})
posTypeIdTemp: string;
@Column({
nullable: true,
comment: "ประเภท",
default: null,
})
posTypeNameTemp: string;
@Column({
nullable: true,
comment: "id ระดับ",
default: null,
})
posLevelIdTemp: string;
@Column({
nullable: true,
comment: "ระดับ",
default: null,
})
posLevelNameTemp: string;
@Column({
nullable: true,
comment: "ชื่อ root",
default: null,
})
rootTemp: string;
@Column({
nullable: true,
comment: "id root",
default: null,
})
rootId: string;
@Column({
nullable: true,
comment: "ชื่อย่อ root",
default: null,
})
rootShortName: string;
@Column({
nullable: true,
comment: "ชื่อ child1",
default: null,
})
child1Temp: string;
@Column({
nullable: true,
comment: "id child1",
default: null,
})
child1Id: string;
@Column({
nullable: true,
comment: "ชื่อย่อ child1",
default: null,
})
child1ShortName: string;
@Column({
nullable: true,
comment: "ชื่อ child2",
default: null,
})
child2Temp: string;
@Column({
nullable: true,
comment: "id child2",
default: null,
})
child2Id: string;
@Column({
nullable: true,
comment: "ชื่อย่อ child2",
default: null,
})
child2ShortName: string;
@Column({
nullable: true,
comment: "ชื่อ child3",
default: null,
})
child3Temp: string;
@Column({
nullable: true,
comment: "id child3",
default: null,
})
child3Id: string;
@Column({
nullable: true,
comment: "ชื่อย่อ child3",
default: null,
})
child3ShortName: string;
@Column({
nullable: true,
comment: "ชื่อ child4",
default: null,
})
child4Temp: string;
@Column({
nullable: true,
comment: "id child4",
default: null,
})
child4Id: string;
@Column({
nullable: true,
comment: "ชื่อย่อ child4",
default: null,
})
child4ShortName: string;
@OneToMany(() => EmployeePosMaster, (v) => v.current_holder)
current_holders: EmployeePosMaster[];