or null entity ทั้งหมด มี 4 controller คือ (PosMaster,Position,PosDict และ Profile)

This commit is contained in:
AdisakKanthawilang 2024-02-07 16:36:55 +07:00
parent cc2c349a4b
commit 8bbc6e9555
2 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ export class Position extends EntityBase {
comment: "ตำแหน่งทางการบริหาร", comment: "ตำแหน่งทางการบริหาร",
default: null, default: null,
}) })
posExecutiveId: string; posExecutiveId: string | null;
@Column({ @Column({
nullable: true, nullable: true,

View file

@ -51,14 +51,14 @@ export class Profile extends EntityBase {
length: 40, length: 40,
comment: "ไอดีระดับตำแหน่ง", comment: "ไอดีระดับตำแหน่ง",
}) })
posLevelId: string; posLevelId: string | null;
@Column({ @Column({
nullable: true, nullable: true,
length: 40, length: 40,
comment: "ไอดีประเภทตำแหน่", comment: "ไอดีประเภทตำแหน่",
}) })
posTypeId: string; posTypeId: string | null;
// @Column({ // @Column({
// nullable: true, // nullable: true,