update entity

This commit is contained in:
Rizki
2026-01-05 19:15:47 +07:00
parent f7d8982bbf
commit 83624642e2
2 changed files with 20 additions and 14 deletions

View File

@ -29,6 +29,16 @@ export class HrmsAttendance {
})
in_at: Date;
@Column({
nullable: true,
})
break_out_at: Date;
@Column({
nullable: true,
})
break_in_at: Date;
@Column({
nullable: true,
})
@ -36,13 +46,9 @@ export class HrmsAttendance {
@Column({
nullable: true,
type: "float8",
})
break_start_at: Date;
@Column({
nullable: true,
})
break_end_at: Date;
duration_work: number;
@Column({
nullable: true,
@ -54,7 +60,7 @@ export class HrmsAttendance {
nullable: true,
type: "float8",
})
duration: number;
duration_total: number;
@Column({
nullable: true,

View File

@ -1,9 +1,9 @@
export enum HolidayType {
NATIONAL = "NH", // National Holiday
COLLECTIVE = "CL", // Collective Leave / Cuti Bersama
COMPANY = "CH", // Company Holiday
RELIGIOUS = "RH", // Religious Holiday
SPECIAL = "SH", // Special / Exceptional Holiday
NATIONAL = "National_HOLIDAY", // National Holiday
COLLECTIVE = "COLLECTIVE_LEAVE", // Collective Leave / Cuti Bersama
COMPANY = "COMPANY_HOLIDAY", // Company Holiday
RELIGIOUS = "RELIGIUS_HOLIDAY", // Religious Holiday
SPECIAL = "SPECIAL_HOLIDAY", // Special / Exceptional Holiday
}
export const HolidayTypeLabel: Record<HolidayType, string> = {
@ -20,6 +20,6 @@ export enum YesNo {
}
export enum AttendanceType {
IN = "in",
OUT = "out",
ATTENDANCE = "attendance",
LEAVE = "leave",
}