diff --git a/src/entities/OrgRoot.ts b/src/entities/OrgRoot.ts index a6eaa7f9..99b0dea2 100644 --- a/src/entities/OrgRoot.ts +++ b/src/entities/OrgRoot.ts @@ -96,6 +96,14 @@ export class OrgRoot extends EntityBase { }) ancestorDNA: string; + @Column({ + nullable: true, + length: 255, + comment: "หน้าที่ความรับผิดชอบ ", + default: null, + }) + duty: string; + @Column({ length: 40, comment: "คีย์นอก(FK)ของตาราง orgRevision", @@ -147,6 +155,9 @@ export class CreateOrgRoot { @Column() orgRootFax?: string; + @Column() + duty?: string; + @Column("uuid") orgRevisionId: string; }