update profile entity
This commit is contained in:
parent
02c42c2068
commit
cea12a540f
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue