แก้หมายเหตุพัฒนา

This commit is contained in:
Kittapath 2024-07-05 17:36:19 +07:00
parent fdd9c510cc
commit eac232edcc
6 changed files with 62 additions and 2 deletions

View file

@ -260,6 +260,13 @@ export class Development extends EntityBase {
})
projectNigthHoldActual: number;
@Column({
nullable: true,
comment: "รายละเอียดอื่นๆ แผน",
default: null,
})
reasonPlanned: string;
@OneToMany(
() => DevelopmentProjectTechniquePlanned,
(developmentProjectTechniquePlanned: DevelopmentProjectTechniquePlanned) =>
@ -267,6 +274,13 @@ export class Development extends EntityBase {
)
developmentProjectTechniquePlanneds: DevelopmentProjectTechniquePlanned[];
@Column({
nullable: true,
comment: "รายละเอียดอื่นๆ จริง",
default: null,
})
reasonActual: string;
@OneToMany(
() => DevelopmentProjectTechniqueActual,
(developmentProjectTechniqueActual: DevelopmentProjectTechniqueActual) =>
@ -672,6 +686,8 @@ export class UpdateDevelopment3 {
@Column()
developmentProjectTechniquePlanneds?: string[];
@Column()
reasonPlanned?: string;
@Column()
isBackActual?: boolean | null;
@Column()
isHoldActual?: boolean | null;
@ -684,6 +700,8 @@ export class UpdateDevelopment3 {
@Column()
developmentProjectTechniqueActuals?: string[];
@Column()
reasonActual?: string;
@Column()
strategyChildPlannedId?: string | null;
@Column()
strategyChildPlannedNode?: number | null;

View file

@ -12,7 +12,9 @@ export class DevelopmentProjectTechniqueActual extends EntityBase {
// ACADEMIC_SEMINAR = การสัมมนาทางวิชาการ
// WORKSHOP = การสัมมนาเชิงปฏิบัติการ
// SPECIAL_LECTURE = การบรรยายพิเศษ
// LECTURE = การบรรยาย
// STUDY_TRAINING = การฝึกศึกษา
// OTHER = อื่น
nullable: true,
comment: "เทคนิควิธีการที่ใช้ในการพัฒนา",
default: null,
@ -35,5 +37,5 @@ export class DevelopmentProjectTechniqueActual extends EntityBase {
}
export class CreateDevelopmentProjectTechniqueActual {
@Column()
name: number;
name: string;
}

View file

@ -12,7 +12,9 @@ export class DevelopmentProjectTechniquePlanned extends EntityBase {
// ACADEMIC_SEMINAR = การสัมมนาทางวิชาการ
// WORKSHOP = การสัมมนาเชิงปฏิบัติการ
// SPECIAL_LECTURE = การบรรยายพิเศษ
// LECTURE = การบรรยาย
// STUDY_TRAINING = การฝึกศึกษา
// OTHER = อื่น
nullable: true,
comment: "เทคนิควิธีการที่ใช้ในการพัฒนา",
default: null,
@ -35,5 +37,5 @@ export class DevelopmentProjectTechniquePlanned extends EntityBase {
}
export class CreateDevelopmentProjectTechniquePlanned {
@Column()
name: number;
name: string;
}