edit file migrate
This commit is contained in:
parent
0fbb5b928e
commit
f77c8467d6
60 changed files with 137 additions and 13701 deletions
60
src/entities/mis/ProfileHonors.ts
Normal file
60
src/entities/mis/ProfileHonors.ts
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
import { Entity, Column } from "typeorm";
|
||||
import { EntityBase } from "../base/Base";
|
||||
|
||||
@Entity("ProfileHonors")
|
||||
export class ProfileHonors extends EntityBase {
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 2000,
|
||||
comment: "รายละเอียด",
|
||||
default: null,
|
||||
})
|
||||
detail: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "datetime",
|
||||
comment: "วันที่ได้รับ",
|
||||
default: null,
|
||||
})
|
||||
issueDate: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 200,
|
||||
comment: "หน่วยงานที่ออก ",
|
||||
default: null,
|
||||
})
|
||||
issuer: string;
|
||||
|
||||
// @Column({
|
||||
// nullable: true,
|
||||
// length: 200,
|
||||
// comment: "ประเภท",
|
||||
// default: null,
|
||||
// })
|
||||
// type: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "datetime",
|
||||
comment: "เอกสารอ้างอิง (ลงวันที่)",
|
||||
default: null,
|
||||
})
|
||||
refCommandDate: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "เอกสารอ้างอิง (เลขที่คำสั่ง)",
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
refCommandNo: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ประเภทช่วงเวลา",
|
||||
default: null,
|
||||
})
|
||||
isDate: boolean;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue