แก้ ตำแหน่ง โครงสร้าง

This commit is contained in:
kittapath 2024-09-19 15:57:01 +07:00
parent 475d42cbe4
commit d175165cea
8 changed files with 51 additions and 17 deletions

View file

@ -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>;

View file

@ -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>;

View file

@ -277,9 +277,6 @@ export class CreatePosMaster {
@Column()
isStaff: boolean;
// @Column()
// isOfficer: boolean;
@Column()
positionSign: string | null;
}