intervention-pages
Version:
22 lines (21 loc) • 680 B
JavaScript
import { ModelsBase } from '../../common/models/models.base';
export class DocumentDetails extends ModelsBase {
constructor(intervention) {
super();
this.title = '';
this.context = '';
this.implementation_strategy = '';
this.ip_program_contribution = '';
this.setObjProperties(intervention);
}
}
export class DocumentDetailsPermissions extends ModelsBase {
constructor(permissions) {
super();
this.title = true;
this.context = true;
this.implementation_strategy = true;
this.ip_program_contribution = true;
this.setObjProperties(permissions);
}
}