1366 lines
39 KiB
C#
1366 lines
39 KiB
C#
#region Namespaces
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using VECV_WebApi.Models.EmailServices;
|
|
|
|
#endregion
|
|
|
|
namespace VECV_WebApi.Models.Dealer
|
|
{
|
|
#region Model Classes
|
|
|
|
/// <summary>
|
|
/// This class contain dealer open ticket properties.
|
|
/// </summary>
|
|
///
|
|
|
|
public class TiatnResponseModel
|
|
{
|
|
|
|
/// <summary>
|
|
/// get or set User Id
|
|
/// </summary>
|
|
public string DealerCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set
|
|
/// </summary>
|
|
public double UtcMinute { get; set; }
|
|
/// <summary>
|
|
/// get or set User Id
|
|
/// </summary>
|
|
public string Count { get; set; }
|
|
|
|
/// <summary>
|
|
/// get or set User Id
|
|
/// </summary>
|
|
public string istitan { 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; }
|
|
}
|
|
public class TitanTicketDealerModel
|
|
{
|
|
/// <summary>
|
|
/// Get or set
|
|
/// </summary>
|
|
public int? UtcMinute { get; set; }
|
|
public object UserId { get; set; }
|
|
public string TicketIdAlias { get; set; }
|
|
public string TicketId { get; set; }
|
|
public string Description { get; set; }
|
|
public string AssignedTo { get; set; }
|
|
public object ReportedVia { get; set; }
|
|
public int TicketStatus { get; set; }
|
|
public int Priority { get; set; }
|
|
public object CustomerScore { get; set; }
|
|
public string CreatedBy { get; set; }
|
|
public string CreationTime { get; set; }
|
|
public string LastModifiedBy { get; set; }
|
|
public string LastModifiedTime { get; set; }
|
|
public string BreakdownLocation { get; set; }
|
|
public string DreakdownLongitude { get; set; }
|
|
public string BreakdownLattitude { get; set; }
|
|
public string AssignedToUserId { get; set; }
|
|
public string AssignedToUserLattitude { get; set; }
|
|
public string AssignedToUserLongitude { get; set; }
|
|
|
|
|
|
public bool Isdeclined { get; set; }
|
|
public int EstimatedTimeForJobCompletion { get; set; }
|
|
public int? TotalTicketLifecycleTimeSla { get; set; }
|
|
public string EstimatedTimeForJobCompletionSubmitTime { get; set; }
|
|
public string VehicleRegisterNumber { get; set; }
|
|
public object BreakdownLocationLandmark { get; set; }
|
|
public int RouteId { get; set; }
|
|
public string CustomerContactNo { get; set; }
|
|
public object RepairCost { get; set; }
|
|
public int DefaultSlTtime { get; set; }
|
|
public object SlaMissedReason { get; set; }
|
|
public string SuggestionComment { get; set; }
|
|
public string TicketStatusAlias { get; set; }
|
|
public object JobCompleteResponseTime { get; set; }
|
|
public object DefaultCol2 { get; set; }
|
|
public object DefaultCol3 { get; set; }
|
|
|
|
public object Token { get; set; }
|
|
public object Status { get; set; }
|
|
public object Message { get; set; }
|
|
public string TollFreeNoSource { get; set; }
|
|
}
|
|
|
|
public class TiatnAllocationModel
|
|
{
|
|
|
|
/// <summary>
|
|
/// get or set User Id
|
|
/// </summary>
|
|
public string DealerCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// get or set User Id
|
|
/// </summary>
|
|
public string ticketid_alias { 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; }
|
|
}
|
|
public class DealerOpenTicketDetailModel
|
|
{
|
|
/// <summary>
|
|
/// get or set User Id
|
|
/// </summary>
|
|
public string UserId { 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 AssignedTo
|
|
/// </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 LastModified By
|
|
/// </summary>
|
|
public string LastModifiedBy { get; set; }
|
|
/// <summary>
|
|
/// get or set LastModified Time
|
|
/// </summary>
|
|
public string LastModifiedTime { get; set; }
|
|
/// <summary>
|
|
/// get or set Breakdown Location
|
|
/// </summary>
|
|
public string BreakdownLocation { get; set; }
|
|
/// <summary>
|
|
/// get or set Dreakdown Longitude
|
|
/// </summary>
|
|
public string DreakdownLongitude { get; set; }
|
|
/// <summary>
|
|
/// get or set Breakdown Lattitude
|
|
/// </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 Lattitude
|
|
/// </summary>
|
|
public string AssignedToUserLattitude { get; set; }
|
|
/// <summary>
|
|
/// get or set Assigned To User Longitude
|
|
/// </summary>
|
|
public string AssignedToUserLongitude { get; set; }
|
|
/// <summary>
|
|
/// get or set Is declined (job rejected by eos team member)
|
|
/// </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 Total Ticket Lifecycle Time Sla
|
|
/// </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 Register Number
|
|
/// </summary>
|
|
public string VehicleRegisterNumber { get; set; }
|
|
/// <summary>
|
|
/// get or set Breakdown Location Landmark
|
|
/// </summary>
|
|
public string BreakdownLocationLandmark { get; set; }
|
|
/// <summary>
|
|
/// get or set Route Id
|
|
/// </summary>
|
|
public int? RouteId { get; set; }
|
|
/// <summary>
|
|
/// get or set Customer Contact No
|
|
/// </summary>
|
|
public string CustomerContactNo { get; set; }
|
|
/// <summary>
|
|
/// get or set Repair Cost
|
|
/// </summary>
|
|
public string RepairCost { get; set; }
|
|
/// <summary>
|
|
/// get or set DefaultSl Ttime
|
|
/// </summary>
|
|
public int? DefaultSlTtime { 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 Ticket Status Alias
|
|
/// </summary>
|
|
public string TicketStatusAlias { get; set; }
|
|
/// <summary>
|
|
/// get or set Job Complete Response Time
|
|
/// </summary>
|
|
public string JobCompleteResponseTime { get; set; }
|
|
/// <summary>
|
|
/// get or set Type of load carrying
|
|
/// </summary>
|
|
public string DefaultCol2 { get; set; }
|
|
/// <summary>
|
|
/// get or set Direction of vechicle
|
|
/// </summary>
|
|
public string DefaultCol3 { get; set; }
|
|
/// <summary>
|
|
/// get or set Utc Minute
|
|
/// </summary>
|
|
public int UtcMinute { 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 toll free number source
|
|
/// </summary>
|
|
public string TollFreeNoSource { get; set; }
|
|
|
|
public string DealerCodes { get; set; }
|
|
public string MobileNumber { get; set; }
|
|
public string DealerName { get; set; }
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// This class contain dealer closed ticket properties.
|
|
/// </summary>
|
|
public class DealerCloseTicketDetailModel
|
|
{
|
|
/// <summary>
|
|
/// get or set User Id
|
|
/// </summary>
|
|
public string UserId { get; set; }
|
|
/// <summary>
|
|
/// get or set Ticket Id
|
|
/// </summary>
|
|
public string TicketId { get; set; }
|
|
/// <summary>
|
|
/// get or set Ticket Id
|
|
/// </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 CreatedBy
|
|
/// </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 Dreakdown Longitude
|
|
/// </summary>
|
|
public string DreakdownLongitude { get; set; }
|
|
/// <summary>
|
|
/// get or set Breakdown Lattitude
|
|
/// </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 Lattitude
|
|
/// </summary>
|
|
public string AssignedToUserLattitude { get; set; }
|
|
/// <summary>
|
|
/// get or set Assigned To User Longitude
|
|
/// </summary>
|
|
public string AssignedToUserLongitude { get; set; }
|
|
/// <summary>
|
|
/// get or set Is declined
|
|
/// </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 Total Ticket Lifecycle TimeSla
|
|
/// </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 Register Number
|
|
/// </summary>
|
|
public string VehicleRegisterNumber { get; set; }
|
|
/// <summary>
|
|
/// get or set Breakdown Location Landmark
|
|
/// </summary>
|
|
public string BreakdownLocationLandmark { get; set; }
|
|
/// <summary>
|
|
/// get or set Route Id
|
|
/// </summary>
|
|
public int? RouteId { get; set; }
|
|
/// <summary>
|
|
/// get or set Customer Contact No
|
|
/// </summary>
|
|
public string CustomerContactNo { get; set; }
|
|
/// <summary>
|
|
/// get or set Repair Cost
|
|
/// </summary>
|
|
public string RepairCost { get; set; }
|
|
/// <summary>
|
|
/// get or set Default Sla Ttime
|
|
/// </summary>
|
|
public int? DefaultSlTtime { get; set; }
|
|
/// <summary>
|
|
/// get or set SlaMissed Reason
|
|
/// </summary>
|
|
public string SlaMissedReason { get; set; }
|
|
/// <summary>
|
|
/// get or set Suggestion Comment
|
|
/// </summary>
|
|
public string SuggestionComment { get; set; }
|
|
/// <summary>
|
|
/// get or set Ticket Status Alias
|
|
/// </summary>
|
|
public string TicketStatusAlias { get; set; }
|
|
/// <summary>
|
|
/// get or set Job Complete Response Time
|
|
/// </summary>
|
|
public string JobCompleteResponseTime { get; set; }
|
|
/// <summary>
|
|
/// get or set type of load carying
|
|
/// </summary>
|
|
public string DefaultCol2 { get; set; }
|
|
/// <summary>
|
|
/// get or set Direction of vechicle
|
|
/// </summary>
|
|
public string DefaultCol3 { get; set; }
|
|
/// <summary>
|
|
/// get or set Utc Minute
|
|
/// </summary>
|
|
public int UtcMinute { 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 toll free number source
|
|
/// </summary>
|
|
public string TollFreeNoSource { get; set; }
|
|
}
|
|
/// <summary>
|
|
/// This class contain dealer ticket notifiaction properties.
|
|
/// </summary>
|
|
public class DealerNortificationModel
|
|
{
|
|
/// <summary>
|
|
/// get or set User Id
|
|
/// </summary>
|
|
public int? UserId { 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 Ticket Status
|
|
/// </summary>
|
|
public Int32? TicketStatus { get; set; }
|
|
/// <summary>
|
|
/// get or set Ticket Status Alias
|
|
/// </summary>
|
|
public string TicketStatusAlias { get; set; }
|
|
/// <summary>
|
|
/// get or set Notification Time
|
|
/// </summary>
|
|
public string NotificationTime { get; set; }
|
|
/// <summary>
|
|
/// get or set Utc Minute
|
|
/// </summary>
|
|
public int UtcMinute { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer Name
|
|
/// </summary>
|
|
public string DealerDealerName { get; set; }
|
|
/// <summary>
|
|
/// get or set VanId
|
|
/// </summary>
|
|
public string VanId { get; set; }
|
|
/// <summary>
|
|
/// get or set Van Registration Number
|
|
/// </summary>
|
|
public string VanRegistrationNumber { get; set; }
|
|
/// <summary>
|
|
/// get or set Service Engineer Name
|
|
/// </summary>
|
|
public string ServiceEngineerName { get; set; }
|
|
/// <summary>
|
|
/// get or set CreatedBy
|
|
/// </summary>
|
|
public string CreatedBy { 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 AssignedTo
|
|
/// </summary>
|
|
public string AssignedTo { get; set; }
|
|
/// <summary>
|
|
/// get or set Creation Time
|
|
/// </summary>
|
|
public string CreationTime { get; set; }
|
|
/// <summary>
|
|
/// get or set Notification Id
|
|
/// </summary>
|
|
public Int64? NotificationId { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// This class contain Dealer Detail Properties
|
|
/// </summary>
|
|
public class DealerDetailModel : DealerModel
|
|
{
|
|
/// <summary>
|
|
/// Get or set Token
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Id
|
|
/// </summary>
|
|
public int OrganizationId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Name
|
|
/// </summary>
|
|
public string OrganizationName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization alias
|
|
/// </summary>
|
|
public string OrganizationAlias { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization city
|
|
/// </summary>
|
|
public string OrganizationCity { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization state
|
|
/// </summary>
|
|
public string OrganizationState { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization country
|
|
/// </summary>
|
|
public string OrganizationCountry { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization description
|
|
/// </summary>
|
|
public string OrganizationDescription { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization path
|
|
/// </summary>
|
|
public string OrganizationPath { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization deoth
|
|
/// </summary>
|
|
public string OrganizationDepth { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization color
|
|
/// </summary>
|
|
public string OrganizationColor { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization region
|
|
/// </summary>
|
|
public string OrganizationRegion { get; set; }
|
|
|
|
public string Operation { get; set; }
|
|
|
|
public Boolean? IsDealerDeleted { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// Get or set Van list
|
|
/// </summary>
|
|
public List<VanDetailModel> VanList { get; set; }
|
|
|
|
/// <summary>
|
|
/// get or set principle dealer name
|
|
/// </summary>
|
|
public string PrincipalDealerName { get; set; }
|
|
|
|
/// <summary>
|
|
/// get or set user name
|
|
/// </summary>
|
|
public string UserName { get; set; }
|
|
|
|
/// <summary>
|
|
/// get or set designation / role
|
|
/// </summary>
|
|
public string Designation { get; set; }
|
|
|
|
/// <summary>
|
|
/// get or set is principle dealer or not
|
|
/// </summary>
|
|
public string IsParent { get; set; }
|
|
|
|
/// <summary>
|
|
/// get or set delaer child list
|
|
/// </summary>
|
|
public string DealerChildList { get; set; }
|
|
|
|
/// <summary>
|
|
/// get or set timezone id
|
|
/// </summary>
|
|
public string TimeZoneId { get; set; }
|
|
public string IMEI { get; set; }
|
|
/// <summary>
|
|
/// Get or set principal-dealer/child dealership list
|
|
/// </summary>
|
|
public List<DealerChildPrincipalModel> DealerChildPrincipalList { get; set; }
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// class contains all the properties for child/principal dealer
|
|
/// </summary>
|
|
public class DealerChildPrincipalModel
|
|
{
|
|
/// <summary>
|
|
/// get or set delaer 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 name
|
|
/// </summary>
|
|
public string DealerName { 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 delaer lattitude
|
|
/// </summary>
|
|
public string DealerLatitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// get or ste dealer longitude
|
|
/// </summary>
|
|
public string DealerLongitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// get or set delaer contact first
|
|
/// </summary>
|
|
public string DealerContact1 { get; set; }
|
|
|
|
/// <summary>
|
|
/// get or set dealer contact second
|
|
/// </summary>
|
|
public string DealerContact2 { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// This classs contain van detail properties
|
|
/// </summary>
|
|
public class VanDetailModel
|
|
{
|
|
/// <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 VanDefaultLatitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Van Default Longitude
|
|
/// </summary>
|
|
public string VanDefaultLongitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Van Model
|
|
/// </summary>
|
|
public string VanModelName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Van Registration Number
|
|
/// </summary>
|
|
public string VanRegistrationNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// Get or set Van registered as
|
|
/// </summary>
|
|
public string VanregisteredAs { 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 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
|
|
/// </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 allication 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 Service Engineer Van Id
|
|
/// </summary>
|
|
public string ServiceEngineerVanVanId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Service Engineer
|
|
/// </summary>
|
|
public string ServiceEngineerVanServiceEngineerId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Van move inter state or not
|
|
/// </summary>
|
|
public bool? VanIsVisitedInterState { get; set; }
|
|
|
|
public Boolean? IsDeletedVan { get; set; }
|
|
|
|
|
|
public Boolean? IsDeletedServiceEngg { get; set; }
|
|
public bool IsVanRelease { get; set; }
|
|
/// <summary>
|
|
/// Get or set van route id
|
|
/// </summary>
|
|
public int? VanRoutId { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// This class contain dealer details properties.
|
|
/// </summary>
|
|
public class DealerModelList
|
|
{
|
|
public int? Id { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer Id
|
|
/// </summary>
|
|
public string DealerId { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer 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 Defaul tLattitude
|
|
/// </summary>
|
|
public string DealerDealerDefaultLattitude { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer Default Longitude
|
|
/// </summary>
|
|
public string DealerDealerDefaultLongitude { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer Contact No
|
|
/// </summary>
|
|
public string DealerContactNo { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer Contact No2
|
|
/// </summary>
|
|
public string DealerContactNo2 { get; set; }
|
|
/// <summary>
|
|
/// get or set Status
|
|
/// </summary>
|
|
public string Status { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer Org Name
|
|
/// </summary>
|
|
public string DealerOrgName { get; set; }
|
|
/// <summary>
|
|
/// get or set Org Path
|
|
/// </summary>
|
|
public string OrgPath { get; set; }
|
|
/// <summary>
|
|
/// get or set Region
|
|
/// </summary>
|
|
public string Region { get; set; }
|
|
/// <summary>
|
|
/// get or set Is Deleted Dealer
|
|
/// </summary>
|
|
public bool? IsDeleted { get; set; }
|
|
/// <summary>
|
|
/// get or set Message
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
/// <summary>
|
|
/// get or set Token
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
|
|
}
|
|
|
|
public class DealerInputModel
|
|
{
|
|
public string DealerCode { get; set; }
|
|
public string Token { get; set; }
|
|
}
|
|
public class DealerOutputModel
|
|
{
|
|
public string Message { get; set; }
|
|
public string Status { get; set; }
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// This class contain Dealer position properties
|
|
/// </summary>
|
|
public class GetDealerPositionModel
|
|
{
|
|
/// <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 Region
|
|
/// </summary>
|
|
public string RegionId { 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 Dealer Id
|
|
/// </summary>
|
|
public string DealerId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Sla Id
|
|
/// </summary>
|
|
public Int64 SlaId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set van position list
|
|
/// </summary>
|
|
public List<DealerPositionModel> DealerList { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set van list json
|
|
/// </summary>
|
|
public string DealerListJson { get; set; }
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// This class contain Dealer properties
|
|
/// </summary>
|
|
public class DealerPositionModel
|
|
{
|
|
/// <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 Dealer Id
|
|
/// </summary>
|
|
public string DealerId { 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 DealerDefaultLatitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Dealer Default Longitude
|
|
/// </summary>
|
|
public string DealerDefaultLongitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Van Model
|
|
/// </summary>
|
|
public string VanModelName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Van Registration Number
|
|
/// </summary>
|
|
public string VanRegistrationNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Van Id
|
|
/// </summary>
|
|
public string VanId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Name
|
|
/// </summary>
|
|
public string OrganizationName { get; set; }
|
|
|
|
public Int32? OrganizationId { get; set; }
|
|
|
|
public string OrganizationAlias { get; set; }
|
|
|
|
public string OrganizationCity { get; set; }
|
|
|
|
public string OrganizationState { get; set; }
|
|
|
|
public string OrganizationCountry { get; set; }
|
|
|
|
public string OrganizationDepth { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Path
|
|
/// </summary>
|
|
public string OrganizationPath { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set dealer name
|
|
/// </summary>
|
|
public string DealerName { get; set; }
|
|
}
|
|
|
|
|
|
|
|
#region dealer list for dealer wise dashboard
|
|
|
|
/// <summary>
|
|
/// This class contain dealer details properties for dealer wise dashboard.
|
|
/// </summary>
|
|
public class DealerUserIdList
|
|
{
|
|
public int? Id { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer Id
|
|
/// </summary>
|
|
public string DealerId { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer 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 Defaul tLattitude
|
|
/// </summary>
|
|
public string DealerDealerDefaultLattitude { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer Default Longitude
|
|
/// </summary>
|
|
public string DealerDealerDefaultLongitude { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer Contact No
|
|
/// </summary>
|
|
public string DealerContactNo { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer Contact No2
|
|
/// </summary>
|
|
public string DealerContactNo2 { get; set; }
|
|
/// <summary>
|
|
/// get or set Status
|
|
/// </summary>
|
|
public string Status { get; set; }
|
|
/// <summary>
|
|
/// get or set Dealer Org Name
|
|
/// </summary>
|
|
public string DealerOrgName { get; set; }
|
|
/// <summary>
|
|
/// get or set Org Path
|
|
/// </summary>
|
|
public string OrgPath { get; set; }
|
|
/// <summary>
|
|
/// get or set Region
|
|
/// </summary>
|
|
public string Region { get; set; }
|
|
/// <summary>
|
|
/// get or set Is Deleted Dealer
|
|
/// </summary>
|
|
public bool? IsDeleted { get; set; }
|
|
/// <summary>
|
|
/// get or set Message
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
/// <summary>
|
|
/// get or set Token
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
/// <summary>
|
|
/// get or set Is Deleted Dealer
|
|
/// </summary>
|
|
public Int64? dealer_user_id { get; set; }
|
|
/// <summary>
|
|
/// get or set Message
|
|
/// </summary>
|
|
public string dealer_first_name { get; set; }
|
|
/// <summary>
|
|
/// get or set Token
|
|
/// </summary>
|
|
public string dealer_last_name { get; set; }
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
/// <summary>
|
|
/// contains properties for dealers own van list
|
|
/// </summary>
|
|
public class DealerVanListStateWise
|
|
{
|
|
/// <summary>
|
|
/// Get or set user id
|
|
/// </summary>
|
|
public int? UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set state name
|
|
/// </summary>
|
|
public string StateName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set limit
|
|
/// </summary>
|
|
public string Limit { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set dealer van id
|
|
/// </summary>
|
|
public string DealerSCode { get; set; }
|
|
/// <summary>
|
|
/// Get or set dealer van id
|
|
/// </summary>
|
|
public string DealerOrVanContactNo { get; set; }
|
|
/// <summary>
|
|
/// Get or set dealer van id
|
|
/// </summary>
|
|
public string DealerVanId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set dealer van name
|
|
/// </summary>
|
|
public string DealerVanName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set dealer van latitude
|
|
/// </summary>
|
|
public string DealerVanLattitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set dealer van longitude
|
|
/// </summary>
|
|
public string DealerVanLongitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set dealer van city
|
|
/// </summary>
|
|
public string DealerVanCity { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set dealer van state
|
|
/// </summary>
|
|
public string DealerVanState { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set device alias
|
|
/// </summary>
|
|
public string DeviceAlias { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set no. of assigned ticket
|
|
/// </summary>
|
|
public Int64? NoOfAssignedTicket { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set remaining time
|
|
/// </summary>
|
|
public string RemainingTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set type
|
|
/// </summary>
|
|
public string Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set device status
|
|
/// </summary>
|
|
public string DeviceStatus { 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; }
|
|
|
|
/// <summary>
|
|
/// Get or set DealerId
|
|
/// </summary>
|
|
public string DealerId { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// This class contain image activity properties
|
|
/// </summary>
|
|
public class TrackingModel
|
|
{
|
|
/// <summary>
|
|
/// Get or set Log id
|
|
/// </summary>
|
|
public int LogId { get; set; }
|
|
/// <summary>
|
|
/// Get or set device id of device or user
|
|
/// </summary>
|
|
public string DeviceAlias { get; set; }
|
|
/// <summary>
|
|
/// Get or set latitude value
|
|
/// </summary>
|
|
public string Latitude { get; set; }
|
|
/// <summary>
|
|
/// Get or set logitude value
|
|
/// </summary>
|
|
public string Longitude { get; set; }
|
|
/// <summary>
|
|
/// Get or set log time
|
|
/// </summary>
|
|
public string LogTime { get; set; }
|
|
/// <summary>
|
|
/// Get or set security token value for service access
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
/// <summary>
|
|
/// Get or set security token value for service access
|
|
/// </summary>
|
|
// public List<string> TrackingDetail { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set isconnected flag
|
|
/// </summary>
|
|
public string IsConnected { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set x cordinate
|
|
/// </summary>
|
|
public string Xcordinate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set y cordinate
|
|
/// </summary>
|
|
public string Ycordinate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set z cordinate
|
|
/// </summary>
|
|
public string Zcordinate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set creation time
|
|
/// </summary>
|
|
public string CreationTime { get; set; }
|
|
/// <summary>
|
|
/// Get or set BatteryStatus
|
|
/// </summary>
|
|
public string BatteryStatus { get; set; }
|
|
/// <summary>
|
|
/// Get or set GpsStatus
|
|
/// </summary>
|
|
public string GpsStatus { get; set; }
|
|
/// <summary>
|
|
/// Get or set IsCharging
|
|
/// </summary>
|
|
public string IsCharging { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set IsPowerSaving
|
|
/// </summary>
|
|
public string IsPowerSaving { 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 trackind detail
|
|
/// </summary>
|
|
public List<String> BulkTrackngDetail { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set device status
|
|
/// </summary>
|
|
public string DeviceStatus { get; set; }
|
|
}
|
|
|
|
#endregion
|
|
} |