edit file migrate
This commit is contained in:
parent
0fbb5b928e
commit
f77c8467d6
60 changed files with 137 additions and 13701 deletions
37
src/entities/mis/ProfileChangeNames.ts
Normal file
37
src/entities/mis/ProfileChangeNames.ts
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
import { Entity, Column } from "typeorm";
|
||||
import { EntityBase } from "../base/Base";
|
||||
|
||||
@Entity("ProfileChangeNames")
|
||||
export class ProfileChangeNames extends EntityBase {
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 40,
|
||||
comment: "คำนำหน้า",
|
||||
default: null,
|
||||
})
|
||||
prefix: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 100,
|
||||
comment: "ชื่อ",
|
||||
default: null,
|
||||
})
|
||||
firstName: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 100,
|
||||
comment: "นามสกุล",
|
||||
default: null,
|
||||
})
|
||||
lastName: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 100,
|
||||
comment: "สถานะ",
|
||||
default: null,
|
||||
})
|
||||
status: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue