migrate add column isDeleted + API ลบข้อมูลฝึกอบรม/ดูงาน + การพัฒนารายบุคคล idp + รักษาการ Task #2276, #2279, #2278
All checks were successful
Build & Deploy on Dev / build (push) Successful in 50s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 50s
This commit is contained in:
parent
bb18fed9ae
commit
30bf5ad9e3
12 changed files with 317 additions and 9 deletions
|
|
@ -86,6 +86,13 @@ export class ProfileActposition extends EntityBase {
|
|||
})
|
||||
profileEmployeeId: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
comment: "สถานะลบข้อมูลรักษาการในตำแหน่ง",
|
||||
default: false,
|
||||
})
|
||||
isDeleted: boolean;
|
||||
|
||||
@OneToMany(
|
||||
() => ProfileActpositionHistory,
|
||||
(profileActpositionHistory) => profileActpositionHistory.histories,
|
||||
|
|
|
|||
|
|
@ -48,6 +48,13 @@ export class ProfileActpositionHistory extends EntityBase {
|
|||
})
|
||||
profileActpositionId: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
comment: "สถานะลบข้อมูลรักษาการในตำแหน่ง",
|
||||
default: false,
|
||||
})
|
||||
isDeleted: boolean;
|
||||
|
||||
@ManyToOne(
|
||||
() => ProfileActposition,
|
||||
(profileActposition) => profileActposition.profileActpositionHistorys,
|
||||
|
|
|
|||
|
|
@ -154,6 +154,13 @@ export class ProfileDevelopment extends EntityBase {
|
|||
})
|
||||
kpiDevelopmentId: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
comment: "สถานะลบข้อมูลการพัฒนารายบุคคล (Individual Development Plan)",
|
||||
default: false,
|
||||
})
|
||||
isDeleted: boolean;
|
||||
|
||||
@OneToMany(
|
||||
() => ProfileDevelopmentHistory,
|
||||
(profileDevelopmentHistory) => profileDevelopmentHistory.histories,
|
||||
|
|
|
|||
|
|
@ -144,6 +144,13 @@ export class ProfileDevelopmentHistory extends EntityBase {
|
|||
})
|
||||
profileDevelopmentId: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
comment: "สถานะลบข้อมูลการพัฒนารายบุคคล (Individual Development Plan)",
|
||||
default: false,
|
||||
})
|
||||
isDeleted: boolean;
|
||||
|
||||
@ManyToOne(
|
||||
() => ProfileDevelopment,
|
||||
(profileDevelopment) => profileDevelopment.profileDevelopmentHistories,
|
||||
|
|
|
|||
|
|
@ -122,6 +122,13 @@ export class ProfileTraining extends EntityBase {
|
|||
})
|
||||
developmentId: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
comment: "สถานะลบข้อมูลการฝึกอบรม/ดูงาน",
|
||||
default: false,
|
||||
})
|
||||
isDeleted: boolean;
|
||||
|
||||
@OneToMany(
|
||||
() => ProfileTrainingHistory,
|
||||
(profileTrainingHistory) => profileTrainingHistory.histories,
|
||||
|
|
|
|||
|
|
@ -98,6 +98,13 @@ export class ProfileTrainingHistory extends EntityBase {
|
|||
})
|
||||
isDate: boolean;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
comment: "สถานะลบข้อมูลการฝึกอบรม/ดูงาน",
|
||||
default: false,
|
||||
})
|
||||
isDeleted: boolean;
|
||||
|
||||
@ManyToOne(() => ProfileTraining, (profileTraining) => profileTraining.profileTrainingHistories)
|
||||
@JoinColumn({ name: "profileTrainingId" })
|
||||
histories: ProfileTraining;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue