SmartIT_Extensions/BMC/smart-it-full-helix/scripts/app/common/vo/site-vo.js

28 lines
586 B
JavaScript

"use strict";
/**
* Value object for sla.
*
* @constructor
*/
function SiteVO() {
// simple fields
this.name = '';
this.region = '';
this.siteGroup = '';
this.companyName = '';
this.id = '';
// complex fields
this.address = {};
}
// inherit BaseVO
SiteVO.prototype = new BaseVO();
// correct the constructor pointer
SiteVO.prototype.constructor = SiteVO;
/**
* @override
* @return {Array}
*/
SiteVO.prototype.getProps = function () {
return BaseVO.prototype.getProps().concat('name', 'region', 'siteGroup', 'address', 'companyName', 'id');
};