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

21 lines
495 B
TypeScript
Raw Normal View History

2026-03-25 11:48:22 +07:00
import { Entity, Column } from "typeorm";
import {
ProfileAbsentLate,
AbsentLateStatus,
StampType,
} from "./ProfileAbsentLate";
@Entity("profileAbsentLateHistory")
export class ProfileAbsentLateHistory extends ProfileAbsentLate {
@Column({
nullable: true,
length: 40,
comment: "คีย์นอก(FK)ของตาราง ProfileAbsentLate",
default: null,
})
profileAbsentLateId: string;
}
// Export enums for re-use
export { AbsentLateStatus, StampType };