Entity Create Function
This commit is contained in:
parent
d17e31fbad
commit
c81dacadc6
3 changed files with 36 additions and 0 deletions
|
|
@ -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<CreatePosLevel>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue