or null entity ทั้งหมด มี 4 controller คือ (PosMaster,Position,PosDict และ Profile)
This commit is contained in:
parent
cc2c349a4b
commit
8bbc6e9555
2 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue