migrate #2043
This commit is contained in:
parent
4bdf1ad7b4
commit
072d9a6880
3 changed files with 41 additions and 0 deletions
|
|
@ -17,6 +17,21 @@ export class EducationLevel extends EntityBase {
|
|||
default: null,
|
||||
})
|
||||
rank: number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ขีดจำกัดวุฒิการศึกษา",
|
||||
length: 50,
|
||||
default: null,
|
||||
})
|
||||
educationLevel?: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "วุฒิการศึกษาสูงสุด",
|
||||
default: null,
|
||||
})
|
||||
isHigh?: boolean;
|
||||
}
|
||||
|
||||
export class CreateEducationLevel {
|
||||
|
|
@ -25,6 +40,12 @@ export class CreateEducationLevel {
|
|||
|
||||
@Column()
|
||||
rank: number;
|
||||
|
||||
@Column()
|
||||
educationLevel?: string;
|
||||
|
||||
@Column()
|
||||
isHigh?: boolean;
|
||||
}
|
||||
|
||||
export type UpdateEducationLevel = Partial<CreateEducationLevel>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue