API กลุ่มงาน

This commit is contained in:
AnandaTon 2024-04-17 16:53:20 +07:00
parent 09edf42979
commit 5f640f5a7e
3 changed files with 155 additions and 0 deletions

21
src/entities/kpiGrop.ts Normal file
View file

@ -0,0 +1,21 @@
import { Entity, Column } from "typeorm";
import { EntityBase } from "./base/Base";
@Entity("kpiGroup")
export class KpiGroup extends EntityBase {
@Column({
nullable: true,
comment: "ชื่อกลุ่มงาน",
default: null,
})
nameGroupKPI: string;
}
export class creatGroupKpi {
@Column()
nameGroupKPI: string;
}
export class updateGroupKpi {
@Column()
nameGroupKPI: string;
}