privacy.model.ts 490B

12345678910111213141516
  1. export interface IPrivacy {
  2. id?: number;
  3. privacyId?: number;
  4. publicView?: boolean;
  5. cohortView?: boolean;
  6. employerView?: boolean;
  7. }
  8. export class Privacy implements IPrivacy {
  9. constructor(public id?: number, public publicView?: boolean, public cohortView?: boolean, public employerView?: boolean) {
  10. this.publicView = this.publicView || false;
  11. this.cohortView = this.cohortView || false;
  12. this.employerView = this.employerView || false;
  13. }
  14. }