hrms-api-org/src/entities/ProfileAbsentLateHistory.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

20 lines
495 B
TypeScript

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 };