20 lines
572 B
TypeScript
20 lines
572 B
TypeScript
|
|
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;
|
||
|
|
}
|