This commit is contained in:
AdisakKanthawilang 2024-02-20 16:59:13 +07:00
parent a47f07110a
commit bb79b0a3d0
3 changed files with 25 additions and 2 deletions

View file

@ -58,6 +58,12 @@ export class PosDict extends EntityBase {
})
posDictArea: string;
@Column({
comment: "ฉ",
default: false,
})
isSpacial: boolean;
@ManyToOne(() => PosExecutive, (posExecutive) => posExecutive)
@JoinColumn({ name: "posExecutiveId" })
posExecutive: PosExecutive;
@ -92,6 +98,9 @@ export class CreatePosDict {
@Column()
posDictArea: string | null;
@Column()
isSpacial: boolean;
}
export type UpdatePosDict = Partial<CreatePosDict>;