ค้นหาทะเบียนประวัติ
This commit is contained in:
parent
14bc29b675
commit
5fc7aa0938
5 changed files with 207 additions and 55 deletions
|
|
@ -60,6 +60,20 @@ export class Profile extends EntityBase {
|
|||
})
|
||||
posTypeId: string | null;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
comment: "อีเมล",
|
||||
})
|
||||
email: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 20,
|
||||
comment: "เบอร์โทร",
|
||||
})
|
||||
phone: string;
|
||||
|
||||
// @Column({
|
||||
// nullable: true,
|
||||
// length: 40,
|
||||
|
|
@ -79,6 +93,13 @@ export class Profile extends EntityBase {
|
|||
// unique: false,
|
||||
// })
|
||||
// next_holderId: string;
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "id keycloak",
|
||||
length: 40,
|
||||
default: null,
|
||||
})
|
||||
keycloak: string;
|
||||
|
||||
@OneToMany(() => PosMaster, (posMaster) => posMaster.current_holder)
|
||||
current_holders: PosMaster[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue