Migrate เพิ่มฟิลด์ privac + API update status privac #2186
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m0s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m0s
This commit is contained in:
parent
b8421d29ed
commit
f6b03752e1
4 changed files with 146 additions and 0 deletions
|
|
@ -421,6 +421,24 @@ export class Profile extends EntityBase {
|
|||
})
|
||||
statusCheckEdit: string;
|
||||
|
||||
@Column({
|
||||
comment: "สถานะยืนยัน privacyCheckin",
|
||||
default: false,
|
||||
})
|
||||
privacyCheckin: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "สถานะยืนยัน privacyUser",
|
||||
default: false,
|
||||
})
|
||||
privacyUser: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "สถานะยืนยัน privacyMgt",
|
||||
default: false,
|
||||
})
|
||||
privacyMgt: boolean;
|
||||
|
||||
@OneToMany(() => PosMaster, (posMaster) => posMaster.current_holder)
|
||||
current_holders: PosMaster[];
|
||||
|
||||
|
|
@ -957,3 +975,8 @@ export type UpdateProfileAddress = {
|
|||
currentSubDistrictId?: string | null;
|
||||
currentZipCode?: string | null;
|
||||
};
|
||||
|
||||
export class UpdatePrivacyDto {
|
||||
system: string;
|
||||
accept: boolean;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -688,6 +688,24 @@ export class ProfileEmployee extends EntityBase {
|
|||
})
|
||||
statusCheckEdit: string;
|
||||
|
||||
@Column({
|
||||
comment: "สถานะยืนยัน privacyCheckin",
|
||||
default: false,
|
||||
})
|
||||
privacyCheckin: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "สถานะยืนยัน privacyUser",
|
||||
default: false,
|
||||
})
|
||||
privacyUser: boolean;
|
||||
|
||||
@Column({
|
||||
comment: "สถานะยืนยัน privacyMgt",
|
||||
default: false,
|
||||
})
|
||||
privacyMgt: boolean;
|
||||
|
||||
@OneToMany(() => ProfileEmployeeInformationHistory, (v) => v.profileEmployeeInformation)
|
||||
information_histories: ProfileEmployeeInformationHistory[];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue