EOS/Models/Report/ReportModel.cs
Nidhi Bhargava f0c1ab20e1 code push
2025-09-04 16:25:07 +05:30

3999 lines
130 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;
namespace GODATA.Models.Report
{
public class ReportModel
{
}
/// <summary>
/// This class contain TicketList model properties
/// </summary>
public class TicketList
{
public string _CreationTime = "";
/// <summary>
/// Get or set Ticket id
/// </summary>
[Display(Name = "Ticket Id")]
public string ticketid_alias { get; set; }
/// <summary>
/// Get or set Ticket status alias
/// </summary>
[Display(Name = "Ticket Status")]
public string TicketStatusAlias { get; set; }
/// <summary>
/// Get or set creation time of ticket
/// </summary>
[Display(Name = "Ticket Creation Time")]
public string CreationTime { get { return _CreationTime; } set { _CreationTime = value; } }
/// <summary>
/// Get or set customer name
/// </summary>
[Display(Name = "Customer Name")]
public string CustomerName { get; set; }
/// <summary>
/// Get or set Customer Contact No.
/// </summary>
[Display(Name = "Customer Contact No.")]
public string CustomeContact_no { get; set; }
/// <summary>
/// Get or set customer's vehicle registration no.
/// </summary>
public string VehicleRegistrationNo { get; set; }
/// <summary>
/// Get or set Vehicle Tagging
/// </summary>
public string VehicleTagging { get; set; }
/// <summary>
/// Get or set Default SLA Time
/// </summary>
public int DefaultSlaTime { get; set; }
/// <summary>
/// Get or set Response Time
/// </summary>
[Display(Name = "Response(In min)")]
public int? TotalTicketLifeCycleTimeSlab { get; set; }
/// <summary>
/// Get or set Service Engineer Name
/// </summary>
// [Display(Name = "Van SE Name")]
public string ServiceEngineerName { get; set; }
/// <summary>
/// Get or set Dealer Name
/// </summary>
[Display(Name = "Dealer Name")]
public string DealerDealerName { get; set; }
/// <summary>
/// Get or set Dealer Contact No.
/// </summary>
[Display(Name = "Dealer Contact No.")]
public string ServiceEngineerContactNumber { get; set; }
public string caller_language { get; set; }
/// <summary>
/// Get or set default column
/// </summary>
public string DefaultCol2 { get; set; }
/// <summary>
/// Get or set Security Token
/// </summary>
public string feedback_call_status { get; set; }
/// <summary>
/// Get or set Status
/// </summary>
public string total_count { get; set; }
public string reopen_count { get; set; }
public string PreClosureTime { get; set; }
public string ChassisNo { get; set; }
public double OdometerReading { get; set; }
public string VanReachedPunchTime { get; set; } //added on 23-12-2020
//added on 25-09-2020
//[Display(Name = "Van Trip Start Latitude")]
public string VanLatitudeAtTripStart { get; set; }
//[Display(Name = "Van Trip Start Longitude")]
public string VanLongitudeAtTripStart { get; set; }
//[Display(Name = "Van Reached Latitude")]
public string VanLatitudeAtVanReached { get; set; }
//[Display(Name = "Van Reached Longitude")]
public string VanLongitudeAtVanReached { get; set; }
//[Display(Name = "Van Trip End Latitude")]
public string VanLatitudeAtTripEnd { get; set; }
//[Display(Name = "Van Reached Longitude")]
public string VanLongitudeAtTripEnd { get; set; }
public string BreakdownLocationLatitude { get; set; }
public string BreakdownLocationLongitude { get; set; }
//added on 03/12/2020
public string vehicle_warranty { get; set; }
public string vehicle_amc { get; set; }
public string vehicle_emission_norms { get; set; }
public string vehicle_sales_date { get; set; }
//ended on 03/12/2020
public string TicketClosedReason { get; set; } //added on 25-11-2020
public string LastModifiedTime { get; set; }
/// <summary>
/// Get or set Message
/// </summary>
public string gps_status { get; set; }
public string Score { get; set; }
/// <summary>
/// Get or set Security Token
/// </summary>
public string Token { get; set; }
/// <summary>
/// Get or set Status
/// </summary>
public string Status { get; set; }
/// <summary>
/// Get or set Message
/// </summary>
public string Message { get; set; }
/// <summary>
/// Get or set Description
/// </summary>
public string Description { get; set; }
/// <summary>
/// Get or set ticket assigned to (van/dealer)
/// </summary>
public string AssignedTo { get; set; }
/// <summary>
/// Get or set Reported bu which user
/// </summary>
public string ReportedVia { get; set; }
/// <summary>
/// Get or set Ticket status
/// </summary>
public string TicketStatus { get; set; }
/// <summary>
/// Get or set priority
/// </summary>
public string Priority { get; set; }
/// <summary>
/// Get or set customer score
/// </summary>
public string CutomerScore { get; set; }
/// <summary>
/// Get or set created by which user
/// </summary>
public string CreatedBy { get; set; }
/// <summary>
/// Get or set last modified by which user
/// </summary>
public string LastModifiedBy { get; set; }
/// <summary>
/// Get or set last modified time
/// </summary>
// public string LastModifiedTime { get; set; }
/// <summary>
/// Get or set breakdown location
/// </summary>
public string BreakDownLocation { get; set; }
/// <summary>
/// Get or set breakdown longitude
/// </summary>
public string BreackDownLongitude { get; set; }
/// <summary>
/// Get or set breakdown latitude
/// </summary>
public string BreackDownLatitude { get; set; }
/// <summary>
/// Get or set assigned to van/dealer id
/// </summary>
public string AssignedToUserId { get; set; }
/// <summary>
/// Get or set assigned van/dealer longitude
/// </summary>
public string AssignedToUserLongitude { get; set; }
/// <summary>
/// Get or set assigned van/dealer latitude
/// </summary>
public string AssignedToUserLatitude { get; set; }
/// <summary>
/// Get or set is declined bit
/// </summary>
public string IsDeclined { get; set; }
/// <summary>
/// Get or set Estimated Time For Job Completion
/// </summary>
public string EstimatedTimeForJobComplition { get; set; }
/// <summary>
/// Get or set submit time
/// </summary>
public string EstimatedTimeForJobComplitionSubmitTime { get; set; }
/// <summary>
/// Get or set submit time
/// </summary>
public string EstimatedTimeForJobCompletionSubmitTime { get; set; }
/// <summary>
/// Get or set breakdown location landmark
/// </summary>
public string BreakdownLocationLandmark { get; set; }
/// <summary>
/// Get or set open ticket activity created by
/// </summary>
public string ActivityTicketsOpenCreatedBy { get; set; }
/// <summary>
/// Get or set open ticket activity creation time
/// </summary>
public string ActivityTicketsOpenCreationTime { get; set; }
/// <summary>
/// Get or set remarks
/// </summary>
public string Remarks { get; set; }
/// <summary>
/// Get or set Ticket activity status
/// </summary>
public string TicketActivityStatus { get; set; }
/// <summary>
/// Get or set Ticket status sequence for activity
/// </summary>
public string TicketStatusSequenceOrder { get; set; }
/// <summary>
/// Get or set Ticket status name
/// </summary>
public string TicketStatusStatusName { get; set; }
/// <summary>
/// Get or set user id
/// </summary>
public string UserId { get; set; }
/// <summary>
/// Get or set auth engine id/email id
/// </summary>
public string AuthEngineId { get; set; }
/// <summary>
/// Get or set User name
/// </summary>
public string UserName { get; set; }
/// <summary>
/// Get or set Designation
/// </summary>
public string Designation { get; set; }
/// <summary>
/// Get or set Object Id
/// </summary>
public string ObjectId { get; set; }
/// <summary>
/// Get or set Organization Id
/// </summary>
public string OrganizationId { get; set; }
/// <summary>
/// Get or set City
/// </summary>
public string City { get; set; }
/// <summary>
/// Get or set State
/// </summary>
public string State { get; set; }
/// <summary>
/// Get or set Region
/// </summary>
public string Region { get; set; }
/// <summary>
/// Get or set Language
/// </summary>
public string Language { get; set; }
/// <summary>
/// Get or set Time Zone ID
/// </summary>
public string TimezoneId { get; set; }
/// <summary>
/// Get or set display name
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Get or set off set minutes for server side paging
/// </summary>
public string OffsetInMinutes { get; set; }
/// <summary>
/// Get or set Display Id
/// </summary>
public string DisplayId { get; set; }
/// <summary>
/// Get or set User Organization Name
/// </summary>
public string UserOrganizationName { get; set; }
/// <summary>
/// Get or set User Organization Alias
/// </summary>
public string UserOrganizationAlias { get; set; }
/// <summary>
/// Get or set User Organization City
/// </summary>
public string UserOrganizationCity { get; set; }
/// <summary>
/// Get or set User Organization State
/// </summary>
public string UserOrganizationState { get; set; }
/// <summary>
/// Get or set User Organization Country
/// </summary>
public string UserAsorganizationCountry { get; set; }
/// <summary>
/// Get or set User Organization Description
/// </summary>
public string UserOrganizationDescription { get; set; }
/// <summary>
/// Get or set User Organization Path
/// </summary>
public string UserOrgPath { get; set; }
/// <summary>
/// Get or set User Organization Depth (Levels)
/// </summary>
public string UserOrgDepth { get; set; }
/// <summary>
/// Get or set User Organization Color code
/// </summary>
public string UserOrgColor { get; set; }
/// <summary>
/// Get or set User Organization Region
/// </summary>
public string UserOrganizationRegion { get; set; }
/// <summary>
/// Get or set Dealer Id
/// </summary>
public string DealerId { get; set; }
/// <summary>
/// Get or set Dealer Organization Id
/// </summary>
public string DealerOrganizationId { get; set; }
/// <summary>
/// Get or set Dealer City
/// </summary>
public string DealerCity { get; set; }
/// <summary>
/// Get or set Dealer State
/// </summary>
public string DealerState { get; set; }
/// <summary>
/// Get or set Dealer Default latitude
/// </summary>
public string DealerDealerDefaultLattitude { get; set; }
/// <summary>
/// Get or set Dealer Default longitude
/// </summary>
public string DealerDealerDefaultLongitude { get; set; }
/// <summary>
/// Get or set van id
/// </summary>
public string VanId { get; set; }
/// <summary>
/// Get or set van alias
/// </summary>
public string VanAlias { get; set; }
/// <summary>
/// Get or set van Default latitude
/// </summary>
public string VanVanDefaultLattitude { get; set; }
/// <summary>
/// Get or set van Default longitude
/// </summary>
public string VanVanDefaultLongitude { get; set; }
/// <summary>
/// Get or set van city
/// </summary>
public string VanCity { get; set; }
/// <summary>
/// Get or set van state
/// </summary>
public string VanState { get; set; }
/// <summary>
/// Get or set van model
/// </summary>
public string VanVanModel { get; set; }
/// <summary>
/// Get or set van registration no.
/// </summary>
public string VanRegistrationNumber { get; set; }
/// <summary>
/// Get or set van registration no.
/// </summary>
public string VanVanRegisteredAs { get; set; }
/// <summary>
/// Get or set van/dealer organization name
/// </summary>
public string DealerVanOrganizationName { get; set; }
/// <summary>
/// Get or set van/dealer organization alias
/// </summary>
public string DealerVanOrganizationOrganizationAlias { get; set; }
/// <summary>
/// Get or set van/dealer organization city
/// </summary>
public string DealerVanOrganizationOrganizationCity { get; set; }
/// <summary>
/// Get or set van/dealer organization state
/// </summary>
public string DealerVanOrganizationOrganizationState { get; set; }
/// <summary>
/// Get or set van/dealer organization country
/// </summary>
public string DealerVanOrganizationOrganizationCountry { get; set; }
/// <summary>
/// Get or set van/dealer organization description
/// </summary>
public string DealerVanOrganizationOrganizationDescription { get; set; }
/// <summary>
/// Get or set van/dealer organization path
/// </summary>
public string DealerVanOrganizationOrganizationPath { get; set; }
/// <summary>
/// Get or set van/dealer organization depth
/// </summary>
public string DealerVanOrganizationOrganizationDepth { get; set; }
/// <summary>
/// Get or set van/dealer organization color code
/// </summary>
public string DealerVanOrganizationOrganizationColor { get; set; }
/// <summary>
/// Get or set van/dealer organization region
/// </summary>
public string DealerVanOrganizationOrganizationRegion { get; set; }
/// <summary>
/// Get or set service engineer id
/// </summary>
public string ServiceEngineerId { get; set; }
/// <summary>
/// Get or set service engineer alias
/// </summary>
public string ServiceEngineerAlias { get; set; }
/// <summary>
/// Get or set service engineer imei no.
/// </summary>
public string ServiceEngineerImeiNumber { get; set; }
/// <summary>
/// Get or set service engineer license key
/// </summary>
public string ServiceEngineerApplicationLicenseKey { get; set; }
/// <summary>
/// Get or set service engineer Mobile Application Blocked (true/false)
/// </summary>
public string ServiceEngineerMobileApplicationBlocked { get; set; }
/// <summary>
/// Get or set service engineer device alias
/// </summary>
public string ServiceEngineerDeviceAlias { get; set; }
/// <summary>
/// Get or set service engineer pin password
/// </summary>
public string ServiceEngineerPinPassword { get; set; }
/// <summary>
/// Get or set route id
/// </summary>
public string RouteId { get; set; }
/// <summary>
/// Get or set vehicle type
/// </summary>
public string VehicleType { get; set; }
/// <summary>
/// Get or set repair cost
/// </summary>
public string RepairCost { get; set; }
/// <summary>
/// Get or set device alias
/// </summary>
public string DeviceAlias { get; set; }
/// <summary>
/// Get or set imei no.
/// </summary>
public string Ieminumber { get; set; }
/// <summary>
/// Get or set SLA missed reason
/// </summary>
public string SlaMissedReason { get; set; }
/// <summary>
/// Get or set suggestion comment
/// </summary>
public string SuggestionComment { get; set; }
/// <summary>
/// Get or set Job Complete Response Time
/// </summary>
public string JobCompleteResponseTime { get; set; }
/// <summary>
/// Get or set default column
/// </summary>
public string DefaultCol3 { get; set; }
// public string CustomerName { get; set; }
/// <summary>
/// Get or set Estimated Distance
/// </summary>
public string EstimatedDistance { get; set; }
/// <summary>
/// Get or set age
/// </summary>
public double? Age { get; set; }
public string CallStatus { get; set; }
public string Id { get; set; }
public bool CreationTimeMorethan24Hrs
{
get
{
bool _CreationTimeMorethan24Hrs = false;
if (_CreationTime != "")
{
DateTime dtNow = DateTime.Parse(_CreationTime);
double dtDiff = (DateTime.Now - dtNow).TotalMinutes;
if (dtDiff > 1440)
{
_CreationTimeMorethan24Hrs = true;
}
}
return _CreationTimeMorethan24Hrs;
}
}
}
/// <summary>
/// This class contain report open ticket model properties
/// </summary>
public class ReportOpenTicketModel
{
public string TicketType { get; set; }
public string Token { get; set; }
public string Status { get; set; }
public string Message { get; set; }
public string UserId { get; set; }
public string FromDate { get; set; }
public string ToDate { get; set; }
public string Limit { get; set; }
public string OffSet { get; set; }
public Int32 TicketCount { get; set; }
public List<TicketList> TicketList { get; set; }
public List<TicketListForScore> TicketScoreList { get; set; }
public List<ConsolidatedReportModel> ConsolidatedReportModelList { get; set; }
}
/// <summary>
/// This class contain TicketList model properties
/// </summary>
#region REPORTS
#region EOS Call Count
/// <summary>
/// Contains properties for Eos Call Count report
/// </summary>
public class EosList
{
public object MonthName { get; set; }
public object NoOfCalls { get; set; }
public object Top23Reach2Hrs { get; set; }
public object NonTop23Reach2Hrs { get; set; }
public object ArtTop23 { get; set; }
public object ArtNonTop23 { get; set; }
public object Top23CallsClosed24Hrs { get; set; }
public object NonTop23CallsClosed24Hrs { get; set; }
}
/// <summary>
/// Contains metadata and list for Eos Call Count report
/// </summary>
public class EosCallCount
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public List<EosList> EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
}
#endregion
#region HD, LMD & Buses Contribution
/// <summary>
/// Contains properties for Hd Lmd Bus Contribution
/// </summary>
public class HdLmdBusContributionList
{
public object MonthName { get; set; }
public object TotalCalls { get; set; }
public object HDCalls { get; set; }
public object BusCalls { get; set; }
public object LMDCalls { get; set; }
public object HdPer { get; set; }
public object BusPer { get; set; }
public object LmdPer { get; set; }
public object HdPer_ { get; set; }
public object BusPer_ { get; set; }
public object LmdPer_ { get; set; }
}
/// <summary>
/// Contains properties for Hd Lmd Bus Closed
/// </summary>
public class HdLmdBusclosedList
{
public object MonthName { get; set; }
public object HdWithIn24Hrs { get; set; }
public object HdBeyond24Hrs { get; set; }
public object HdTotal { get; set; }
public object BusWithIn24Hrs { get; set; }
public object BusBeyond24Hrs { get; set; }
public object BusTotal { get; set; }
public object LmdWithIn24Hrs { get; set; }
public object LmdBeyond24Hrs { get; set; }
public object LmdTotal { get; set; }
public object HdWithIn24HrsPer { get; set; }
public object BusWithIn24HrsPer { get; set; }
public object LmdWithIn24HrsPer { get; set; }
public object HdWithIn24HrsPer_ { get; set; }
public object BusWithIn24HrsPer_ { get; set; }
public object LmdWithIn24HrsPer_ { get; set; }
}
/// <summary>
/// Contains metadata and lists for Hd Lmd Bus Contribution report
/// </summary>
public class HdLmdBusContribution
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public List<HdLmdBusContributionList> HdLmdBusContributionList { get; set; }
public List<HdLmdBusclosedList> HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
}
#endregion
#region Dealer-Wise Call Details
/// <summary>
/// Contains properties for Dealer Wise Call Detail
/// </summary>
public class DealerWiseCallDetailList
{
public object DealerName { get; set; }
public object HdCall { get; set; }
public object BusCall { get; set; }
public object LmdCall { get; set; }
public object TotalCall { get; set; }
public object HdCallWithIn24Hrs { get; set; }
public object BusCallWithIn24Hrs { get; set; }
public object LmdCallWithIn24Hrs { get; set; }
public object TotalCallWithIn24Hrs { get; set; }
public object HdCallWithIn24HrsPer { get; set; }
public object BusCallWithIn24HrsPer { get; set; }
public object LmdCallWithIn24HrsPer { get; set; }
public object TotalCallWithIn24HrsPer { get; set; }
public object HdCallWithIn24HrsPer_ { get; set; }
public object BusCallWithIn24HrsPer_ { get; set; }
public object LmdCallWithIn24HrsPer_ { get; set; }
public object TotalCallWithIn24HrsPer_ { get; set; }
}
/// <summary>
/// Contains metadata andf list for dealer Wise Call Detail
/// </summary>
public class DealerWiseCallDetail
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public List<DealerWiseCallDetailList> DealerWiseCallDetailList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
}
/// <summary>
/// Contains properties for Dealer Wise Reason Call Closed Beyond 24Hrs
/// </summary>
public class DealerWiseReasonCallClosedBeyond24HrsList
{
public object DealerName { get; set; }
public object Major { get; set; }
public object FIP { get; set; }
public object MajorDiffrentialProblem { get; set; }
public object Other { get; set; }
public object MajorEngineProblem { get; set; }
public object PaymentApproaval { get; set; }
public object TechnicianNotAvailable { get; set; }
public object GearBoxProblem { get; set; }
public object SparePartsNotAvailable { get; set; }
public object Total { get; set; }
}
/// <summary>
/// Contains metadata and lists for Dealer Wise Reason Call Closed Beyond 24Hrs
/// </summary>
public class DealerWiseReasonCallClosedBeyond24Hrs
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public List<DealerWiseReasonCallClosedBeyond24HrsList> ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
}
/// <summary>
/// Contains lists for Dealer Wise Call Detail
/// </summary>
public class DealerWiseCallDetailModel
{
public DealerWiseCallDetail DealerWiseCallDetail { get; set; }
public DealerWiseReasonCallClosedBeyond24Hrs DealerWiseReasonCallClosedBeyond24Hrs { get; set; }
}
#endregion
#region Timeslot Closure
/// <summary>
/// Contains properties for Time Slot Clouser Detail
/// </summary>
public class TimeSlotClouserDetailList
{
public object TimeSlot { get; set; }
public object Less24Hrs { get; set; }
public object Less24HrsPer { get; set; }
public object Calls24HrsTo48Hrs { get; set; }
public object Calls24HrsTo48HrsPer { get; set; }
public object Calls48HrsTo72Hrs { get; set; }
public object Calls48HrsTo72HrsPer { get; set; }
public object Calls72HrsTo96Hrs { get; set; }
public object Calls72HrsTo96HrsPer { get; set; }
public object Greater96Hrs { get; set; }
public object Greater96HrsPer { get; set; }
public object GrandTotal { get; set; }
}
/// <summary>
/// Contains metadata and list for Timeslot Closure
/// </summary>
public class TimeslotClosure
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public List<TimeSlotClouserDetailList> TimeSlotClouserDetailList { get; set; }
}
#endregion
#region Toll Free No. And Opportunity Loss
/// <summary>
/// Contains properties for EOS Opportunity Loss
/// </summary>
public class EosOpportunityLoss
{
public object Region { get; set; }
public object LocalTechCome { get; set; }
public object DealerTakingTooMuchTime { get; set; }
public object Other { get; set; }
public object EosChargesHigh { get; set; }
public object GrandTotal { get; set; }
public object June { get; set; }
public object July { get; set; }
public object Aug { get; set; }
public object Sep { get; set; }
public object Oct { get; set; }
public object Nov { get; set; }
public object StateId { get; set; }
public object month_name { get; set; }
public string DealerName { get; set; }
}
/// <summary>
/// Contains metadata and lists for Opportunity Loss
/// </summary>
public class OpportunityLoss
{
public List<EosOpportunityLoss> _StateSLAMissed = new List<EosOpportunityLoss>();
public List<EosOpportunityLoss> _StateSLAMet = new List<EosOpportunityLoss>();
public List<EosOpportunityLoss> _DealerSLAMissed = new List<EosOpportunityLoss>();
public List<EosOpportunityLoss> _DealerSLAMet = new List<EosOpportunityLoss>();
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public List<EosOpportunityLoss> EosOpportunityLoss { get; set; }
public List<EosOpportunityLoss> StateSLAMissed
{
get
{
return _StateSLAMissed;
}
set
{
_StateSLAMissed = value;
}
}
public List<EosOpportunityLoss> StateSLAMet
{
get
{
return _StateSLAMet;
}
set
{
_StateSLAMet = value;
}
}
public List<EosOpportunityLoss> DealerSLAMissed
{
get
{
return _DealerSLAMissed;
}
set
{
_DealerSLAMissed = value;
}
}
public List<EosOpportunityLoss> DealerSLAMet
{
get
{
return _DealerSLAMet;
}
set
{
_DealerSLAMet = value;
}
}
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
}
/// <summary>
/// Contains properties for Eos Toll Free Call Source
/// </summary>
public class EosTollFreeCallSource
{
public object MonthName { get; set; }
public object VehicleSticker { get; set; }
public object Dealer { get; set; }
public object ServiceBook { get; set; }
public object AlreadyAware { get; set; }
public object Owner { get; set; }
public object Other { get; set; }
public object SMS { get; set; }
public object CoDriver { get; set; }
public object Maanger { get; set; }
public object Internet { get; set; }
public object GrandTotal { get; set; }
}
/// <summary>
/// Contains metadata and lists for Toll Free Call
/// </summary>
public class TollFreeCall
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public List<EosTollFreeCallSource> EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
}
/// <summary>
/// Contains lists for Toll Free Call And Opportunity Loss
/// </summary>
public class TollFreeCallAndOpportunityLoss
{
public OpportunityLoss OpportunityLoss { get; set; }
public TollFreeCall TollFreeCall { get; set; }
public int RequireVan { get; set; }
public string RequireVanText { get; set; }
}
#endregion
#region Call Feedback Rating
/// <summary>
/// Contains properties for Previous Year Eos Feedback
/// </summary>
public class PreviousYearEosFeedback
{
public object MonthName { get; set; }
public object Category { get; set; }
public object EasyGettingCall { get; set; }
public object ResponseOfCall { get; set; }
public object TimelyUpdation { get; set; }
public object RepairTime { get; set; }
public object EosCharges { get; set; }
public object OverAllExperience { get; set; }
}
/// <summary>
/// Contains properties for Current Year Eos Feedback
/// </summary>
public class CurrentYearEosFeedback
{
public object MonthName { get; set; }
public object Category { get; set; }
public object EasyGettingCall { get; set; }
public object ResponseOfCall { get; set; }
public object TimelyUpdation { get; set; }
public object RepairTime { get; set; }
public object EosCharges { get; set; }
public object OverAllExperience { get; set; }
}
/// <summary>
/// Contains properties for Previous Year Eos Feedback Rating
/// </summary>
public class PreviousYearEosFeedbackRating
{
public object MonthName { get; set; }
public object Eos { get; set; }
}
/// <summary>
/// Contains properties for Current Year Eos Feedback Rating
/// </summary>
public class CurrentYearEosFeedbackRating
{
public object MonthName { get; set; }
public double Eos { get; set; }
}
/// <summary>
/// Contains metadata and lists for Call Feedback Rating
/// </summary>
public class CallFeedbackRating
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public List<PreviousYearEosFeedback> PreviousYearEosFeedback { get; set; }
public List<CurrentYearEosFeedback> CurrentYearEosFeedback { get; set; }
public List<PreviousYearEosFeedbackRating> PreviousYearEosFeedbackRating { get; set; }
public List<CurrentYearEosFeedbackRating> CurrentYearEosFeedbackRating { get; set; }
}
#endregion
#region Reason for closure (>24)
/// <summary>
/// Contains properties for Hd Lmd Bus Call CLoser
/// </summary>
public class HdLmdBusCallCLoser
{
public object Product { get; set; }
public object TotalCallCount { get; set; }
public object CallCountLess24Hrs { get; set; }
public object CallCountBeyond24Hrs { get; set; }
public object CallPercentageLess24Hrs { get; set; }
public object CallPercentageBeyond24Hrs { get; set; }
public object CallPercentageLess24Hrs_ { get; set; }
public object CallPercentageBeyond24Hrs_ { get; set; }
}
/// <summary>
/// Contains metadata and lists for Hd Lmd Bus Call CLoser
/// </summary>
public class HdLmdBusCallCLoserModel
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public List<HdLmdBusCallCLoser> HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
}
/// <summary>
/// Contains properties for Reason Call Closed Beyond 24Hrs
/// </summary>
public class ReasonCallClosedBeyond24HrsList
{
public object Reason { get; set; }
public object HD { get; set; }
public object Buses { get; set; }
public object LMD { get; set; }
}
/// <summary>
/// Contains metadata and list for Reason Call Closed Beyond 24Hrs
/// </summary>
public class ReasonCallClosedBeyond24Hrs
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public List<ReasonCallClosedBeyond24HrsList> ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
}
/// <summary>
/// Contains lists for Reason For Closure More Than 24Hrs Hd Lmd
/// </summary>
public class ReasonForClosureMoreThan24HrsHdLmd
{
public HdLmdBusCallCLoserModel HdLmdBusCallCLoserModel { get; set; }
public ReasonCallClosedBeyond24Hrs ReasonCallClosedBeyond24Hrs { get; set; }
public ReasonCallClosedBeyond24Hrs ReasonCallClosedBeyond24HrsForChart { get; set; }
}
#endregion
#region Declined Calls
/// <summary>
/// Contains properties for Declined Reports Dealer Wise
/// </summary>
public class DeclinedReportsDealerWise
{
public object CreationDate { get; set; }
public object CreationTime { get; set; }
public object TicketIdAlias { get; set; }
public object VehicleRegNo { get; set; }
public object VehicleModelTag { get; set; }
public object DeclinedReason { get; set; }
public object DealerName { get; set; }
public object DealerId { get; set; }
public object Organization { get; set; }
public object ServiceEngg { get; set; }
public object VanRegNo { get; set; }
}
/// <summary>
/// Contains metadata and lists for Declined Calls
/// </summary>
public class DeclinedCalls
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object IsDealer { get; set; }
public object IsVan { get; set; }
public object IsOpenTicket { get; set; }
public object IsClosedTickets { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
public object GeoAnalysisModelReport { get; set; }
public List<DeclinedReportsDealerWise> DeclinedReportsDealerWise { get; set; }
public object UtcMinute { get; set; }
}
#endregion
#region Eicher Promise
/// <summary>
/// Contains properties for Promise Reports
/// </summary>
public class PromiseReportsList
{
public object CreationDate { get; set; }
public object TicketIdAlias { get; set; }
public object VehicleRegNo { get; set; }
public object VehicleModelTag { get; set; }
public object Description { get; set; }
public object DealerName { get; set; }
public object Organization { get; set; }
public object ServiceEngg { get; set; }
public object VanRegNo { get; set; }
public object ClosedTime { get; set; }
public object DeclinedReason { get; set; }
}
/// <summary>
/// Contains metadata and lists for Eicher Promise
/// </summary>
public class EicherPromiseModel
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object IsDealer { get; set; }
public object IsVan { get; set; }
public object IsOpenTicket { get; set; }
public object IsClosedTickets { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
public object GeoAnalysisModelReport { get; set; }
public object DeclinedReportsDealerWise { get; set; }
public List<PromiseReportsList> PromiseReportsList { get; set; }
public object UtcMinute { get; set; }
}
#endregion
#region Customer Report
/// <summary>
/// Contains metadata and lists for Owner
/// </summary>
public class ManageOwner
{
public bool variableisDeleted = false;
public bool variableVechileIsDeleted = false;
private List<ManageOwner> lsVechileList = new List<ManageOwner>();
[Display(Name = "Name")]
[Required(ErrorMessage = "Please Enter Name")]
public string CustomerCustomerName
{
get;
set;
}
[Display(Name = "Mobile No.")]
[Required(ErrorMessage = "Please Enter Mobile No.")]
public string CustomerMobileNumber1
{
get;
set;
}
[Display(Name = "Address")]
[Required(ErrorMessage = "Please Enter Address")]
public string CustomerAddress
{
get;
set;
}
[Display(Name = "City")]
public string CustomerCity
{
get;
set;
}
[Display(Name = "State")]
public string CustomerState
{
get;
set;
}
public int CustomerStateIdNo
{
get;
set;
}
[Display(Name = "Email Id")]
[DataType(DataType.EmailAddress)]
public string CustomerEmailId
{
get;
set;
}
[Display(Name = "Customers")]
public string OwnerNameWithContactNo
{
get
{
if (Convert.ToString(CustomerMobileNumber1) == "" || Convert.ToString(CustomerMobileNumber1) == null)
return CustomerCustomerName;
else
return CustomerCustomerName + " (" + CustomerMobileNumber1 + ")";
}
}
public string CustomerId
{
get;
set;
}
public List<ManageOwner> plsVechileList
{
get
{
return lsVechileList;
}
set
{
lsVechileList = value;
}
}
public string VehicleId
{
get;
set;
}
public Boolean CustomerVehicleIsOwner
{
get;
set;
}
[Display(Name = "Reg. No.")]
[Required(ErrorMessage = "Please Enter Reg. No.")]
//[Remote("CheckForDuplication", "Inventory")]
public string VehicleRegistrationNumber
{
get;
set;
}
[Display(Name = "Chassis No.")]
[Required(ErrorMessage = "Please Enter Chassis No.")]
public string VehicleNumberPlate
{
get;
set;
}
[Display(Name = "Model No.")]
[Required(ErrorMessage = "Please Enter Model No.")]
public string VehicleModelNumber
{
get;
set;
}
[Display(Name = "Vehicle Type")]
public string VehicleType
{
get;
set;
}
public string Status
{
get;
set;
}
public int OwnerStateId
{
get;
set;
}
public string OwnerCityId
{
get;
set;
}
public string Message { get; set; }
public string Type { get; set; }
public string Value { get; set; }
[Display(Name = "Product Variant")]
public string CustomerVehicleModelTagging { get; set; }
[Display(Name = "Vehicle Installation Date")]
public string VehicleInstallationDate { get; set; }
public bool IsDeleted { get { return variableisDeleted; } set { variableisDeleted = value; } }
public bool IsDealetedVehicle { get { return variableVechileIsDeleted; } set { variableVechileIsDeleted = value; } }
}
/// <summary>
/// Contains properties for Customer Report
/// </summary>
public class CustomerReportsList
{
public string TicketIdAlias { get; set; }
public string CreationDate { get; set; }
public string BreakdownLocation { get; set; }
public string State { get; set; }
public string City { get; set; }
public string CustomerName { get; set; }
public string CustomerContact { get; set; }
public string DriverName { get; set; }
public string VehicleModelTag { get; set; }
public string ModelNo { get; set; }
public string VehicleRegNo { get; set; }
public object DefaultSlaTime { get; set; }
public object ResponseSlaTime { get; set; }
public object TicketLifeCycleTime { get; set; }
public string Description { get; set; }
public string ServiceEngg { get; set; }
public string DealerName { get; set; }
public string DealerContact { get; set; }
public string Organization { get; set; }
}
/// <summary>
/// Contains metadata and list for Customer Report
/// </summary>
public class CustomerReportModel
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object IsDealer { get; set; }
public object IsVan { get; set; }
public object IsOpenTicket { get; set; }
public object IsClosedTickets { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
public object GeoAnalysisModelReport { get; set; }
public object DeclinedReportsDealerWise { get; set; }
public object PromiseReportsList { get; set; }
public List<CustomerReportsList> CustomerReportsList { get; set; }
public object UtcMinute { get; set; }
public object CustomerId { get; set; }
public object Condition { get; set; }
}
#endregion
#region ConsolidatedReport
/// <summary>
/// This class contain consolidated report model properties
/// </summary>
public class ConsolidatedReportModel
{
public string ticketid_alias { get; set; }
public string call_assigned_to { get; set; }
public string created_by { get; set; }
//[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd MMM yyyy HH:mm:ss}")]
//public DateTime creation_time { get; set; }
public string creation_time { get; set; }
public string time_slot { get; set; }
public string customer_name { get; set; }
public string customer_contact_no { get; set; }
public string organization { get; set; }
public string state { get; set; }
public string city { get; set; }
public string language_name { get; set; }
public string owner_name { get; set; }
public string owner_contact_number { get; set; }
public string customer_vehicle_regn_no { get; set; }
public string vehicle_name { get; set; }
public string vehicle_type { get; set; }
public string chassis_number { get; set; }
public string vehicle_instalation_date { get; set; }
public string breakdown_location { get; set; }
public string landmark { get; set; }
public string warranty { get; set; }
public string how_did_you_come_to_know_of_eos { get; set; }
public string type_of_load_carried { get; set; }
public string nature_of_problem { get; set; }
public string estimated_cost_string
{
get
{
if (Convert.ToString(call_assigned_to).ToLower().Trim() != "dealer")
return estimated_cost;
else
return "NA";
}
set
{ }
}
public string estimated_time_string
{
get
{
if (Convert.ToString(call_assigned_to).ToLower().Trim() != "dealer")
return estimated_time;
else
return "NA";
}
set
{ }
}
public string dealer_code { get; set; }
public string dealer_name { get; set; }
/// <summary>
/// get or set wm name
/// </summary>
public string wm_name { get; set; }
public string dealer_contact_no { get; set; }
public string eos_team_member_and_van { get; set; }
public string open_call_hrs { get; set; }
public string time_stamps_status_1 { get; set; }
public string time_stamps_status_3 { get; set; }
public string time_stamps_status_4 { get; set; }
public string time_stamps_status_5 { get; set; }
public string escalation_level_van_not_move_1 { get; set; }
public string escalation_level_ticket_closer_1 { get; set; }
public string call_closure_status { get; set; }//reason for 24 hrs
public string KmCovered { get; set; }
public string feedback_taken { get; set; }//feedback
public string feedback_ease_of_getting_call { get; set; }
public string feedback_response_of_call_center { get; set; }
public string feedback_timely_updation_by_dealer { get; set; }
public string feedback_total_repair_time { get; set; }
public string feedback_eos_charges { get; set; }
public string feedback_over_all_experience { get; set; }
public string closure_remarks { get; set; }
public string response_string
{
get
{
if (Convert.ToString(call_assigned_to).ToLower().Trim() != "dealer")
return response;
else
return "NA";
}
set
{ }
}
public string feedback_count { get; set; }
public string call_status { get; set; }
public string complaints { get; set; }
public string suggestion { get; set; }
public string feedback_agent { get; set; }
public string other_remarks { get; set; }
public string DealerTicketOtherRemark { get; set; }
public string estimated_distance { get; set; }
public string van_covered_distance { get; set; }
public string trip_start_time { get; set; }
public string trip_end_time { get; set; }
public string _eicher_promise { get; set; }
public string opportunity_loss { get; set; }
public string opportunity_loss_remark { get; set; }
public string opportunity_lost_remarks { get; set; }
public string remark_ticket_not_closed_24_hours { get; set; }
public string remark_ticket_not_closed_24_hours_remarks { get; set; }
public int reopen_count { get; set; }
public string ChassisNo { get; set; }
public double OdometerReading { get; set; }
public string _call_closed_within_24_hours { get; set; }
//public string Region { get; set; }
public string load_carried { get; set; }
public string feedback_parameter_wise_score { get; set; }
public string total_inbound_calls { get; set; }
public string total_outbound_calls { get; set; }
public string time_stamps_status_2 { get; set; }
public string escalation_level_van_not_move_2 { get; set; }
public string escalation_level_van_not_move_3 { get; set; }
public string escalation_level_van_not_move_4 { get; set; }
public string escalation_level_van_not_move_5 { get; set; }
public string escalation_level_van_not_move_6 { get; set; }
public string escalation_level_van_not_move_7 { get; set; }
public string escalation_level_van_not_move_8 { get; set; }
public string escalation_level_van_not_move_9 { get; set; }
public string escalation_level_van_not_move_10 { get; set; }
public string escalation_level_ticket_closer_2 { get; set; }
public string escalation_level_ticket_closer_3 { get; set; }
public string escalation_level_ticket_closer_4 { get; set; }
public string escalation_level_ticket_closer_5 { get; set; }
public string escalation_level_ticket_closer_6 { get; set; }
public string escalation_level_ticket_closer_7 { get; set; }
public string escalation_level_ticket_closer_8 { get; set; }
public string escalation_level_ticket_closer_9 { get; set; }
public string escalation_level_ticket_closer_10 { get; set; }
public string month_name { get; set; }
public string default_sla_time { get; set; }
public string region { get; set; }
public string vehicle_model { get; set; }
public List<kendoChartModel> CloseTicketCountInTimeSlot { get; set; }
public string estimated_time { get; set; }
public string response { get; set; }
public string estimated_cost { get; set; }
public string ticket_id { get; set; }
/// <summary>
/// Get or set last updated time(for consolidate report)
/// </summary>
[Display(Name = "Reassignment Date and Time")]
public string last_Updated_Time { get; set; }
/// <summary>
/// Get or set are_you_satisfied
/// </summary>
[Display(Name = "Overall Customer Satisfied")]
public string are_you_satisfied { get; set; }
/// <summary>
/// Get or set not_satisfied_option
/// </summary>
[Display(Name = "Reason for dissatisfaction")]
public string not_satisfied_option { get; set; }
/// <summary>
/// Get or set not_satisfied_reason
/// </summary>
[Display(Name = "Feedback Comments")]
public string not_satisfied_reason { get; set; }
public double? response_time_reassignment { get; set; }
//added on 03/12/2020
public string vehicle_warranty { get; set; }
public string vehicle_amc { get; set; }
public string vehicle_emission_norms { get; set; }
public string vehicle_sales_date { get; set; }
//ended on 03/12/2020
public string van_reached_punch_time { get; set; } //added on 23-12-2020
public string ticket_closed_reason { get; set; } //added on 25-11-2020
public string product_variant_name { get; set; }
}
public class kendoChartModel
{
public int Id { get; set; }
public string xAxis { get; set; }
public int yAxis { get; set; }
}
public class ConsolidatedReportTimeSlot
{
public int between0to2 { get; set; }
public int between2to4 { get; set; }
public int between4to6 { get; set; }
public int between6to8 { get; set; }
public int between8to10 { get; set; }
public int between10to12 { get; set; }
public int between12to14 { get; set; }
public int between14to16 { get; set; }
public int between16to18 { get; set; }
public int between18to20 { get; set; }
public int between20to22 { get; set; }
public int between22to24 { get; set; }
//public string countBetween0to2 { get; set; }
//public string countBetween2to4 { get; set; }
//public string countBetween4to6 { get; set; }
//public string countBetween6to8 { get; set; }
//public string countBetween8to10 { get; set; }
//public string countBetween10to12 { get; set; }
//public string countBetween12to14 { get; set; }
//public string countBetween14to16 { get; set; }
//public string countBetween16to18 { get; set; }
//public string countBetween18to20 { get; set; }
//public string countBetween20to22 { get; set; }
//public string countBetween22to24 { get; set; }
}
#endregion
#endregion
#region KAM tickets report
/// <summary>
/// THis class contain ticket request properties
/// </summary>
public class TicketRequestModel
{
/// <summary>
/// Get or set Ticket Type
/// </summary>
public string TicketType { get; set; }
/// <summary>
/// Get or set KAM Ticket Id
/// </summary>
public int KamTicketId { get; set; }
/// <summary>
/// Get or set Token
/// </summary>
public string Token { get; set; }
/// <summary>
/// Get or set Status
/// </summary>
public string Status { get; set; }
/// <summary>
/// Get or set Message
/// </summary>
public string Message { get; set; }
/// <summary>
/// Get or set User Id
/// </summary>
public int? UserId { get; set; }
/// <summary>
/// Get or set User Id
/// </summary>
public string KamUserId { get; set; }
/// <summary>
/// Get or set From Date
/// </summary>
public DateTime FromDate { get; set; }
/// <summary>
/// Get or set To Date
/// </summary>
public DateTime ToDate { get; set; }
/// <summary>
/// Get or set Limit
/// </summary>
public int? Limit { get; set; }
/// <summary>
/// Get or set OffSet
/// </summary>
public int? OffSet { get; set; }
/// <summary>
/// Get or set Ticket List
/// </summary>
public List<TicketOpenModel> TicketList { get; set; }
/// <summary>
/// Get or set Ticket List
/// </summary>
public List<DummyOpenTicketDetail> DummyTicketList { get; set; }
/// <summary>
/// Get or set
/// </summary>
public List<ConsolidatedReportModel> ConsolidatedReportModelList { get; set; }
/// <summary>
/// Get or set
/// </summary>
public Int64? TicketCount { get; set; }
/// <summary>
/// Get or set
/// </summary>
public string Condition { get; set; }
/// <summary>
/// Get or set
/// </summary>
public int? UtcMinute { get; set; }
/// <summary>
/// get or set vehicle type
/// </summary>
public string VehicleType { get; set; }
/// <summary>
/// get or set organization
/// </summary>
public string Organization { get; set; }
/// <summary>
/// Get or set Ticket List
/// </summary>
public List<EosScoreCardModel> ClosedTicketList { get; set; }
/// <summary>
/// get or set Ticket Alias
/// </summary>
public string TicketAlias { get; set; }
}
/// <summary>
/// This class contain open ticket properties
/// </summary>
public class TicketOpenModel
{
/// <summary>
/// Get or set Ticket id
/// </summary>
[Display(Name = "Ticket Id")]
public string ticketid_alias { get; set; }
/// <summary>
/// Get or set Customer Name
/// </summary>
public string CustomerName { get; set; }
/// <summary>
/// Get or set Customer Contact No.
/// </summary>
[Display(Name = "Customer Contact No.")]
public string CustomeContact_no { get; set; }
/// <summary>
/// Get or set Vehicle Registration No
/// </summary>
public string VehicleRegistrationNo { get; set; }
/// <summary>
/// Get or set Vehicle Tagging
/// </summary>
public string VehicleTagging { get; set; }
/// <summary>
/// Get or set Default Sla Time
/// </summary>
public int? DefaultSlaTime { get; set; }
/// <summary>
/// Get or set Response Time
/// </summary>
[Display(Name = "Response(In min)")]
public int? TotalTicketLifeCycleTimeSlab { get; set; }
/// <summary>
/// Get or set Service Engineer Name
/// </summary>
public string ServiceEngineerName { get; set; }
/// <summary>
/// Get or set Dealer Name
/// </summary>
[Display(Name = "Dealer Name")]
public string DealerDealerName { get; set; }
/// <summary>
/// Get or set Dealer Contact No.
/// </summary>
[Display(Name = "Dealer Contact No.")]
public string ServiceEngineerContactNumber { get; set; }
/// <summary>
/// Get or set Custome Contact_no
/// </summary>
public string caller_language { get; set; }
/// <summary>
/// Get or set Token
/// </summary>
public String Token { get; set; }
/// <summary>
/// Get or set KAM Id
/// </summary>
public string KamId { get; set; }
/// <summary>
/// Get or set Status
/// </summary>
public string Status { get; set; }
/// <summary>
/// Get or set Message
/// </summary>
public string Message { get; set; }
/// <summary>
/// Get or set Id
/// </summary>
public string Id { get; set; }
/// <summary>
/// Get or set Description
/// </summary>
public string Description { get; set; }
/// <summary>
/// Get or set Assigned To
/// </summary>
public string AssignedTo { get; set; }
/// <summary>
/// Get or set Reported Via
/// </summary>
public string ReportedVia { get; set; }
/// <summary>
/// Get or set Ticket Status
/// </summary>
public int? TicketStatus { get; set; }
/// <summary>
/// Get or set Priority
/// </summary>
public int? Priority { get; set; }
/// <summary>
/// Get or set Cutomer Score
/// </summary>
public string CutomerScore { get; set; }
/// <summary>
/// Get or set Created By
/// </summary>
public string CreatedBy { get; set; }
/// <summary>
/// Get or set Creation Time
/// </summary>
public string CreationTime { get; set; }
/// <summary>
/// Get or set Last Modified By
/// </summary>
public string LastModifiedBy { get; set; }
/// <summary>
/// Get or set Last Modified Time
/// </summary>
public string LastModifiedTime { get; set; }
/// <summary>
/// Get or set Break Down Location
/// </summary>
public string BreakDownLocation { get; set; }
/// <summary>
/// Get or set Breack Down Longitude
/// </summary>
public string BreackDownLongitude { get; set; }
/// <summary>
/// Get or set Breack Down Latitude
/// </summary>
public string BreackDownLatitude { get; set; }
/// <summary>
/// Get or set Assigned To User Id
/// </summary>
public string AssignedToUserId { get; set; }
/// <summary>
/// Get or set Assigned To User Longitude
/// </summary>
public string AssignedToUserLongitude { get; set; }
/// <summary>
/// Get or set Assigned To User Latitude
/// </summary>
public string AssignedToUserLatitude { get; set; }
/// <summary>
/// Get or set Is Declined
/// </summary>
public Boolean? IsDeclined { get; set; }
/// <summary>
/// Get or set Estimated Time For Job Complition
/// </summary>
public int? EstimatedTimeForJobComplition { get; set; }
/// <summary>
/// Get or set Estimated Time For Job Complition Submit Time
/// </summary>
public string EstimatedTimeForJobComplitionSubmitTime { get; set; }
/// <summary>
/// Get or set Estimated Time For Job Completion Submit Time
/// </summary>
public string EstimatedTimeForJobCompletionSubmitTime { get; set; }
/// <summary>
/// Get or set Break down Location Landmark
/// </summary>
public string BreakdownLocationLandmark { get; set; }
/// <summary>
/// Get or set Activity Tickets Open Created By
/// </summary>
public string ActivityTicketsOpenCreatedBy { get; set; }
/// <summary>
/// Get or set Activity Tickets Open Creation Time
/// </summary>
public string ActivityTicketsOpenCreationTime { get; set; }
/// <summary>
/// Get or set Remarks
/// </summary>
public string Remarks { get; set; }
/// <summary>
/// Get or set Ticket Activity Status
/// </summary>
public string TicketActivityStatus { get; set; }
/// <summary>
/// Get or set Ticket Status Alias
/// </summary>
public string TicketStatusAlias { get; set; }
/// <summary>
/// Get or set Ticket Status Sequence Order
/// </summary>
public string TicketStatusSequenceOrder { get; set; }
/// <summary>
/// Get or set Ticket Status Name
/// </summary>
public string TicketStatusStatusName { get; set; }
/// <summary>
/// Get or set User Id
/// </summary>
public string UserId { get; set; }
/// <summary>
/// Get or set Auth Engine Id
/// </summary>
public string AuthEngineId { get; set; }
/// <summary>
/// Get or set User Name
/// </summary>
public string UserName { get; set; }
/// <summary>
/// Get or set Designation
/// </summary>
public string Designation { get; set; }
/// <summary>
/// Get or set Object Id
/// </summary>
public string ObjectId { get; set; }
/// <summary>
/// Get or set Organization Id
/// </summary>
public int? OrganizationId { get; set; }
/// <summary>
/// Get or set City
/// </summary>
public string City { get; set; }
/// <summary>
/// Get or set State
/// </summary>
public string State { get; set; }
/// <summary>
/// Get or set Region
/// </summary>
public string Region { get; set; }
/// <summary>
/// Get or set Language
/// </summary>
public string Language { get; set; }
/// <summary>
/// Get or set Timezone Id
/// </summary>
public Int64? TimezoneId { get; set; }
/// <summary>
/// Get or set Display Name
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Get or set Offset In Minutes
/// </summary>
public string OffsetInMinutes { get; set; }
/// <summary>
/// Get or set Display Id
/// </summary>
public string DisplayId { get; set; }
/// <summary>
/// Get or set User Organization Name
/// </summary>
public string UserOrganizationName { get; set; }
/// <summary>
/// Get or set User Organization Alias
/// </summary>
public string UserOrganizationAlias { get; set; }
/// <summary>
/// Get or set User Organization City
/// </summary>
public string UserOrganizationCity { get; set; }
/// <summary>
/// Get or set User Organization State
/// </summary>
public string UserOrganizationState { get; set; }
/// <summary>
/// Get or set User Asorganization Country
/// </summary>
public string UserAsorganizationCountry { get; set; }
/// <summary>
/// Get or set User Organization Description
/// </summary>
public string UserOrganizationDescription { get; set; }
/// <summary>
/// Get or set User Org Path
/// </summary>
public string UserOrgPath { get; set; }
/// <summary>
/// Get or set User Org Depth
/// </summary>
public string UserOrgDepth { get; set; }
/// <summary>
/// Get or set User Org Color
/// </summary>
public string UserOrgColor { get; set; }
/// <summary>
/// Get or set User Organization Region
/// </summary>
public string UserOrganizationRegion { get; set; }
/// <summary>
/// Get or set Dealer Id
/// </summary>
public string DealerId { get; set; }
/// <summary>
/// Get or set Organization Id
/// </summary>
public int? DealerOrganizationId { get; set; }
/// <summary>
/// Get or set Dealer City
/// </summary>
public string DealerCity { get; set; }
/// <summary>
/// Get or set Dealer State
/// </summary>
public string DealerState { get; set; }
/// <summary>
/// Get or set Dealer Default Lattitude
/// </summary>
public string DealerDealerDefaultLattitude { get; set; }
/// <summary>
/// Get or set Dealer Default Longitude
/// </summary>
public string DealerDealerDefaultLongitude { get; set; }
/// <summary>
/// Get or set Van Id
/// </summary>
public string VanId { get; set; }
/// <summary>
/// Get or set Van Alias
/// </summary>
public string VanAlias { get; set; }
/// <summary>
/// Get or set Van Default Lattitude
/// </summary>
public string VanVanDefaultLattitude { get; set; }
/// <summary>
/// Get or set Van Default Longitude
/// </summary>
public string VanVanDefaultLongitude { get; set; }
/// <summary>
/// Get or set Van City
/// </summary>
public string VanCity { get; set; }
/// <summary>
/// Get or set Van State
/// </summary>
public string VanState { get; set; }
/// <summary>
/// Get or set Van Model
/// </summary>
public string VanVanModel { get; set; }
/// <summary>
/// Get or set Van Registration Number
/// </summary>
public string VanRegistrationNumber { get; set; }
/// <summary>
/// Get or set Van Registered As
/// </summary>
public string VanVanRegisteredAs { get; set; }
/// <summary>
/// Get or set Organization Name
/// </summary>
public string DealerVanOrganizationName { get; set; }
/// <summary>
/// Get or set Organization Alias
/// </summary>
public string DealerVanOrganizationOrganizationAlias { get; set; }
/// <summary>
/// Get or set Organization City
/// </summary>
public string DealerVanOrganizationOrganizationCity { get; set; }
/// <summary>
/// Get or set Organization State
/// </summary>
public string DealerVanOrganizationOrganizationState { get; set; }
/// <summary>
/// Get or set Organization Country
/// </summary>
public string DealerVanOrganizationOrganizationCountry { get; set; }
/// <summary>
/// Get or set Organization Description
/// </summary>
public string DealerVanOrganizationOrganizationDescription { get; set; }
/// <summary>
/// Get or set Organization Path
/// </summary>
public string DealerVanOrganizationOrganizationPath { get; set; }
/// <summary>
/// Get or set Organization Depth
/// </summary>
public string DealerVanOrganizationOrganizationDepth { get; set; }
/// <summary>
/// Get or set Organization Color
/// </summary>
public string DealerVanOrganizationOrganizationColor { get; set; }
/// <summary>
/// Get or set Organization Region
/// </summary>
public string DealerVanOrganizationOrganizationRegion { get; set; }
/// <summary>
/// Get or set Service Engineer Id
/// </summary>
public string ServiceEngineerId { get; set; }
/// <summary>
/// Get or set Service Engineer Alias
/// </summary>
public string ServiceEngineerAlias { get; set; }
/// <summary>
/// Get or set Service Engineer Imei Number
/// </summary>
public string ServiceEngineerImeiNumber { get; set; }
/// <summary>
/// Get or set Service Engineer Application License Key
/// </summary>
public string ServiceEngineerApplicationLicenseKey { get; set; }
/// <summary>
/// Get or set Service Engineer Mobile Application Blocked
/// </summary>
public Boolean? ServiceEngineerMobileApplicationBlocked { get; set; }
/// <summary>
/// Get or set Service Engineer Device Alias
/// </summary>
public Int64? ServiceEngineerDeviceAlias { get; set; }
/// <summary>
/// Get or set Service Engineer Pin Password
/// </summary>
public string ServiceEngineerPinPassword { get; set; }
/// <summary>
/// Get or set Route Id
/// </summary>
public int? RouteId { get; set; }
/// <summary>
/// Get or set Vehicle Type
/// </summary>
public string VehicleType { get; set; }
/// <summary>
/// Get or set Repair Cost
/// </summary>
public string RepairCost { get; set; }
/// <summary>
/// Get or set Device Alias
/// </summary>
public int? DeviceAlias { get; set; }
/// <summary>
/// Get or set Iemi number
/// </summary>
public string Ieminumber { get; set; }
/// <summary>
/// Get or set Sla Missed Reason
/// </summary>
public string SlaMissedReason { get; set; }
/// <summary>
/// Get or set Suggestion Comment
/// </summary>
public string SuggestionComment { get; set; }
/// <summary>
/// Get or set Job Complete Response Time
/// </summary>
public string JobCompleteResponseTime { get; set; }
/// <summary>
/// Get or set Default Col 2
/// </summary>
public string DefaultCol2 { get; set; }
/// <summary>
/// Get or set Default Col 3
/// </summary>
public string DefaultCol3 { get; set; }
/// <summary>
/// Get or set
/// </summary>
public string EstimatedDistance { get; set; }
/// <summary>
/// Get or set Age(Ticket life cycle time creation to closed time)
/// </summary>
public double? Age { get; set; }
/// <summary>
/// Get or set Custome Contact_no
/// </summary>
public string OwnerContact_no { get; set; }
/// <summary>
/// Get or set Custome Contact_no
/// </summary>
public string CallStatus { get; set; }
/// <summary>
/// Get or set Security Token
/// </summary>
public string feedback_call_status { get; set; }
/// <summary>
/// Get or set Status
/// </summary>
public string total_count { get; set; }
/// <summary>
/// Get or set Message
/// </summary>
public string gps_status { get; set; }
/// <summary>
/// Get or set Is Deleted
/// </summary>
public bool? IsDeleted { get; set; }
}
/// <summary>
/// contains properties for customer open tickets
/// </summary>
public class DummyOpenTicketDetail
{
/// <summary>
/// Get or set extra property
/// </summary>
public Int32 DummyId { get; set; }
/// <summary>
/// Get or set ticket id
/// </summary>
public string TicketId { get; set; }
/// <summary>
/// Get or set ticket id alias
/// </summary>
public string TicketIdAlias { get; set; }
/// <summary>
/// Get or set description
/// </summary>
public string Description { get; set; }
/// <summary>
/// Get or set assigned to
/// </summary>
public string AssignedTo { get; set; }
/// <summary>
/// Get or set reported via
/// </summary>
public string ReportedVia { get; set; }
/// <summary>
/// Get or set ticket status
/// </summary>
public int? TicketStatus { get; set; }
/// <summary>
/// Get or set priority
/// </summary>
public int? Priority { get; set; }
/// <summary>
/// Get or set customer score
/// </summary>
public string CustomerScore { get; set; }
/// <summary>
/// Get or set created by
/// </summary>
public string CreatedBy { get; set; }
/// <summary>
/// Get or set creation time
/// </summary>
public string CreationTime { get; set; }
/// <summary>
/// Get or set last modified by
/// </summary>
public string LastModifiedBy { get; set; }
/// <summary>
/// Get or set last modified time
/// </summary>
public string LastModifiedTime { get; set; }
/// <summary>
/// Get or set breakdown location
/// </summary>
public string BreakdownLocation { get; set; }
/// <summary>
/// Get or set breakdown longitude
/// </summary>
public string BreakdownLongitude { get; set; }
/// <summary>
/// Get or set breakdown latitude
/// </summary>
public string BreakdownLattitude { get; set; }
/// <summary>
/// Get or set assigned to user id
/// </summary>
public string AssignedToUserId { get; set; }
/// <summary>
/// Get or set assigned to user latitude
/// </summary>
public string AssignedToUserLattitude { get; set; }
/// <summary>
/// Get or set assigned to user longitude
/// </summary>
public string AssignedToUserLongitude { get; set; }
/// <summary>
/// Get or set IsDeclined bit
/// </summary>
public Boolean? Isdeclined { get; set; }
/// <summary>
/// Get or set estimated time for job completion
/// </summary>
public int? EstimatedTimeForJobCompletion { get; set; }
/// <summary>
/// Get or set ticket life cycle time
/// </summary>
public int? TotalTicketLifecycleTimeSla { get; set; }
/// <summary>
/// Get or set estimated time for job completion submit time
/// </summary>
public string EstimatedTimeForJobCompletionSubmitTime { get; set; }
/// <summary>
/// Get or set vehicle registration number
/// </summary>
public string VehicleRegisterNumber { get; set; }
/// <summary>
/// Get or set breakdown landmark
/// </summary>
public string BreakdownLocationLandmark { get; set; }
/// <summary>
/// Get or set Breakdown state
/// </summary>
public string BreakdownLocationState { get; set; }
/// <summary>
/// Get or set Breakdown city
/// </summary>
public string BreakdownLocationCity { get; set; }
/// <summary>
/// Get or set route id
/// </summary>
public int? RouteId { get; set; }
/// <summary>
/// Get or set customer contact number
/// </summary>
public string CustomerContactNo { get; set; }
/// <summary>
/// Get or set ticket status alias
/// </summary>
public string TicketStatusAlias { get; set; }
/// <summary>
/// Get or set repair cost
/// </summary>
public string RepairCost { get; set; }
/// <summary>
/// Get or set defalut sla time
/// </summary>
public int? DefaultSlaTime { get; set; }
/// <summary>
/// Get or set sla missed reason
/// </summary>
public string SlaMissedReason { get; set; }
/// <summary>
/// Get or set suggestion comment
/// </summary>
public string SuggestionComment { get; set; }
/// <summary>
/// Get or set job complete response time
/// </summary>
public string JobCompleteResponseTime { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string DefaultCol2 { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string DefaultCol3 { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string CallerLanguage { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string Warranty { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string TollFreeNoSource { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string StateName { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string CityName { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string EstimatedDistance { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string OpportunityLoss { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string KmCovered { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string VehicleTagging { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string ReasonForMoreThan24Hours { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string CallStatus { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string SuggestionComplaint { get; set; }
/// <summary>
/// Get or set extra property
/// </summary>
public string CustomerName { get; set; }
/// <summary>
/// Get or set security token
/// </summary>
public string Token { get; set; }
/// <summary>
/// Get or set status
/// </summary>
public string Status { get; set; }
/// <summary>
/// Get or set message
/// </summary>
public string Message { get; set; }
/// <summary>
/// Get or set UTC minute
/// </summary>
public int UtcMinute { get; set; }
public string DurationTime { get; set; }
}
#endregion
#region Driver Score Report
public class EosScoreCardModel
{
public string DealerId { get; set; }
public string TicketId { get; set; }
public string TicketAlias { get; set; }
public string Description { get; set; }
public string AssignedTo { get; set; }
public string CreationTime { get; set; }
public string BreakdownLocation { get; set; }
public string AssignedToUserId { get; set; }
public string RegistrationNumber { get; set; }
public string BreakdownLocationLandmark { get; set; }
public string CustomerContactNumber { get; set; }
public string OrganizationId { get; set; }
public string DealerName { get; set; }
public string DealerCity { get; set; }
public string DealerState { get; set; }
public string DealerContactNumber { get; set; }
public string Score { get; set; }
public string RecordDate { get; set; }
public string VanId { get; set; }
public string VanAlias { get; set; }
public string VanCity { get; set; }
public string VanState { get; set; }
public string VanModel { get; set; }
public string VanRegisteredAs { get; set; }
public string OrganizationName { get; set; }
public string ServiceEngineerName { get; set; }
public string ServiceEngineerAlias { get; set; }
public string ServiceEngineerContactNumber { get; set; }
public List<dealerScoreCard> dealerScoreCard { get; set; }
}
public class TicketClosedModel
{
/// <summary>
/// Get or set Token
/// </summary>
public String Token { get; set; }
/// <summary>
/// Get or set KAM Id
/// </summary>
public string KamId { get; set; }
/// <summary>
/// Get or set ticket id alias
/// </summary>
public string TicketId_Alias { get; set; }
/// <summary>
/// Get or set Status
/// </summary>
public string Status { get; set; }
/// <summary>
/// Get or set Message
/// </summary>
public string Message { get; set; }
/// <summary>
/// Get or set Id
/// </summary>
public string Id { get; set; }
/// <summary>
/// Get or set Description
/// </summary>
public string Description { get; set; }
/// <summary>
/// Get or set Assigned To
/// </summary>
public string AssignedTo { get; set; }
/// <summary>
/// Get or set Reported Via
/// </summary>
public string ReportedVia { get; set; }
/// <summary>
/// Get or set Ticket Status
/// </summary>
public int? TicketStatus { get; set; }
/// <summary>
/// Get or set Priority
/// </summary>
public int? Priority { get; set; }
/// <summary>
/// Get or set Cutomer Score
/// </summary>
public string CutomerScore { get; set; }
/// <summary>
/// Get or set Created By
/// </summary>
public string CreatedBy { get; set; }
/// <summary>
/// Get or set Creation Time
/// </summary>
public string CreationTime { get; set; }
/// <summary>
/// Get or set Last Modified By
/// </summary>
public string LastModifiedBy { get; set; }
/// <summary>
/// Get or set Last Modified Time
/// </summary>
public string LastModifiedTime { get; set; }
/// <summary>
/// Get or set Break Down Location
/// </summary>
public string BreakDownLocation { get; set; }
/// <summary>
/// Get or set Breack Down Longitude
/// </summary>
public string BreackDownLongitude { get; set; }
/// <summary>
/// Get or set Breack Down Latitude
/// </summary>
public string BreackDownLatitude { get; set; }
/// <summary>
/// Get or set Assigned To User Id
/// </summary>
public string AssignedToUserId { get; set; }
/// <summary>
/// Get or set Assigned To User Longitude
/// </summary>
public string AssignedToUserLongitude { get; set; }
/// <summary>
/// Get or set Assigned To User Latitude
/// </summary>
public string AssignedToUserLatitude { get; set; }
/// <summary>
/// Get or set Is Declined
/// </summary>
public Boolean? IsDeclined { get; set; }
/// <summary>
/// Get or set Estimated Time For Job Complition
/// </summary>
public int? EstimatedTimeForJobComplition { get; set; }
/// <summary>
/// Get or set Total Ticket Life Cycle Time Slab
/// </summary>
public int? TotalTicketLifeCycleTimeSlab { get; set; }
/// <summary>
/// Get or set Estimated Time For Job Complition Submit Time
/// </summary>
public string EstimatedTimeForJobComplitionSubmitTime { get; set; }
/// <summary>
/// Get or set Vehicle Registration No
/// </summary>
public string VehicleRegistrationNo { get; set; }
/// <summary>
/// Get or set Estimated Time For Job Completion Submit Time
/// </summary>
public string EstimatedTimeForJobCompletionSubmitTime { get; set; }
/// <summary>
/// Get or set Break down Location Landmark
/// </summary>
public string BreakdownLocationLandmark { get; set; }
/// <summary>
/// Get or set Activity Tickets Open Created By
/// </summary>
public string ActivityTicketsOpenCreatedBy { get; set; }
/// <summary>
/// Get or set Activity Tickets Open Creation Time
/// </summary>
public string ActivityTicketsOpenCreationTime { get; set; }
/// <summary>
/// Get or set Remarks
/// </summary>
public string Remarks { get; set; }
/// <summary>
/// Get or set Ticket Activity Status
/// </summary>
public string TicketActivityStatus { get; set; }
/// <summary>
/// Get or set Ticket Status Alias
/// </summary>
public string TicketStatusAlias { get; set; }
/// <summary>
/// Get or set Ticket Status Sequence Order
/// </summary>
public string TicketStatusSequenceOrder { get; set; }
/// <summary>
/// Get or set Ticket Status Name
/// </summary>
public string TicketStatusStatusName { get; set; }
/// <summary>
/// Get or set User Id
/// </summary>
public string UserId { get; set; }
/// <summary>
/// Get or set Auth Engine Id
/// </summary>
public string AuthEngineId { get; set; }
/// <summary>
/// Get or set User Name
/// </summary>
public string UserName { get; set; }
/// <summary>
/// Get or set Designation
/// </summary>
public string Designation { get; set; }
/// <summary>
/// Get or set Object Id
/// </summary>
public string ObjectId { get; set; }
/// <summary>
/// Get or set Organization Id
/// </summary>
public int? OrganizationId { get; set; }
/// <summary>
/// Get or set City
/// </summary>
public string City { get; set; }
/// <summary>
/// Get or set State
/// </summary>
public string State { get; set; }
/// <summary>
/// Get or set Region
/// </summary>
public string Region { get; set; }
/// <summary>
/// Get or set Language
/// </summary>
public string Language { get; set; }
/// <summary>
/// Get or set Timezone Id
/// </summary>
public Int64? TimezoneId { get; set; }
/// <summary>
/// Get or set Display Name
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Get or set Offset In Minutes
/// </summary>
public string OffsetInMinutes { get; set; }
/// <summary>
/// Get or set Display Id
/// </summary>
public string DisplayId { get; set; }
/// <summary>
/// Get or set User Organization Name
/// </summary>
public string UserOrganizationName { get; set; }
/// <summary>
/// Get or set User Organization Alias
/// </summary>
public string UserOrganizationAlias { get; set; }
/// <summary>
/// Get or set User Organization City
/// </summary>
public string UserOrganizationCity { get; set; }
/// <summary>
/// Get or set User Organization State
/// </summary>
public string UserOrganizationState { get; set; }
/// <summary>
/// Get or set User Asorganization Country
/// </summary>
public string UserAsorganizationCountry { get; set; }
/// <summary>
/// Get or set User Organization Description
/// </summary>
public string UserOrganizationDescription { get; set; }
/// <summary>
/// Get or set User Org Path
/// </summary>
public string UserOrgPath { get; set; }
/// <summary>
/// Get or set User Org Depth
/// </summary>
public string UserOrgDepth { get; set; }
/// <summary>
/// Get or set User Org Color
/// </summary>
public string UserOrgColor { get; set; }
/// <summary>
/// Get or set User Organization Region
/// </summary>
public string UserOrganizationRegion { get; set; }
/// <summary>
/// Get or set Dealer Id
/// </summary>
public string DealerId { get; set; }
/// <summary>
/// Get or set Organization Id
/// </summary>
public int? DealerOrganizationId { get; set; }
/// <summary>
/// Get or set Dealer Name
/// </summary>
public string DealerDealerName { get; set; }
/// <summary>
/// Get or set Dealer City
/// </summary>
public string DealerCity { get; set; }
/// <summary>
/// Get or set Dealer State
/// </summary>
public string DealerState { get; set; }
/// <summary>
/// Get or set Dealer Default Lattitude
/// </summary>
public string DealerDealerDefaultLattitude { get; set; }
/// <summary>
/// Get or set Dealer Default Longitude
/// </summary>
public string DealerDealerDefaultLongitude { get; set; }
/// <summary>
/// Get or set Van Id
/// </summary>
public string VanId { get; set; }
/// <summary>
/// Get or set Van Alias
/// </summary>
public string VanAlias { get; set; }
/// <summary>
/// Get or set Van Default Lattitude
/// </summary>
public string VanVanDefaultLattitude { get; set; }
/// <summary>
/// Get or set Van Default Longitude
/// </summary>
public string VanVanDefaultLongitude { get; set; }
/// <summary>
/// Get or set Van City
/// </summary>
public string VanCity { get; set; }
/// <summary>
/// Get or set Van State
/// </summary>
public string VanState { get; set; }
/// <summary>
/// Get or set Van Model
/// </summary>
public string VanVanModel { get; set; }
/// <summary>
/// Get or set Van Registration Number
/// </summary>
public string VanRegistrationNumber { get; set; }
/// <summary>
/// Get or set Van Registered As
/// </summary>
public string VanVanRegisteredAs { get; set; }
/// <summary>
/// Get or set Organization Name
/// </summary>
public string DealerVanOrganizationName { get; set; }
/// <summary>
/// Get or set Organization Alias
/// </summary>
public string DealerVanOrganizationOrganizationAlias { get; set; }
/// <summary>
/// Get or set Organization City
/// </summary>
public string DealerVanOrganizationOrganizationCity { get; set; }
/// <summary>
/// Get or set Organization State
/// </summary>
public string DealerVanOrganizationOrganizationState { get; set; }
/// <summary>
/// Get or set Organization Country
/// </summary>
public string DealerVanOrganizationOrganizationCountry { get; set; }
/// <summary>
/// Get or set Organization Description
/// </summary>
public string DealerVanOrganizationOrganizationDescription { get; set; }
/// <summary>
/// Get or set Organization Path
/// </summary>
public string DealerVanOrganizationOrganizationPath { get; set; }
/// <summary>
/// Get or set Organization Depth
/// </summary>
public string DealerVanOrganizationOrganizationDepth { get; set; }
/// <summary>
/// Get or set Organization Color
/// </summary>
public string DealerVanOrganizationOrganizationColor { get; set; }
/// <summary>
/// Get or set Organization Region
/// </summary>
public string DealerVanOrganizationOrganizationRegion { get; set; }
/// <summary>
/// Get or set Service Engineer Id
/// </summary>
public string ServiceEngineerId { get; set; }
/// <summary>
/// Get or set Service Engineer Name
/// </summary>
public string ServiceEngineerName { get; set; }
/// <summary>
/// Get or set Service Engineer Alias
/// </summary>
public string ServiceEngineerAlias { get; set; }
/// <summary>
/// Get or set Service Engineer Imei Number
/// </summary>
public string ServiceEngineerImeiNumber { get; set; }
/// <summary>
/// Get or set Service Engineer Contact Number
/// </summary>
public string ServiceEngineerContactNumber { get; set; }
/// <summary>
/// Get or set Service Engineer Application License Key
/// </summary>
public string ServiceEngineerApplicationLicenseKey { get; set; }
/// <summary>
/// Get or set Service Engineer Mobile Application Blocked
/// </summary>
public Boolean? ServiceEngineerMobileApplicationBlocked { get; set; }
/// <summary>
/// Get or set Service Engineer Device Alias
/// </summary>
public Int64? ServiceEngineerDeviceAlias { get; set; }
/// <summary>
/// Get or set Service Engineer Pin Password
/// </summary>
public string ServiceEngineerPinPassword { get; set; }
/// <summary>
/// Get or set Route Id
/// </summary>
public int? RouteId { get; set; }
/// <summary>
/// Get or set Custome Contact_no
/// </summary>
public string CustomeContact_no { get; set; }
/// <summary>
/// Get or set Vehicle Type
/// </summary>
public string VehicleType { get; set; }
/// <summary>
/// Get or set Repair Cost
/// </summary>
public string RepairCost { get; set; }
/// <summary>
/// Get or set Default Sla Time
/// </summary>
public int? DefaultSlaTime { get; set; }
/// <summary>
/// Get or set Device Alias
/// </summary>
public int? DeviceAlias { get; set; }
/// <summary>
/// Get or set Iemi number
/// </summary>
public string Ieminumber { get; set; }
/// <summary>
/// Get or set Sla Missed Reason
/// </summary>
public string SlaMissedReason { get; set; }
/// <summary>
/// Get or set Suggestion Comment
/// </summary>
public string SuggestionComment { get; set; }
/// <summary>
/// Get or set Job Complete Response Time
/// </summary>
public string JobCompleteResponseTime { get; set; }
/// <summary>
/// Get or set Default Col 2
/// </summary>
public string DefaultCol2 { get; set; }
/// <summary>
/// Get or set Default Col 3
/// </summary>
public string DefaultCol3 { get; set; }
/// <summary>
/// Get or set Vehicle Tagging
/// </summary>
public string VehicleTagging { get; set; }
/// <summary>
/// Get or set Customer Name
/// </summary>
public string CustomerName { get; set; }
/// <summary>
/// Get or set
/// </summary>
public string EstimatedDistance { get; set; }
/// <summary>
/// Get or set Age(Ticket life cycle time creation to closed time)
/// </summary>
public double? Age { get; set; }
/// <summary>
/// Get or set Custome Contact_no
/// </summary>
public string OwnerContact_no { get; set; }
/// <summary>
/// Get or set Custome Contact_no
/// </summary>
public string CallStatus { get; set; }
/// <summary>
/// Get or set Custome Contact_no
/// </summary>
public string caller_language { get; set; }
/// <summary>
/// Get or set Security Token
/// </summary>
public string feedback_call_status { get; set; }
/// <summary>
/// Get or set Status
/// </summary>
public string total_count { get; set; }
/// <summary>
/// Get or set Message
/// </summary>
public string gps_status { get; set; }
/// <summary>
/// Get or set Is Deleted
/// </summary>
public bool? IsDeleted { get; set; }
public string Score { get; set; }
}
public class ScoreRequestModel
{
private List<List<string>> _score = new List<List<string>>();
private List<string> _dates = new List<string>();
private List<EosScoreCardModel> _EosScoreCardModel = new List<EosScoreCardModel>();
/// <summary>
/// Get or set Ticket Type
/// </summary>
public string ReportType { get; set; }
/// <summary>
/// Get or set Token
/// </summary>
public string Token { get; set; }
/// <summary>
/// Get or set Status
/// </summary>
public string Status { get; set; }
/// <summary>
/// Get or set Message
/// </summary>
public string Message { get; set; }
/// <summary>
/// Get or set User Id
/// </summary>
public int? UserId { get; set; }
/// <summary>
/// Get or set From Date
/// </summary>
public DateTime FromDate { get; set; }
/// <summary>
/// Get or set To Date
/// </summary>
public DateTime ToDate { get; set; }
/// <summary>
/// Get or set Limit
/// </summary>
public int? Limit { get; set; }
/// <summary>
/// Get or set OffSet
/// </summary>
public int? OffSet { get; set; }
/// <summary>
/// Get or set Ticket List
/// </summary>
public List<EosScoreCardModel> ClosedTicketList { get; set; }
/// <summary>
/// Get or set
/// </summary>
public Int64? TicketCount { get; set; }
/// <summary>
/// Get or set
/// </summary>
public string Condition { get; set; }
/// <summary>
/// Get or set
/// </summary>
public int? UtcMinute { get; set; }
/// <summary>
/// get or set Ticket Alias
/// </summary>
public string TicketAlias { get; set; }
/// <summary>
/// get or set Dealer Id
/// </summary>
public string DealerId { get; set; }
/// <summary>
/// get or set Van Id
/// </summary>
public string VanId { get; set; }
public List<List<string>> score { get { return _score; } set { _score = value; } }
public List<string> dates { get { return _dates; } set { _dates = value; } }
public List<EosScoreCardModel> EosScoreCardModel { get { return _EosScoreCardModel; } set { _EosScoreCardModel = value; } }
}
/// <summary>
/// This class contain TicketList model properties
/// </summary>
public class TicketListForScore
{
/// <summary>
/// Get or set Ticket id
/// </summary>
[Display(Name = "Ticket Id")]
public string ticketid_alias { get; set; }
/// <summary>
/// Get or set Ticket status alias
/// </summary>
[Display(Name = "Ticket Status")]
public string TicketStatusAlias { get; set; }
/// <summary>
/// Get or set creation time of ticket
/// </summary>
[Display(Name = "Ticket Creation Time")]
public string CreationTime { get; set; }
/// <summary>
/// Get or set customer name
/// </summary>
[Display(Name = "Customer Name")]
public string CustomerName { get; set; }
/// <summary>
/// Get or set Customer Contact No.
/// </summary>
[Display(Name = "Customer Contact No.")]
public string CustomeContact_no { get; set; }
/// <summary>
/// Get or set customer's vehicle registration no.
/// </summary>
public string VehicleRegistrationNo { get; set; }
/// <summary>
/// Get or set Vehicle Tagging
/// </summary>
public string VehicleTagging { get; set; }
/// <summary>
/// Get or set Default SLA Time
/// </summary>
public int DefaultSlaTime { get; set; }
/// <summary>
/// Get or set Response Time
/// </summary>
[Display(Name = "Response(In min)")]
public int? TotalTicketLifeCycleTimeSlab { get; set; }
/// <summary>
/// Get or set Service Engineer Name
/// </summary>
// [Display(Name = "Van SE Name")]
public string ServiceEngineerName { get; set; }
/// <summary>
/// Get or set Dealer Name
/// </summary>
[Display(Name = "Dealer Name")]
public string DealerDealerName { get; set; }
/// <summary>
/// Get or set Dealer Contact No.
/// </summary>
[Display(Name = "Dealer Contact No.")]
public string ServiceEngineerContactNumber { get; set; }
public string caller_language { get; set; }
/// <summary>
/// Get or set default column
/// </summary>
public string DefaultCol2 { get; set; }
/// <summary>
/// Get or set Security Token
/// </summary>
public string feedback_call_status { get; set; }
/// <summary>
/// Get or set Status
/// </summary>
public string total_count { get; set; }
/// <summary>
/// Get or set Message
/// </summary>
public string gps_status { get; set; }
/// <summary>
/// Get or set Security Token
/// </summary>
public string Token { get; set; }
/// <summary>
/// Get or set Status
/// </summary>
public string Status { get; set; }
/// <summary>
/// Get or set Message
/// </summary>
public string Message { get; set; }
/// <summary>
/// Get or set Description
/// </summary>
public string Description { get; set; }
/// <summary>
/// Get or set ticket assigned to (van/dealer)
/// </summary>
public string AssignedTo { get; set; }
/// <summary>
/// Get or set Reported bu which user
/// </summary>
public string ReportedVia { get; set; }
/// <summary>
/// Get or set Ticket status
/// </summary>
public string TicketStatus { get; set; }
/// <summary>
/// Get or set priority
/// </summary>
public string Priority { get; set; }
/// <summary>
/// Get or set customer score
/// </summary>
public string CutomerScore { get; set; }
/// <summary>
/// Get or set created by which user
/// </summary>
public string CreatedBy { get; set; }
/// <summary>
/// Get or set last modified by which user
/// </summary>
public string LastModifiedBy { get; set; }
/// <summary>
/// Get or set last modified time
/// </summary>
public string LastModifiedTime { get; set; }
/// <summary>
/// Get or set breakdown location
/// </summary>
public string BreakDownLocation { get; set; }
/// <summary>
/// Get or set breakdown longitude
/// </summary>
public string BreackDownLongitude { get; set; }
/// <summary>
/// Get or set breakdown latitude
/// </summary>
public string BreackDownLatitude { get; set; }
/// <summary>
/// Get or set assigned to van/dealer id
/// </summary>
public string AssignedToUserId { get; set; }
/// <summary>
/// Get or set assigned van/dealer longitude
/// </summary>
public string AssignedToUserLongitude { get; set; }
/// <summary>
/// Get or set assigned van/dealer latitude
/// </summary>
public string AssignedToUserLatitude { get; set; }
/// <summary>
/// Get or set is declined bit
/// </summary>
public string IsDeclined { get; set; }
/// <summary>
/// Get or set Estimated Time For Job Completion
/// </summary>
public string EstimatedTimeForJobComplition { get; set; }
/// <summary>
/// Get or set submit time
/// </summary>
public string EstimatedTimeForJobComplitionSubmitTime { get; set; }
/// <summary>
/// Get or set submit time
/// </summary>
public string EstimatedTimeForJobCompletionSubmitTime { get; set; }
/// <summary>
/// Get or set breakdown location landmark
/// </summary>
public string BreakdownLocationLandmark { get; set; }
/// <summary>
/// Get or set open ticket activity created by
/// </summary>
public string ActivityTicketsOpenCreatedBy { get; set; }
/// <summary>
/// Get or set open ticket activity creation time
/// </summary>
public string ActivityTicketsOpenCreationTime { get; set; }
/// <summary>
/// Get or set remarks
/// </summary>
public string Remarks { get; set; }
/// <summary>
/// Get or set Ticket activity status
/// </summary>
public string TicketActivityStatus { get; set; }
/// <summary>
/// Get or set Ticket status sequence for activity
/// </summary>
public string TicketStatusSequenceOrder { get; set; }
/// <summary>
/// Get or set Ticket status name
/// </summary>
public string TicketStatusStatusName { get; set; }
/// <summary>
/// Get or set user id
/// </summary>
public string UserId { get; set; }
/// <summary>
/// Get or set auth engine id/email id
/// </summary>
public string AuthEngineId { get; set; }
/// <summary>
/// Get or set User name
/// </summary>
public string UserName { get; set; }
/// <summary>
/// Get or set Designation
/// </summary>
public string Designation { get; set; }
/// <summary>
/// Get or set Object Id
/// </summary>
public string ObjectId { get; set; }
/// <summary>
/// Get or set Organization Id
/// </summary>
public string OrganizationId { get; set; }
/// <summary>
/// Get or set City
/// </summary>
public string City { get; set; }
/// <summary>
/// Get or set State
/// </summary>
public string State { get; set; }
/// <summary>
/// Get or set Region
/// </summary>
public string Region { get; set; }
/// <summary>
/// Get or set Language
/// </summary>
public string Language { get; set; }
/// <summary>
/// Get or set Time Zone ID
/// </summary>
public string TimezoneId { get; set; }
/// <summary>
/// Get or set display name
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Get or set off set minutes for server side paging
/// </summary>
public string OffsetInMinutes { get; set; }
/// <summary>
/// Get or set Display Id
/// </summary>
public string DisplayId { get; set; }
/// <summary>
/// Get or set User Organization Name
/// </summary>
public string UserOrganizationName { get; set; }
/// <summary>
/// Get or set User Organization Alias
/// </summary>
public string UserOrganizationAlias { get; set; }
/// <summary>
/// Get or set User Organization City
/// </summary>
public string UserOrganizationCity { get; set; }
/// <summary>
/// Get or set User Organization State
/// </summary>
public string UserOrganizationState { get; set; }
/// <summary>
/// Get or set User Organization Country
/// </summary>
public string UserAsorganizationCountry { get; set; }
/// <summary>
/// Get or set User Organization Description
/// </summary>
public string UserOrganizationDescription { get; set; }
/// <summary>
/// Get or set User Organization Path
/// </summary>
public string UserOrgPath { get; set; }
/// <summary>
/// Get or set User Organization Depth (Levels)
/// </summary>
public string UserOrgDepth { get; set; }
/// <summary>
/// Get or set User Organization Color code
/// </summary>
public string UserOrgColor { get; set; }
/// <summary>
/// Get or set User Organization Region
/// </summary>
public string UserOrganizationRegion { get; set; }
/// <summary>
/// Get or set Dealer Id
/// </summary>
public string DealerId { get; set; }
/// <summary>
/// Get or set Dealer Organization Id
/// </summary>
public string DealerOrganizationId { get; set; }
/// <summary>
/// Get or set Dealer City
/// </summary>
public string DealerCity { get; set; }
/// <summary>
/// Get or set Dealer State
/// </summary>
public string DealerState { get; set; }
/// <summary>
/// Get or set Dealer Default latitude
/// </summary>
public string DealerDealerDefaultLattitude { get; set; }
/// <summary>
/// Get or set Dealer Default longitude
/// </summary>
public string DealerDealerDefaultLongitude { get; set; }
/// <summary>
/// Get or set van id
/// </summary>
public string VanId { get; set; }
/// <summary>
/// Get or set van alias
/// </summary>
public string VanAlias { get; set; }
/// <summary>
/// Get or set van Default latitude
/// </summary>
public string VanVanDefaultLattitude { get; set; }
/// <summary>
/// Get or set van Default longitude
/// </summary>
public string VanVanDefaultLongitude { get; set; }
/// <summary>
/// Get or set van city
/// </summary>
public string VanCity { get; set; }
/// <summary>
/// Get or set van state
/// </summary>
public string VanState { get; set; }
/// <summary>
/// Get or set van model
/// </summary>
public string VanVanModel { get; set; }
/// <summary>
/// Get or set van registration no.
/// </summary>
public string VanRegistrationNumber { get; set; }
/// <summary>
/// Get or set van registration no.
/// </summary>
public string VanVanRegisteredAs { get; set; }
/// <summary>
/// Get or set van/dealer organization name
/// </summary>
public string DealerVanOrganizationName { get; set; }
/// <summary>
/// Get or set van/dealer organization alias
/// </summary>
public string DealerVanOrganizationOrganizationAlias { get; set; }
/// <summary>
/// Get or set van/dealer organization city
/// </summary>
public string DealerVanOrganizationOrganizationCity { get; set; }
/// <summary>
/// Get or set van/dealer organization state
/// </summary>
public string DealerVanOrganizationOrganizationState { get; set; }
/// <summary>
/// Get or set van/dealer organization country
/// </summary>
public string DealerVanOrganizationOrganizationCountry { get; set; }
/// <summary>
/// Get or set van/dealer organization description
/// </summary>
public string DealerVanOrganizationOrganizationDescription { get; set; }
/// <summary>
/// Get or set van/dealer organization path
/// </summary>
public string DealerVanOrganizationOrganizationPath { get; set; }
/// <summary>
/// Get or set van/dealer organization depth
/// </summary>
public string DealerVanOrganizationOrganizationDepth { get; set; }
/// <summary>
/// Get or set van/dealer organization color code
/// </summary>
public string DealerVanOrganizationOrganizationColor { get; set; }
/// <summary>
/// Get or set van/dealer organization region
/// </summary>
public string DealerVanOrganizationOrganizationRegion { get; set; }
/// <summary>
/// Get or set service engineer id
/// </summary>
public string ServiceEngineerId { get; set; }
/// <summary>
/// Get or set service engineer alias
/// </summary>
public string ServiceEngineerAlias { get; set; }
/// <summary>
/// Get or set service engineer imei no.
/// </summary>
public string ServiceEngineerImeiNumber { get; set; }
/// <summary>
/// Get or set service engineer license key
/// </summary>
public string ServiceEngineerApplicationLicenseKey { get; set; }
/// <summary>
/// Get or set service engineer Mobile Application Blocked (true/false)
/// </summary>
public string ServiceEngineerMobileApplicationBlocked { get; set; }
/// <summary>
/// Get or set service engineer device alias
/// </summary>
public string ServiceEngineerDeviceAlias { get; set; }
/// <summary>
/// Get or set service engineer pin password
/// </summary>
public string ServiceEngineerPinPassword { get; set; }
/// <summary>
/// Get or set route id
/// </summary>
public string RouteId { get; set; }
/// <summary>
/// Get or set vehicle type
/// </summary>
public string VehicleType { get; set; }
/// <summary>
/// Get or set repair cost
/// </summary>
public string RepairCost { get; set; }
/// <summary>
/// Get or set device alias
/// </summary>
public string DeviceAlias { get; set; }
/// <summary>
/// Get or set imei no.
/// </summary>
public string Ieminumber { get; set; }
/// <summary>
/// Get or set SLA missed reason
/// </summary>
public string SlaMissedReason { get; set; }
/// <summary>
/// Get or set suggestion comment
/// </summary>
public string SuggestionComment { get; set; }
/// <summary>
/// Get or set Job Complete Response Time
/// </summary>
public string JobCompleteResponseTime { get; set; }
/// <summary>
/// Get or set default column
/// </summary>
public string DefaultCol3 { get; set; }
// public string CustomerName { get; set; }
/// <summary>
/// Get or set Estimated Distance
/// </summary>
public string EstimatedDistance { get; set; }
/// <summary>
/// Get or set age
/// </summary>
public double? Age { get; set; }
public string CallStatus { get; set; }
public string Id { get; set; }
public string Score { get; set; }
}
/// <summary>
/// Contains properties for Previous Year Eos Feedback Rating
/// </summary>
public class dealerScoreCard
{
public object RecordDate { get; set; }
public object Score { get; set; }
}
public class dealerScoreCardScore
{
public string Score { get; set; }
}
public class dealerScoreCardDate
{
public string RecordDate { get; set; }
}
#endregion
//------- added on 09-03-2021 start --------------------
public class CancelledDraftTicketReportModel
{
public string Token { get; set; }
public string Status { get; set; }
public string Message { get; set; }
public List<CancelledDraftTicketModel> CancelledDraftTicketList { get; set; }
}
public class CancelledDraftTicketModel
{
public string Token { get; set; }
public string Message { get; set; }
public int UtcMinute { get; set; }
public int DraftTicketId { get; set; }
public string VehicleRegistrationNumber { get; set; }
public string ChassisNumber { get; set; }
public string Comments { get; set; }
public string ContactNumber { get; set; }
public string DriverName { get; set; }
public bool? KamUser { get; set; }
public DateTime CreationTime { get; set; }
public string TollFreeNoSource { get; set; }
public string TicketCancelReason { get; set; }
public string TicketCancelRemark { get; set; }
}
//------- added on 09-03-2021 end ----------------------
}