update profile entity

This commit is contained in:
AdisakKanthawilang 2024-02-06 11:02:29 +07:00
parent 02c42c2068
commit cea12a540f

View file

@ -32,8 +32,9 @@ export class Profile extends EntityBase {
nullable: true, nullable: true,
comment: "เลขประจำตัวประชาชน", comment: "เลขประจำตัวประชาชน",
default: null, default: null,
length: 13
}) })
citizenId: number; citizenId: string;
@OneToMany(() => PosMaster, (posMaster) => posMaster.profile) @OneToMany(() => PosMaster, (posMaster) => posMaster.profile)
posMasters: PosMaster[]; posMasters: PosMaster[];
@ -53,7 +54,7 @@ export class CreateProfile {
lastName: string; lastName: string;
@Column() @Column()
citizenId: number; citizenId: string;
} }