ค้นหาทะเบียนประวัติ

This commit is contained in:
Kittapath 2024-02-16 12:07:37 +07:00
parent 14bc29b675
commit 5fc7aa0938
5 changed files with 207 additions and 55 deletions

View file

@ -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[];