SmartIT_Extensions/BMC/smart-it-full-helix/scripts/app/ticket/incident-vo.js

33 lines
1004 B
JavaScript

"use strict";
/**
* Value object for incident item.
*
* @author Abhranil Naha
* @constructor
*/
function IncidentVO() {
this.type = EntityVO.TYPE_INCIDENT;
this.resolvedDate = null;
this.resCategorizations = null;
this.impactedService = null;
this.causalCI = null;
this.impact = '';
this.urgency = '';
this.resolution = null;
this.templateId = '';
this.serviceType = '';
this.brokerVendorName = '';
this.needsAttention = 'No';
this.vendorTicketNumber = '';
this.templateName = '';
}
IncidentVO.prototype = new TicketVO();
IncidentVO.prototype.constructor = IncidentVO;
/**
* @override
* @return {Array} properties
*/
IncidentVO.prototype.getProps = function () {
return TicketVO.prototype.getProps().concat('resolvedDate', 'resCategorizations', 'impactedService', 'causalCI', 'impact', 'urgency', 'reopenedDate', 'resolution', 'templateId', 'serviceType', 'brokerVendorName', 'needsAttention', 'vendorTicketNumber', 'templateName');
};