migrate
This commit is contained in:
parent
e4a17b62ee
commit
2cb7a9ab07
13 changed files with 232 additions and 4 deletions
|
|
@ -71,6 +71,9 @@ export class ActualGoal extends EntityBase {
|
|||
type: string;
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "จำนวน(คน)",
|
||||
default: null,
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ export class ActualPeople extends EntityBase {
|
|||
groupTarget: string;
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "จำนวน(คน)",
|
||||
default: null,
|
||||
|
|
|
|||
|
|
@ -183,8 +183,8 @@ export class Development extends EntityBase {
|
|||
year: number;
|
||||
|
||||
@Column({
|
||||
type: "longtext",
|
||||
comment: "ชื่อโครงการ/กิจกรรม/หลักสูตร",
|
||||
length: 255,
|
||||
})
|
||||
projectName: string;
|
||||
|
||||
|
|
@ -192,7 +192,7 @@ export class Development extends EntityBase {
|
|||
nullable: true,
|
||||
comment: "หลักการและเหตุผล",
|
||||
default: null,
|
||||
type: "text",
|
||||
type: "longtext",
|
||||
})
|
||||
reason: string;
|
||||
|
||||
|
|
@ -200,7 +200,7 @@ export class Development extends EntityBase {
|
|||
nullable: true,
|
||||
comment: "วัตถุประสงค์",
|
||||
default: null,
|
||||
type: "text",
|
||||
type: "longtext",
|
||||
})
|
||||
objective: string;
|
||||
|
||||
|
|
@ -254,6 +254,9 @@ export class Development extends EntityBase {
|
|||
isHoldPlanned: boolean;
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "จำนวน(วัน)(ไป-กลับ)",
|
||||
default: null,
|
||||
|
|
@ -261,6 +264,9 @@ export class Development extends EntityBase {
|
|||
projectDayBackPlanned: number;
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "จำนวน(วัน)(พักค้าง)",
|
||||
default: null,
|
||||
|
|
@ -268,6 +274,9 @@ export class Development extends EntityBase {
|
|||
projectDayHoldPlanned: number;
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "จำนวน(คืน)(พักค้าง)",
|
||||
default: null,
|
||||
|
|
@ -287,6 +296,9 @@ export class Development extends EntityBase {
|
|||
isHoldActual: boolean;
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "จำนวน(วัน)(ไป-กลับ)",
|
||||
default: null,
|
||||
|
|
@ -294,6 +306,9 @@ export class Development extends EntityBase {
|
|||
projectDayBackActual: number;
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "จำนวน(วัน)(พักค้าง)",
|
||||
default: null,
|
||||
|
|
@ -301,6 +316,9 @@ export class Development extends EntityBase {
|
|||
projectDayHoldActual: number;
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "จำนวน(คืน)(พักค้าง)",
|
||||
default: null,
|
||||
|
|
@ -308,6 +326,7 @@ export class Development extends EntityBase {
|
|||
projectNigthHoldActual: number;
|
||||
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "รายละเอียดอื่นๆ 70 แผน",
|
||||
default: null,
|
||||
|
|
@ -315,6 +334,7 @@ export class Development extends EntityBase {
|
|||
reasonPlanned70: string;
|
||||
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "รายละเอียดอื่นๆ 20 แผน",
|
||||
default: null,
|
||||
|
|
@ -322,6 +342,7 @@ export class Development extends EntityBase {
|
|||
reasonPlanned20: string;
|
||||
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "รายละเอียดอื่นๆ 10 แผน",
|
||||
default: null,
|
||||
|
|
@ -400,6 +421,9 @@ export class Development extends EntityBase {
|
|||
developmentProjectTechniqueActuals: DevelopmentProjectTechniqueActual[];
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "จำนวน(รุ่น)ตามแผน",
|
||||
default: null,
|
||||
|
|
@ -407,6 +431,9 @@ export class Development extends EntityBase {
|
|||
projectModalPlanned: number;
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "จำนวน(รุ่น)ตามจริง",
|
||||
default: null,
|
||||
|
|
@ -573,6 +600,7 @@ export class Development extends EntityBase {
|
|||
riskManagement: string;
|
||||
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ประโยชน์ที่คาดว่าจะได้รับ",
|
||||
default: null,
|
||||
|
|
@ -580,6 +608,7 @@ export class Development extends EntityBase {
|
|||
expect: string;
|
||||
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "หัวข้อ/ประเด็นการฝึกอบรม ศึกษาดูงาน",
|
||||
default: null,
|
||||
|
|
@ -587,6 +616,7 @@ export class Development extends EntityBase {
|
|||
topicAcademic: string;
|
||||
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "สถานที่ฝึกอบรม ศึกษาดูงาน",
|
||||
default: null,
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import { Development } from "./Development";
|
|||
@Entity("developmentEvaluation")
|
||||
export class DevelopmentEvaluation extends EntityBase {
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ตัวชี้วัด",
|
||||
default: null,
|
||||
|
|
@ -12,6 +13,9 @@ export class DevelopmentEvaluation extends EntityBase {
|
|||
indicators: string;
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "เป้าหมาย",
|
||||
default: null,
|
||||
|
|
@ -26,6 +30,7 @@ export class DevelopmentEvaluation extends EntityBase {
|
|||
metricType: string;
|
||||
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "วิธีการคำนวณ/เครื่องมือ",
|
||||
default: null,
|
||||
|
|
@ -33,6 +38,7 @@ export class DevelopmentEvaluation extends EntityBase {
|
|||
calculation: string;
|
||||
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ระยะเวลาวัดผล",
|
||||
default: null,
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import { Development } from "./Development";
|
|||
@Entity("developmentOther")
|
||||
export class DevelopmentOther extends EntityBase {
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "หัวข้อ/ประเด็นการฝึกอบรม ศึกษาดูงาน",
|
||||
default: null,
|
||||
|
|
@ -12,6 +13,7 @@ export class DevelopmentOther extends EntityBase {
|
|||
topicAcademic: string;
|
||||
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "สถานที่ฝึกอบรม ศึกษาดูงาน",
|
||||
default: null,
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import { Development } from "./Development";
|
|||
@Entity("developmentRisk")
|
||||
export class DevelopmentRisk extends EntityBase {
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ประเด็นความเสี่ยง",
|
||||
default: null,
|
||||
|
|
@ -33,6 +34,7 @@ export class DevelopmentRisk extends EntityBase {
|
|||
riskLevel: string;
|
||||
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "เเนวทางการบริหารความเสี่ยง",
|
||||
default: null,
|
||||
|
|
|
|||
|
|
@ -318,9 +318,9 @@ export class DevelopmentScholarship extends EntityBase {
|
|||
useOfficialTime: string;
|
||||
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "เปลี่ยนแปลงรายละเอียด",
|
||||
type: "text",
|
||||
default: null,
|
||||
})
|
||||
changeDetail: string;
|
||||
|
|
|
|||
|
|
@ -56,6 +56,9 @@ export class PlannedGoal extends EntityBase {
|
|||
type: string;
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "จำนวน(คน)",
|
||||
default: null,
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ import { PlannedGoal } from "./PlannedGoal";
|
|||
@Entity("plannedGoalPosition")
|
||||
export class PlannedGoalPosition extends EntityBase {
|
||||
@Column({
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่ง",
|
||||
default: null,
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ export class PlannedPeople extends EntityBase {
|
|||
groupTarget: string;
|
||||
|
||||
@Column({
|
||||
type: "decimal",
|
||||
precision: 65,
|
||||
scale: 0,
|
||||
nullable: true,
|
||||
comment: "จำนวน(คน)",
|
||||
default: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue