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,
comment: "เลขประจำตัวประชาชน",
default: null,
length: 13
})
citizenId: number;
citizenId: string;
@OneToMany(() => PosMaster, (posMaster) => posMaster.profile)
posMasters: PosMaster[];
@ -53,7 +54,7 @@ export class CreateProfile {
lastName: string;
@Column()
citizenId: number;
citizenId: string;
}