hrms-api-org/src/entities/ProfileEmployeeAbsentLateHistory.ts

18 lines
582 B
TypeScript
Raw Normal View History

2026-03-25 11:48:22 +07:00
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 };