แก้ชื่อ tag
This commit is contained in:
parent
4b4f2423fa
commit
f509e10f8c
9 changed files with 151 additions and 107 deletions
|
|
@ -13,12 +13,12 @@ enum OrgChild4Rank {
|
|||
}
|
||||
@Entity("orgChild4")
|
||||
export class OrgChild4 extends EntityBase {
|
||||
// @Column({
|
||||
// comment: "",
|
||||
// length: 40,
|
||||
// default: "00000000-0000-0000-0000-000000000000",
|
||||
// })
|
||||
// orgChild4Id: string;
|
||||
// @Column({
|
||||
// comment: "",
|
||||
// length: 40,
|
||||
// default: "00000000-0000-0000-0000-000000000000",
|
||||
// })
|
||||
// orgChild4Id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -83,7 +83,7 @@ export class OrgChild4 extends EntityBase {
|
|||
@Column({
|
||||
nullable: true,
|
||||
comment: "สถานะของหน่วยงาน", //ปกติ = 1 , ยุกเลิก = 0
|
||||
default: true
|
||||
default: true,
|
||||
})
|
||||
orgChild4IsNormal: boolean;
|
||||
|
||||
|
|
@ -116,14 +116,13 @@ export class OrgChild4 extends EntityBase {
|
|||
default: "00000000-0000-0000-0000-000000000000",
|
||||
})
|
||||
isAncestorDNA: string;
|
||||
|
||||
@ManyToOne(() => OrgChild3, orgChild3 => orgChild3.orgChild4s)
|
||||
|
||||
@ManyToOne(() => OrgChild3, (orgChild3) => orgChild3.orgChild4s)
|
||||
@JoinColumn({ name: "orgChild3Id" })
|
||||
orgChild3: OrgChild3;
|
||||
}
|
||||
|
||||
export class CreateOrgChild4 {
|
||||
|
||||
@Column()
|
||||
orgChild4Name: string;
|
||||
|
||||
|
|
@ -132,21 +131,20 @@ export class CreateOrgChild4 {
|
|||
|
||||
@Column()
|
||||
orgChild4Code: string;
|
||||
|
||||
|
||||
@Column()
|
||||
orgChild4Rank: string;
|
||||
|
||||
@Column()
|
||||
orgChild4PhoneEx: string;
|
||||
orgChild4PhoneEx?: string;
|
||||
|
||||
@Column()
|
||||
orgChild4PhoneIn: string;
|
||||
orgChild4PhoneIn?: string;
|
||||
|
||||
@Column()
|
||||
orgChild4Fax: string;
|
||||
|
||||
@Column('uuid')
|
||||
orgChild4Fax?: string;
|
||||
|
||||
@Column("uuid")
|
||||
orgChild3Id: string;
|
||||
|
||||
}
|
||||
export type UpdateOrgChild4 = Partial<OrgChild4>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue