hrms-api-org/src/entities/mis/ProfileChangeNames.ts

38 lines
682 B
TypeScript
Raw Normal View History

2025-05-21 08:16:21 +07:00
import { Entity, Column } from "typeorm";
2025-08-05 22:24:45 +07:00
import { EntityBase } from "../base/Base";
2025-05-21 08:16:21 +07:00
@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;
}