From 4f1488ff6b3c057e88f7b7a882ed67fae48fb1f8 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Tue, 14 May 2024 11:55:00 +0700 Subject: [PATCH] add duty --- src/entities/OrgRoot.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) 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; }