From 7f3e4dcc5f2f274af4cb4bee12b5ad77d0308719 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Mon, 18 Mar 2024 14:45:14 +0700 Subject: [PATCH] feat: add entity field "note" --- src/entities/ProfileEducation.ts | 7 +++++++ src/entities/ProfileInsignia.ts | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/entities/ProfileEducation.ts b/src/entities/ProfileEducation.ts index bd1da638..88991be8 100644 --- a/src/entities/ProfileEducation.ts +++ b/src/entities/ProfileEducation.ts @@ -136,6 +136,13 @@ export class ProfileEducation extends EntityBase { }) positionPath: string; + @Column({ + nullable: true, + comment: "หมายเหตุ", + default: null, + }) + note: string; + @Column({ nullable: true, length: 40, diff --git a/src/entities/ProfileInsignia.ts b/src/entities/ProfileInsignia.ts index ee361bc6..7c883dc6 100644 --- a/src/entities/ProfileInsignia.ts +++ b/src/entities/ProfileInsignia.ts @@ -120,6 +120,13 @@ export class ProfileInsignia extends EntityBase { }) refCommandNo: string; + @Column({ + nullable: true, + comment: "หมายเหตุ", + default: null, + }) + note: string; + @OneToMany(() => ProfileInsigniaHistory, (profileInsigniaHistory) => profileInsigniaHistory.histories) profileInsigniaHistories: ProfileInsigniaHistory[];