fix: ลบ isActive
This commit is contained in:
parent
7e26653ed9
commit
da898594a9
2 changed files with 16 additions and 0 deletions
|
|
@ -92,6 +92,13 @@ export class ProfileTraining extends EntityBase {
|
|||
})
|
||||
yearly: number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ประเภทช่วงเวลาการศึกษา",
|
||||
default: null,
|
||||
})
|
||||
isDate: boolean;
|
||||
|
||||
@OneToMany(
|
||||
() => ProfileTrainingHistory,
|
||||
(profileTrainingHistory) => profileTrainingHistory.histories,
|
||||
|
|
@ -115,6 +122,7 @@ export class CreateProfileTraining {
|
|||
duration: string | null;
|
||||
name: string | null;
|
||||
yearly: number | null;
|
||||
isDate: boolean | null;
|
||||
}
|
||||
|
||||
export type UpdateProfileTraining = {
|
||||
|
|
@ -128,4 +136,5 @@ export type UpdateProfileTraining = {
|
|||
duration?: string | null;
|
||||
name?: string | null;
|
||||
yearly?: number | null;
|
||||
isDate?: boolean | null;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -92,6 +92,13 @@ export class ProfileTrainingHistory extends EntityBase {
|
|||
})
|
||||
profileTrainingId: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ประเภทช่วงเวลาการศึกษา",
|
||||
default: null,
|
||||
})
|
||||
isDate: boolean;
|
||||
|
||||
@ManyToOne(() => ProfileTraining, (profileTraining) => profileTraining.profileTrainingHistories)
|
||||
@JoinColumn({ name: "profileTrainingId" })
|
||||
histories: ProfileTraining;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue