แก้ชื่อ tag
This commit is contained in:
parent
4b4f2423fa
commit
f509e10f8c
9 changed files with 151 additions and 107 deletions
|
|
@ -12,7 +12,6 @@ enum OrgChild3Rank {
|
|||
|
||||
@Entity("orgChild3")
|
||||
export class OrgChild3 extends EntityBase {
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ชื่อส่วนราชการ",
|
||||
|
|
@ -75,7 +74,7 @@ export class OrgChild3 extends EntityBase {
|
|||
@Column({
|
||||
nullable: true,
|
||||
comment: "สถานะของหน่วยงาน",
|
||||
default: true
|
||||
default: true,
|
||||
})
|
||||
orgChild3IsNormal: boolean;
|
||||
|
||||
|
|
@ -103,17 +102,15 @@ export class OrgChild3 extends EntityBase {
|
|||
})
|
||||
isAncestorDNA: string;
|
||||
|
||||
@ManyToOne(() => OrgChild2, orgChild2 => orgChild2.orgChild3s)
|
||||
@ManyToOne(() => OrgChild2, (orgChild2) => orgChild2.orgChild3s)
|
||||
@JoinColumn({ name: "orgChild2Id" })
|
||||
orgChild2: OrgChild2;
|
||||
|
||||
@OneToMany(() => OrgChild4, orgChild4 => orgChild4.orgChild3)
|
||||
@OneToMany(() => OrgChild4, (orgChild4) => orgChild4.orgChild3)
|
||||
orgChild4s: OrgChild4[];
|
||||
|
||||
}
|
||||
|
||||
export class CreateOrgChild3 {
|
||||
|
||||
@Column()
|
||||
orgChild3Name: string;
|
||||
|
||||
|
|
@ -122,22 +119,21 @@ export class CreateOrgChild3 {
|
|||
|
||||
@Column()
|
||||
orgChild3Code: string;
|
||||
|
||||
|
||||
@Column()
|
||||
orgChild3Rank: string;
|
||||
|
||||
@Column()
|
||||
orgChild3PhoneEx: string;
|
||||
orgChild3PhoneEx?: string;
|
||||
|
||||
@Column()
|
||||
orgChild3PhoneIn: string;
|
||||
orgChild3PhoneIn?: string;
|
||||
|
||||
@Column()
|
||||
orgChild3Fax: string;
|
||||
orgChild3Fax?: string;
|
||||
|
||||
@Column('uuid')
|
||||
@Column("uuid")
|
||||
orgChild2Id: string;
|
||||
|
||||
}
|
||||
|
||||
export type UpdateOrgChild3 = Partial<CreateOrgChild3> & { orgChild3Rank?: OrgChild3Rank };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue