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