299 lines
7.9 KiB
C#
299 lines
7.9 KiB
C#
namespace VECV_WebApi.Models.Van
|
|
{
|
|
#region Namespaces
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
#endregion
|
|
|
|
#region Model Classes
|
|
|
|
/// <summary>
|
|
/// This class contain van properties
|
|
/// </summary>
|
|
public class VanModel
|
|
{
|
|
/// <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 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 Id
|
|
/// </summary>
|
|
public string VanId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Name
|
|
/// </summary>
|
|
public string OrganizationName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Path
|
|
/// </summary>
|
|
public string OrganizationPath { 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 Contact Number
|
|
/// </summary>
|
|
public string ServiceEngineerContactNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set dealer name
|
|
/// </summary>
|
|
public string DealerName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set van postion details
|
|
/// </summary>
|
|
public List<VanPositionModel> VanPostionList { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// This class contain van postion properties
|
|
/// </summary>
|
|
public class VanPositionModel
|
|
{
|
|
/// <summary>
|
|
/// Get or set van position coverage id
|
|
/// </summary>
|
|
public Int64? VanPositionCoverageId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set van position coverage van id
|
|
/// </summary>
|
|
public String VanPositionCoverageVanId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set van position coverage sla id
|
|
/// </summary>
|
|
public Int64? VanPositionCoverageSlaId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set van position coverage van latitude
|
|
/// </summary>
|
|
public String VanPositionCoverageVanLatitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set van position coverage van longitude
|
|
/// </summary>
|
|
public String VanPositionCoverageVanLongitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set sla time
|
|
/// </summary>
|
|
public Int32? SlaTime { 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>
|
|
/// this class contain van position coverage with sla and coverage properties.
|
|
/// </summary>
|
|
public class VanPositionCoverage
|
|
{
|
|
/// <summary>
|
|
/// Get or set van position coverage id
|
|
/// </summary>
|
|
///
|
|
public Int64? SlaId { get; set; }
|
|
|
|
/// <summary>
|
|
/// get or set sla value
|
|
/// </summary>
|
|
public string SlaValue { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set van position coverage sla id
|
|
/// </summary>
|
|
public List<PositionCoverages> ListCoverage { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// This class contain position coverage propperties.
|
|
/// </summary>
|
|
public class PositionCoverages
|
|
{
|
|
/// <summary>
|
|
/// get or set van position coverage id
|
|
/// </summary>
|
|
public Int64? VanPositionCoverageId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set van position coverage van latitude
|
|
/// </summary>
|
|
public String VanPositionCoverageVanLatitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set van position coverage van longitude
|
|
/// </summary>
|
|
public String VanPositionCoverageVanLongitude { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// this class contain van position coverage and van current location properties
|
|
/// </summary>
|
|
public class InsertGetVanPositionCoverage
|
|
{
|
|
/// <summary>
|
|
/// Get or Set
|
|
/// </summary>
|
|
public string VanId { 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
|
|
/// </summary>
|
|
public string Status { get; set; }
|
|
/// <summary>
|
|
/// Get or Set
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
/// <summary>
|
|
/// Get or Set
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
/// <summary>
|
|
/// Get or Set list of van position coverage model
|
|
/// </summary>
|
|
public List<VanPositionCoverage> Coverage { get; set; }
|
|
/// <summary>
|
|
/// Get or Set
|
|
/// </summary>
|
|
public string CoverageJson { get; set; }
|
|
/// <summary>
|
|
/// Get or Set
|
|
/// </summary>
|
|
public string Operation { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// This class contain van position properties
|
|
/// </summary>
|
|
public class GetVanPositionModel
|
|
{
|
|
/// <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<VanModel> VanList { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set van list json
|
|
/// </summary>
|
|
public string VanListJson { get; set; }
|
|
}
|
|
|
|
#endregion
|
|
} |