checkpoint

This commit is contained in:
AdisakKanthawilang 2024-01-25 10:13:36 +07:00
parent ba60192ec1
commit d737ecdf11
11 changed files with 452 additions and 49 deletions

View file

@ -83,19 +83,19 @@ export class OrgChild1 extends EntityBase {
@Column({
nullable: true,
type: "tinyint",
comment: "สถานะของหน่วยงาน", //ปกติ = 1 , ยุกเลิก = 0
default: true
})
orgChild1IsNormal: number;
orgChild1IsNormal: boolean;
@Column({
length: 40,
default: "00000000-0000-0000-0000-000000000000",
})
fkOrgRootId: string;
orgRootId: string;
@ManyToOne(() => OrgRoot, orgRoot => orgRoot.orgChild1s)
@JoinColumn({ name: "fkOrgRootId" })
@JoinColumn({ name: "orgRootId" })
orgRoot: OrgRoot;
//child table 2,3,4