From feedc9b5276d630ad11d21d2cb5c03b59e37fe19 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Wed, 21 Feb 2024 13:33:55 +0700 Subject: [PATCH] ckp --- src/entities/PosDict.ts | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/src/entities/PosDict.ts b/src/entities/PosDict.ts index 2ad52379..51bb8199 100644 --- a/src/entities/PosDict.ts +++ b/src/entities/PosDict.ts @@ -91,7 +91,7 @@ export class CreatePosDict { posLevelId: string; @Column() - posExecutiveId: string; + posExecutiveId?: string; @Column() posDictExecutiveField: string; @@ -103,4 +103,30 @@ export class CreatePosDict { isSpecial: boolean; } -export type UpdatePosDict = Partial; +export class UpdatePosDict { + @Column() + posDictName: string; + + @Column() + posDictField: string; + + @Column("uuid") + posTypeId: string; + + @Column("uuid") + posLevelId: string; + + @Column() + posExecutiveId?: string; + + @Column() + posDictExecutiveField: string; + + @Column() + posDictArea: string; + + @Column() + isSpecial: boolean; +} + +// export type UpdatePosDict = Partial;