add comment entity

This commit is contained in:
AdisakKanthawilang 2024-02-01 14:17:56 +07:00
parent a92f7eca09
commit 38f44d8f36
7 changed files with 30 additions and 4 deletions

View file

@ -10,14 +10,14 @@ import { OrgChild4 } from "./OrgChild4";
@Entity("orgRevision")
export class OrgRevision extends EntityBase {
@Column({
comment: "",
comment: "ชื่อของโครงสร้าง",
length: 255,
default: null,
})
orgRevisionName: string;
@Column({
comment: "",
comment: "สถานะเป็นโครงสร้างปัจจุบันหรือไม่",
default: false,
})
orgRevisionIsCurrent: boolean;
@ -25,7 +25,7 @@ export class OrgRevision extends EntityBase {
@Column({
nullable: true,
type: "datetime",
comment: "",
comment: "วันเวลาที่สร้างโครงสร้าง",
default: null,
})
orgRevisionCreatedAt: Date;
@ -39,7 +39,7 @@ export class OrgRevision extends EntityBase {
orgPublishDate: Date;
@Column({
comment: "",
comment: "สถานะเป็นโครงสร้างแบบร่างหรือไม่",
default: false,
})
orgRevisionIsDraft: boolean;