checkpoint
This commit is contained in:
parent
ba60192ec1
commit
d737ecdf11
11 changed files with 452 additions and 49 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue