| import { Contact } from '@shared/models'; |
| |
| export class ModifiedContacts { |
| public searchText: string = null; |
| public contactTypeId: string = ''; |
| public sort: string = null; |
| public moduleName: string = null; |
| public withoutAssignedModule: boolean = null; |
| public expiringDataInPast: boolean = null; |
| public deletionLockExceeded: boolean = null; |
| |
| public constructor(data: any = null) { |
| Object.keys(data || {}) |
| .filter(property => this.hasOwnProperty(property)) |
| .forEach(property => (this[property] = data[property])); |
| } |
| } |