21 lines
428 B
TypeScript
21 lines
428 B
TypeScript
import { Entity, Column } from "typeorm";
|
|
import { EntityBase } from "../base/Base";
|
|
|
|
@Entity("ProfileOthers")
|
|
export class ProfileOthers extends EntityBase {
|
|
@Column({
|
|
nullable: true,
|
|
comment: "รายละเอียด",
|
|
type: "text",
|
|
default: null,
|
|
})
|
|
detail: string;
|
|
|
|
@Column({
|
|
nullable: true,
|
|
type: "datetime",
|
|
comment: "วันที่",
|
|
default: null,
|
|
})
|
|
date: Date;
|
|
}
|