28 lines
461 B
TypeScript
28 lines
461 B
TypeScript
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;
|
|
}
|