hrms-api-org/src/entities/ProfileNopaids.ts
2025-05-21 08:16:21 +07:00

45 lines
975 B
TypeScript

import { Entity, Column } from "typeorm";
import { EntityBase } from "./base/Base";
@Entity("ProfileNopaids")
export class ProfileNopaids extends EntityBase {
@Column({
nullable: true,
type: "datetime",
comment: "วัน เดือน ปี",
default: null,
})
date: Date;
@Column({
nullable: true,
comment: "รายละเอียด",
type: "text",
default: null,
})
detail: string;
@Column({
nullable: true,
comment: "เอกสารอ้างอิง",
type: "text",
default: null,
})
reference: string;
@Column({
nullable: true,
type: "datetime",
comment: "เอกสารอ้างอิง (ลงวันที่)",
default: null,
})
refCommandDate: Date;
@Column({
nullable: true,
comment: "เอกสารอ้างอิง (เลขที่คำสั่ง)",
type: "text",
default: null,
})
refCommandNo: string;
}