blob: e7817a962612120429cc5328570948079c255e3c [file] [log] [blame]
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]));
}
}