migrate
This commit is contained in:
parent
9bb3d3ccd9
commit
87550b158b
2 changed files with 113 additions and 10 deletions
|
|
@ -372,14 +372,14 @@ export class ProfileEmployee extends EntityBase {
|
|||
comment: "id root",
|
||||
default: null,
|
||||
})
|
||||
rootId: string;
|
||||
rootIdTemp: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ชื่อย่อ root",
|
||||
default: null,
|
||||
})
|
||||
rootShortName: string;
|
||||
rootShortNameTemp: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -393,14 +393,14 @@ export class ProfileEmployee extends EntityBase {
|
|||
comment: "id child1",
|
||||
default: null,
|
||||
})
|
||||
child1Id: string;
|
||||
child1IdTemp: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ชื่อย่อ child1",
|
||||
default: null,
|
||||
})
|
||||
child1ShortName: string;
|
||||
child1ShortNameTemp: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -414,14 +414,14 @@ export class ProfileEmployee extends EntityBase {
|
|||
comment: "id child2",
|
||||
default: null,
|
||||
})
|
||||
child2Id: string;
|
||||
child2IdTemp: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ชื่อย่อ child2",
|
||||
default: null,
|
||||
})
|
||||
child2ShortName: string;
|
||||
child2ShortNameTemp: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -435,14 +435,14 @@ export class ProfileEmployee extends EntityBase {
|
|||
comment: "id child3",
|
||||
default: null,
|
||||
})
|
||||
child3Id: string;
|
||||
child3IdTemp: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ชื่อย่อ child3",
|
||||
default: null,
|
||||
})
|
||||
child3ShortName: string;
|
||||
child3ShortNameTemp: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -456,14 +456,21 @@ export class ProfileEmployee extends EntityBase {
|
|||
comment: "id child4",
|
||||
default: null,
|
||||
})
|
||||
child4Id: string;
|
||||
child4IdTemp: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ชื่อย่อ child4",
|
||||
default: null,
|
||||
})
|
||||
child4ShortName: string;
|
||||
child4ShortNameTemp: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "สถานะลูกจ่างชั่วคราว",
|
||||
default: null,
|
||||
})
|
||||
statusTemp: string;
|
||||
|
||||
@OneToMany(() => EmployeePosMaster, (v) => v.current_holder)
|
||||
current_holders: EmployeePosMaster[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue