migrate add commandOperator.orderNo & api ส่วนเจ้าหน้าที่ดำเนินการที่คำสั่ง #2220
All checks were successful
Build & Deploy on Dev / build (push) Successful in 49s

This commit is contained in:
harid 2026-02-03 12:22:55 +07:00
parent 4ec334f0d4
commit bb18fed9ae
4 changed files with 363 additions and 28 deletions

View file

@ -84,6 +84,13 @@ export class CommandOperator extends EntityBase {
})
roleName: string;
@Column({
nullable: true,
comment: "ลำดับบทบาทของเจ้าหน้าที่ดำเนินการ",
default: null,
})
orderNo: number;
@Column({
length: 40,
comment: "คีย์นอก(FK)ของตาราง command",
@ -95,3 +102,16 @@ export class CommandOperator extends EntityBase {
command: Command;
}
export class CreateCommandOperatorDto {
profileId: string;
prefix?: string;
firstName?: string;
lastName?: string;
posNo?: string;
posType?: string;
posLevel?: string;
position?: string;
positionExecutive?: string;
roleName: string;
}