duty
This commit is contained in:
parent
e1db0a0a73
commit
596b7f0b97
5 changed files with 48 additions and 1 deletions
|
|
@ -108,6 +108,15 @@ export class OrgChild1 extends EntityBase {
|
|||
})
|
||||
ancestorDNA: string;
|
||||
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
comment: "หน้าที่ความรับผิดชอบ",
|
||||
default: null,
|
||||
})
|
||||
duty: string;
|
||||
|
||||
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgChild1s)
|
||||
@JoinColumn({ name: "orgRevisionId" })
|
||||
orgRevision: OrgRevision;
|
||||
|
|
@ -156,6 +165,10 @@ export class CreateOrgChild1 {
|
|||
|
||||
@Column("uuid")
|
||||
orgRootId: string;
|
||||
|
||||
@Column()
|
||||
duty?: string;
|
||||
|
||||
}
|
||||
|
||||
export type UpdateOrgChild1 = Partial<CreateOrgChild1> & { orgChild1Rank?: OrgChild1Rank };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue