27 lines
451 B
TypeScript
27 lines
451 B
TypeScript
import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";
|
|
|
|
@Entity("HR_DISCIPLINE")
|
|
export class HR_DISCIPLINE {
|
|
@Column({
|
|
nullable: true,
|
|
type: "text",
|
|
default: null,
|
|
})
|
|
CIT: string;
|
|
@PrimaryGeneratedColumn()
|
|
id!: number;
|
|
|
|
@Column({
|
|
nullable: true,
|
|
type: "text",
|
|
default: null,
|
|
})
|
|
REASON_FLAW: string;
|
|
|
|
@Column({
|
|
nullable: true,
|
|
type: "text",
|
|
default: null,
|
|
})
|
|
CREATE_DATE: string;
|
|
}
|