entity เกณฑ์การประเมิน
This commit is contained in:
parent
a64e20ac23
commit
9e8ee365eb
2 changed files with 47 additions and 0 deletions
33
src/entities/kpiEvaluation.ts
Normal file
33
src/entities/kpiEvaluation.ts
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
import { Entity, Column } from "typeorm";
|
||||
import { EntityBase } from "./base/Base";
|
||||
|
||||
@Entity("kpiEvaluation")
|
||||
export class KpiEvaluation extends EntityBase {
|
||||
@Column({
|
||||
type: "longtext",
|
||||
comment: "เกณฑ์การประเมิน",
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({
|
||||
comment: "ระดับคะแนน",
|
||||
})
|
||||
level: Number;
|
||||
|
||||
}
|
||||
|
||||
export class createKpiEvaluation {
|
||||
@Column()
|
||||
name: string;
|
||||
|
||||
@Column()
|
||||
level: Number;
|
||||
}
|
||||
|
||||
export class updateKpiEvaluation {
|
||||
@Column()
|
||||
name: string;
|
||||
|
||||
@Column()
|
||||
level: Number;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue