migrate (add field profileTraing.developmentId) & filter commandNo
This commit is contained in:
parent
aaf2ad880d
commit
afc8bbf26a
3 changed files with 1003 additions and 2 deletions
|
|
@ -108,6 +108,14 @@ export class ProfileTraining extends EntityBase {
|
|||
})
|
||||
isDate: boolean;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 40,
|
||||
comment: "ไอดีโครงการ/หลักสูตรการฝึกอบรม",
|
||||
default: null,
|
||||
})
|
||||
developmentId: string;
|
||||
|
||||
@OneToMany(
|
||||
() => ProfileTrainingHistory,
|
||||
(profileTrainingHistory) => profileTrainingHistory.histories,
|
||||
|
|
@ -136,6 +144,7 @@ export class CreateProfileTraining {
|
|||
name: string | null;
|
||||
yearly: number | null;
|
||||
isDate: boolean | null;
|
||||
developmentId?: string | null;
|
||||
}
|
||||
|
||||
export class CreateProfileEmployeeTraining {
|
||||
|
|
@ -151,6 +160,7 @@ export class CreateProfileEmployeeTraining {
|
|||
name: string | null;
|
||||
yearly: number | null;
|
||||
isDate: boolean | null;
|
||||
developmentId?: string | null;
|
||||
}
|
||||
|
||||
export type UpdateProfileTraining = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue