"use strict"; function ProblemVO() { this.type = EntityVO.TYPE_PROBLEM; this.impact = ''; this.urgency = ''; this.crossLaunchURL = ''; this.icon = 'PBI'; this.label = 'Problem'; this.investigationDriver = ''; this.rootCause = ''; this.workaround = ''; this.resolution = ''; this.location = null; this.impactedAreas = null; this.impactedService = null; this.causalCI = null; this.targetDate = null; this.coordinator = null; this.coordinatorGroup = null; this.brokerVendorName = ''; } ProblemVO.prototype = new TicketVO(); ProblemVO.prototype.constructor = ProblemVO; /** * @override * @return {Array} properties */ ProblemVO.prototype.getProps = function () { return TicketVO.prototype.getProps().concat('completedDate', 'type', 'impact', 'urgency', 'crossLaunchURL', 'investigationDriver', 'location', 'rootCause', 'workaround', 'resolution', 'impactedAreas', 'impactedService', 'causalCI', 'targetDate', 'coordinator', 'coordinatorGroup', 'brokerVendorName'); }; ProblemVO.prototype.postBuild = function () { TicketVO.prototype.postBuild.call(this); this.targetDateHumanized = this.targetDate ? moment(new Date(this.targetDate)).format('lll') : null; };