แก้ ตำแหน่ง โครงสร้าง
This commit is contained in:
parent
475d42cbe4
commit
d175165cea
8 changed files with 51 additions and 17 deletions
|
|
@ -74,6 +74,20 @@ export class CommandType extends EntityBase {
|
|||
})
|
||||
isActive: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "สถานะบัญชีแนบท้าย",
|
||||
default: true,
|
||||
})
|
||||
isAttachment: boolean;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "คำอธิบาย",
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
subtitle: string;
|
||||
|
||||
@OneToMany(() => Command, (command) => command.commandType)
|
||||
commands: Command[];
|
||||
|
||||
|
|
@ -99,6 +113,12 @@ export class CreateCommandType {
|
|||
|
||||
@Column()
|
||||
commandSysId: string;
|
||||
|
||||
@Column()
|
||||
subtitle: string | null;
|
||||
|
||||
@Column()
|
||||
isAttachment: boolean;
|
||||
}
|
||||
|
||||
export type UpdateCommandType = Partial<CreateCommandType>;
|
||||
|
|
|
|||
|
|
@ -266,15 +266,6 @@ export class CreateEmployeePosMaster {
|
|||
|
||||
@Column()
|
||||
isDirector: boolean;
|
||||
|
||||
@Column()
|
||||
isStaff: boolean;
|
||||
|
||||
// @Column()
|
||||
// isOfficer: boolean;
|
||||
|
||||
@Column()
|
||||
positionSign: string | null;
|
||||
}
|
||||
|
||||
export type UpdateEmployeePosMaster = Partial<EmployeePosMaster>;
|
||||
|
|
|
|||
|
|
@ -277,9 +277,6 @@ export class CreatePosMaster {
|
|||
@Column()
|
||||
isStaff: boolean;
|
||||
|
||||
// @Column()
|
||||
// isOfficer: boolean;
|
||||
|
||||
@Column()
|
||||
positionSign: string | null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue