You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.6 KiB
50 lines
1.6 KiB
using DealerSelection.Api.Models.Enum;
|
|
|
|
namespace DealerSelection.Api.Models;
|
|
|
|
public class CustomerDealerInfoRequest
|
|
{
|
|
public CustomerDealerInfoRequest(string buCode,string buSubType,
|
|
string mobileNumber, string dealerName,
|
|
string dealerCode, string pinCode, string latitude, string longitude
|
|
)
|
|
{
|
|
|
|
BuCode = buCode;
|
|
BuSubType= buSubType;
|
|
MobileNumber = mobileNumber;
|
|
DealerName = dealerName;
|
|
DealerCode = dealerCode;
|
|
PinCode = pinCode;
|
|
Latitude = latitude;
|
|
Longitude = longitude;
|
|
}
|
|
|
|
public int BuId { get; }
|
|
public string BuCode { get; }
|
|
public string BuSubType { get; set; }
|
|
public int RecordId { get; }
|
|
public string MobileNumber { get; }
|
|
public string ModelCode { get; }
|
|
public string ModelName { get; }
|
|
public string ModelVariant { get; }
|
|
public string DealerName { get; }
|
|
public string DealerCode { get; }
|
|
public string PinCode { get; }
|
|
public string Latitude { get; }
|
|
public string Longitude { get; }
|
|
public DealerSelectionJobStatus DealerSelectionJobStatus { get; }
|
|
|
|
public override string? ToString()
|
|
{
|
|
return base.ToString();
|
|
}
|
|
|
|
public string RequestDetail()
|
|
{
|
|
return $"BuId: {BuId},BuName: {BuCode}, RecordId: {RecordId}, MobileNumber: {MobileNumber}, ModelCode: {ModelCode}, " +
|
|
$"ModelName:{ModelName}, ModelVariant:{ModelVariant}, DealerName: {DealerName}, DealerCode: {DealerCode}, " +
|
|
$"PinCode: {PinCode}, Latitude: {Latitude}, Longitude: {Longitude}, DealerSelectionJobStatus: {DealerSelectionJobStatus}";
|
|
}
|
|
|
|
}
|