แก้ ไข คำ สั่ง tab0

This commit is contained in:
kittapath 2024-09-24 11:30:07 +07:00
parent 22ae951626
commit 5ccbdd1f61
3 changed files with 173 additions and 0 deletions

View file

@ -94,6 +94,24 @@ export class Command extends EntityBase {
})
isAttachment: boolean;
@Column({
comment: "ออกคำสั่งแบบ Digital Signature",
default: null,
})
isSignature: boolean;
@Column({
comment: "ยืนยันทำแบบร่าง",
default: false,
})
isDraft: boolean;
@Column({
comment: "ผู้มีอำนาจลงนาม",
default: false,
})
isSign: boolean;
@ManyToOne(() => CommandType, (commandType) => commandType.commands)
@JoinColumn({ name: "commandTypeId" })
commandType: CommandType;