44 lines
1.1 KiB
JavaScript
44 lines
1.1 KiB
JavaScript
"use strict";
|
|
function AssetConsoleItemVO() {
|
|
this.name = '';
|
|
this.desc = '';
|
|
this.company = null;
|
|
this.product = null;
|
|
this.reconciliationId = '';
|
|
this.classId = '';
|
|
this.assetId = '';
|
|
this.instanceId = '';
|
|
this.site = {};
|
|
this.status = null;
|
|
this.assetExtension = null;
|
|
this.thumbnail = '';
|
|
this.thumbnailMime = '';
|
|
this.type = '';
|
|
this.owner = '';
|
|
this.ticketType = EntityVO.TYPE_ASSET;
|
|
this.extensionAttrs = {};
|
|
this.dateAttrs = {};
|
|
this.domainAttrs = {};
|
|
this.productAttrs = {};
|
|
this.accessMappings = {};
|
|
this.poiInfo = {};
|
|
this.following = false;
|
|
this.serialNumber = '';
|
|
this.manufacturer = '';
|
|
this.room = '';
|
|
this.floor = '';
|
|
this.systemRole = '';
|
|
}
|
|
// inherit BaseVO
|
|
AssetConsoleItemVO.prototype = new BaseVO();
|
|
// correct the constructor pointer
|
|
AssetConsoleItemVO.prototype.constructor = AssetConsoleItemVO;
|
|
/**
|
|
* @override
|
|
* @return {Array}
|
|
*/
|
|
AssetConsoleItemVO.prototype.getProps = function () {
|
|
var keys = Object.keys(new AssetConsoleItemVO());
|
|
return BaseVO.prototype.getProps().concat(keys);
|
|
};
|