hrms-api-org/src/entities/mis/ProfileChangeNames.ts
2025-08-05 22:24:45 +07:00

37 lines
682 B
TypeScript

import { Entity, Column } from "typeorm";
import { EntityBase } from "../base/Base";
@Entity("ProfileChangeNames")
export class ProfileChangeNames extends EntityBase {
@Column({
nullable: true,
length: 40,
comment: "คำนำหน้า",
default: null,
})
prefix: string;
@Column({
nullable: true,
length: 100,
comment: "ชื่อ",
default: null,
})
firstName: string;
@Column({
nullable: true,
length: 100,
comment: "นามสกุล",
default: null,
})
lastName: string;
@Column({
nullable: true,
length: 100,
comment: "สถานะ",
default: null,
})
status: string;
}