hrms-api-org/src/entities/PosExecutive.ts

20 lines
572 B
TypeScript
Raw Normal View History

import { Entity, Column, ManyToOne, JoinColumn, OneToOne, OneToMany } from "typeorm";
import { EntityBase } from "./base/Base";
@Entity("posExecutive")
export class PosExecutive extends EntityBase {
@Column({
nullable: true,
comment: "ชื่อตำแหน่งทางการบริหาร",
length: 255,
default: "string",
})
posExecutiveName: string;
@Column({
nullable: true,
comment: "ลำดับความสำคัญ",
})
posExecutivePriority: number;
}