migrate db
This commit is contained in:
parent
6fd1a8170e
commit
bbe3ee2906
2 changed files with 56 additions and 10 deletions
|
|
@ -238,31 +238,31 @@ export class SalaryProfile extends EntityBase {
|
|||
comment: "ผลการประเมิน",
|
||||
default: false,
|
||||
})
|
||||
isResult: boolean;
|
||||
result: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "ระยะเวลา",
|
||||
default: false,
|
||||
})
|
||||
isDuration: boolean;
|
||||
duration: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "การลงโทษ",
|
||||
default: false,
|
||||
})
|
||||
isPunish: boolean;
|
||||
punish: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "พักราชการ",
|
||||
default: false,
|
||||
})
|
||||
isRetired: boolean;
|
||||
retired: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "ขาดราชการ",
|
||||
default: false,
|
||||
})
|
||||
isRetired2: boolean;
|
||||
retired2: boolean;
|
||||
|
||||
@ManyToOne(() => SalaryOrg, (salaryOrg) => salaryOrg.salaryProfiles)
|
||||
@JoinColumn({ name: "salaryOrgId" })
|
||||
|
|
@ -346,17 +346,17 @@ export class CreateSalaryProfile {
|
|||
child4: string | null;
|
||||
|
||||
@Column()
|
||||
isResult: boolean;
|
||||
result: boolean;
|
||||
|
||||
@Column()
|
||||
isDuration: boolean;
|
||||
duration: boolean;
|
||||
|
||||
@Column()
|
||||
isPunish: boolean;
|
||||
punish: boolean;
|
||||
|
||||
@Column()
|
||||
isRetired: boolean;
|
||||
retired: boolean;
|
||||
|
||||
@Column()
|
||||
isRetired2: boolean;
|
||||
retired2: boolean;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue