feat: add entity field "note"

This commit is contained in:
Methapon2001 2024-03-18 14:45:14 +07:00
parent ce7f814061
commit 7f3e4dcc5f
2 changed files with 14 additions and 0 deletions

View file

@ -136,6 +136,13 @@ export class ProfileEducation extends EntityBase {
})
positionPath: string;
@Column({
nullable: true,
comment: "หมายเหตุ",
default: null,
})
note: string;
@Column({
nullable: true,
length: 40,

View file

@ -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[];