update entity
This commit is contained in:
parent
832ad6f76c
commit
dcd032b7f5
2 changed files with 11 additions and 1 deletions
|
|
@ -107,6 +107,9 @@ export class CreatePosDict {
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
positionIsSelected?: boolean | null;
|
positionIsSelected?: boolean | null;
|
||||||
|
|
||||||
|
@Column()
|
||||||
|
orderNo?: number | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreatePosDictExe {
|
export class CreatePosDictExe {
|
||||||
|
|
|
||||||
|
|
@ -77,6 +77,13 @@ export class Position extends EntityBase {
|
||||||
})
|
})
|
||||||
isSpecial: boolean;
|
isSpecial: boolean;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
comment: "ลำดับตำแหน่งภายใน 1 posMasterId",
|
||||||
|
nullable: true,
|
||||||
|
default: null,
|
||||||
|
})
|
||||||
|
orderNo: number;
|
||||||
|
|
||||||
@ManyToOne(() => PosMaster, (posMaster) => posMaster)
|
@ManyToOne(() => PosMaster, (posMaster) => posMaster)
|
||||||
@JoinColumn({ name: "posMasterId" })
|
@JoinColumn({ name: "posMasterId" })
|
||||||
posMaster: PosMaster;
|
posMaster: PosMaster;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue