edit file migrate
This commit is contained in:
parent
0fbb5b928e
commit
f77c8467d6
60 changed files with 137 additions and 13701 deletions
106
src/entities/mis/ProfileInsignias.ts
Normal file
106
src/entities/mis/ProfileInsignias.ts
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
import { Entity, Column } from "typeorm";
|
||||
import { EntityBase } from "../base/Base";
|
||||
|
||||
@Entity("ProfileInsignias")
|
||||
export class ProfileInsignias extends EntityBase {
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ปีที่ยื่นขอ",
|
||||
default: null,
|
||||
})
|
||||
year: number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 20,
|
||||
comment: "ลำดับที่",
|
||||
default: null,
|
||||
})
|
||||
no: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 30,
|
||||
comment: "เล่ม",
|
||||
default: null,
|
||||
})
|
||||
volume: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 30,
|
||||
comment: "ตอน",
|
||||
default: null,
|
||||
})
|
||||
section: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 30,
|
||||
comment: "หน้า",
|
||||
default: null,
|
||||
})
|
||||
page: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "datetime",
|
||||
comment: "ลงวันที่",
|
||||
default: null,
|
||||
})
|
||||
receiveDate: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "datetime",
|
||||
comment: "วันที่ประกาศในราชกิจจาฯ",
|
||||
default: null,
|
||||
})
|
||||
dateAnnounce: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 300,
|
||||
comment: "ราชกิจจาฯ ฉบับที่",
|
||||
default: null,
|
||||
})
|
||||
issue: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 30,
|
||||
comment: "เล่มที่",
|
||||
default: null,
|
||||
})
|
||||
volumeNo: 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,
|
||||
})
|
||||
note: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "หมายเหตุ",
|
||||
default: null,
|
||||
})
|
||||
insigniaId: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue