migrate (add registryEmployee.employeeClass)

This commit is contained in:
Bright 2025-08-28 14:14:37 +07:00
parent 8079693f19
commit bbb8eeb278
2 changed files with 24 additions and 1 deletions

View file

@ -327,6 +327,14 @@ export class RegistryEmployee extends EntityBase {
default: null,
})
fields: string;
@Column({
nullable: true,
comment: "ประเภทลูกจ้าง (perm->ลูกจ้างประจำ temp->ลูกจ้างชั่วคราว)",
length: 40,
default: null,
})
employeeClass: string;
}
export class RegistryEmployeeCreateDto {
@ -340,7 +348,7 @@ export class RegistryEmployeeCreateDto {
isRetirement?: boolean | null;
leaveType?: string | null;
posMasterNo?: string | null;
// orgRootId?: string | null;
orgRootId?: string | null;
orgChild1Id?: string | null;
orgChild2Id?: string | null;
orgChild3Id?: string | null;
@ -372,4 +380,5 @@ export class RegistryEmployeeCreateDto {
Educations?: string | null;
educationLevels?: string | null;
fields?: string | null;
employeeClass?: string | null;
}