This commit is contained in:
AdisakKanthawilang 2024-05-14 14:37:23 +07:00
parent e1db0a0a73
commit 596b7f0b97
5 changed files with 48 additions and 1 deletions

View file

@ -125,6 +125,14 @@ export class OrgChild4 extends EntityBase {
})
ancestorDNA: string;
@Column({
nullable: true,
length: 255,
comment: "หน้าที่ความรับผิดชอบ",
default: null,
})
duty: string;
@ManyToOne(() => OrgRevision, (orgRevision) => orgRevision.orgChild4s)
@JoinColumn({ name: "orgRevisionId" })
orgRevision: OrgRevision;
@ -176,5 +184,8 @@ export class CreateOrgChild4 {
@Column("uuid")
orgChild3Id: string;
@Column()
duty?: string;
}
export type UpdateOrgChild4 = Partial<OrgChild4>;