add period at ProfileAssessment

This commit is contained in:
kittapath 2025-02-04 11:45:16 +07:00
parent d46c4cc0a8
commit e208b1ef1b
2 changed files with 27 additions and 0 deletions

View file

@ -30,6 +30,14 @@ export class ProfileAssessment extends EntityBase {
})
name: string;
@Column({
nullable: true,
comment: "รอบการประเมิน",
length: 255,
default: null,
})
period: string;
@Column({
nullable: true,
type: "datetime",
@ -104,6 +112,7 @@ export class ProfileAssessment extends EntityBase {
export class CreateProfileAssessment {
profileId: string | null;
name: string | null;
period: string | null;
date: Date | null;
point1: number | null;
point1Total: number | null;
@ -116,6 +125,7 @@ export class CreateProfileAssessment {
export class CreateProfileEmployeeAssessment {
profileEmployeeId: string | null;
name: string | null;
period: string | null;
date: Date | null;
point1: number | null;
point1Total: number | null;
@ -127,6 +137,7 @@ export class CreateProfileEmployeeAssessment {
export type UpdateProfileAssessment = {
name?: string | null;
period?: string | null;
date?: Date | null;
point1?: number | null;
point1Total?: number | null;