20 lines
495 B
TypeScript
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 };
|