add comment entity

This commit is contained in:
AdisakKanthawilang 2024-02-01 14:17:56 +07:00
parent a92f7eca09
commit 38f44d8f36
7 changed files with 30 additions and 4 deletions

View file

@ -83,12 +83,14 @@ export class OrgRoot extends EntityBase {
@Column({
nullable: true,
length: 40,
comment: "รหัส DNA ใช้ในกรณีที่มีการทำสำเนาโครงสร้าง โครงสร้างใหม่ที่ทำสำเนากับโครงสร้างเก่าจะต้องมี DNA เดียวกัน เพื่อให้ track ประวัติการแก้ไขโครงสร้างย้อนหลังได้",
default: null,
})
ancestorDNA: string;
@Column({
length: 40,
comment: "คีย์นอก(FK)ของตาราง orgRevision",
})
orgRevisionId: string;