unit to string

This commit is contained in:
Kittapath 2024-05-09 15:57:43 +07:00
parent 9a85609e93
commit 6e07eaacba
8 changed files with 33 additions and 13 deletions

View file

@ -18,7 +18,7 @@ export class KpiUserPlanned extends EntityBase {
comment: "หน่วยนับ",
default: null,
})
unit: number;
unit: string;
@Column({
nullable: true,
@ -149,7 +149,7 @@ export class CreateKpiUserPlanned {
@Column()
target: string;
@Column()
unit: number;
unit: string | null;
@Column()
weight: number;
@Column()
@ -182,7 +182,7 @@ export class UpdateKpiUserPlanned {
@Column()
target: string;
@Column()
unit: number;
unit: string | null;
@Column()
weight: number;
@Column()