ปรับ comment fields
This commit is contained in:
parent
a4f9676297
commit
f63d809735
7 changed files with 19 additions and 21 deletions
|
|
@ -6,7 +6,7 @@ import { SalaryProfile } from "./SalaryProfile";
|
|||
@Entity("salaryOrg")
|
||||
export class SalaryOrg extends EntityBase {
|
||||
@Column({
|
||||
comment: "",
|
||||
comment: "คีย์นอก(FK)ของตาราง salaryPeriod",
|
||||
length: 40,
|
||||
})
|
||||
salaryPeriodId: string;
|
||||
|
|
@ -17,14 +17,14 @@ export class SalaryOrg extends EntityBase {
|
|||
status: string;
|
||||
|
||||
@Column({
|
||||
comment: "id หน่วยงาน",
|
||||
comment: "คีย์นอก(FK)ของตาราง orgRoot",
|
||||
length: 40,
|
||||
})
|
||||
rootId: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "id revision",
|
||||
comment: "คีย์นอก(FK)ของตาราง orgRevision",
|
||||
length: 40,
|
||||
})
|
||||
revisionId: string;
|
||||
|
|
@ -108,7 +108,6 @@ export class SalaryOrg extends EntityBase {
|
|||
})
|
||||
remainingAmount: number;
|
||||
|
||||
|
||||
@ManyToOne(() => SalaryPeriod, (salaryPeriod) => salaryPeriod.salaryOrgs)
|
||||
@JoinColumn({ name: "salaryPeriodId" })
|
||||
salaryPeriod: SalaryPeriod;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue