SmartIT_Extensions/BMC/smart-it-full/scripts/app/template/activity-template-vo.js

28 lines
671 B
JavaScript

"use strict";
/**
* Created by andey on 03-01-2017.
*/
function ActivityTemplateVO() {
// simple fields
this.name = '';
this.summary = '';
this.id = '';
this.type = 'activityTemplate';
this.desc = '';
// complex fields
this.company = null;
this.templateObject = null;
}
/**
* Setup inheritance chain.
*/
ActivityTemplateVO.prototype = Object.create(BaseVO.prototype);
ActivityTemplateVO.prototype.constructor = ActivityTemplateVO;
/**
* @override
* @return {Array}
*/
ActivityTemplateVO.prototype.getProps = function () {
return BaseVO.prototype.getProps().concat('name', 'summary', 'desc', 'templateObject', 'company');
};