duty
This commit is contained in:
parent
e1db0a0a73
commit
596b7f0b97
5 changed files with 48 additions and 1 deletions
|
|
@ -120,6 +120,14 @@ export class OrgChild3 extends EntityBase {
|
|||
})
|
||||
ancestorDNA: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
comment: "หน้าที่ความรับผิดชอบ",
|
||||
default: null,
|
||||
})
|
||||
duty: string;
|
||||
|
||||
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgChild3s)
|
||||
@JoinColumn({ name: "orgRevisionId" })
|
||||
orgRevision: OrgRevision;
|
||||
|
|
@ -170,6 +178,9 @@ export class CreateOrgChild3 {
|
|||
|
||||
@Column("uuid")
|
||||
orgChild2Id: string;
|
||||
|
||||
@Column()
|
||||
duty?: string;
|
||||
}
|
||||
|
||||
export type UpdateOrgChild3 = Partial<CreateOrgChild3> & { orgChild3Rank?: OrgChild3Rank };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue