diff --git a/src/entities/PosExecutive.ts b/src/entities/PosExecutive.ts index 10304186..bc369075 100644 --- a/src/entities/PosExecutive.ts +++ b/src/entities/PosExecutive.ts @@ -25,3 +25,13 @@ export class PosExecutive extends EntityBase { @OneToMany(() => PosDict, (posDict) => posDict.posExecutive) posDicts: PosDict[]; } + +export class CreatePosExecutive { + @Column() + posExecutiveName: string; + + @Column() + posExecutivePriority: number; +} + +export type UpdatePosExecutive = Partial; \ No newline at end of file diff --git a/src/entities/PosLevel.ts b/src/entities/PosLevel.ts index bc9b86ec..af1948f7 100644 --- a/src/entities/PosLevel.ts +++ b/src/entities/PosLevel.ts @@ -51,3 +51,19 @@ export class PosLevel extends EntityBase { @OneToMany(() => PosDict, (posDict) => posDict.posLevel) posDicts: PosDict[]; } + +export class CreatePosLevel { + @Column() + posLevelName: string; + + @Column() + posLevelRank: number; + + @Column() + posLevelAuthority: string; + + @Column("uuid") + posTypeId: string; +} + +export type UpdatePosLevel = Partial; diff --git a/src/entities/PosType.ts b/src/entities/PosType.ts index 958b7996..435fcc0f 100644 --- a/src/entities/PosType.ts +++ b/src/entities/PosType.ts @@ -30,3 +30,13 @@ export class PosType extends EntityBase { @OneToMany(() => PosDict, (posDict) => posDict.posType) posDicts: PosDict[]; } + +export class CreatePosType { + @Column() + posTypeName: string; + + @Column() + posTypeRank: number; +} + +export type UpdatePosType = Partial; \ No newline at end of file