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

29 lines
461 B
TypeScript
Raw Normal View History

2025-03-03 14:52:29 +07:00
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
@Entity("HR_MAJOR_CODE")
export class HR_MAJOR_CODE {
@PrimaryGeneratedColumn()
id!: number;
@Column({
nullable: true,
type: "text",
default: null,
})
MAJOR_CODE: string;
@Column({
nullable: true,
type: "text",
default: null,
})
MAJOR_NAME: string;
@Column({
nullable: true,
type: "text",
default: null,
})
MAJOR_ABB_NAME: string;
}