hrms-api-org/src/entities/ProfileEmployeeAbsentLateHistory.ts
harid ef0d6ea1b5
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m41s
Migrate add absentLateHistory
2026-03-25 11:48:22 +07:00

17 lines
582 B
TypeScript

import { Entity, Column } from "typeorm";
import { ProfileEmployeeAbsentLate } from "./ProfileEmployeeAbsentLate";
import { AbsentLateStatus, StampType } from "./ProfileAbsentLate";
@Entity("profileEmployeeAbsentLateHistory")
export class ProfileEmployeeAbsentLateHistory extends ProfileEmployeeAbsentLate {
@Column({
nullable: true,
length: 40,
comment: "คีย์นอก(FK)ของตาราง ProfileEmployeeAbsentLate",
default: null,
})
profileEmployeeAbsentLateId: string;
}
// Export enums for re-use
export { AbsentLateStatus, StampType };