|
|
|
|
using Magicodes.ExporterAndImporter.Core;
|
|
|
|
|
using Magicodes.ExporterAndImporter.Excel;
|
|
|
|
|
|
|
|
|
|
namespace Entity.Dto;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 换电订单导出
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExcelExporter(Name = "换电订单", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)]
|
|
|
|
|
public class SwapOrderDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:订单编号
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "订单编号", IsBold = true)]
|
|
|
|
|
public string Sn { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:车牌号
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "车牌号", IsBold = true)]
|
|
|
|
|
public string VehicleNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:车辆mac
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "车辆mac", IsBold = true)]
|
|
|
|
|
public string VehicleMac { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:车辆vin码
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "车辆vin码", IsBold = true)]
|
|
|
|
|
public string VehicleVin { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:车辆进场时间
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "车辆进场时间", IsBold = true,Width = 25)]
|
|
|
|
|
public DateTime? VehicleEnterTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:车辆离场时间
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "车辆离场时间", IsBold = true,Width = 25)]
|
|
|
|
|
public DateTime? VehicleLeaveTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:换电开始时间
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "换电开始时间", IsBold = true,Width = 25)]
|
|
|
|
|
public DateTime? SwapBeginTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:换电结束时间
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "换电结束时间", IsBold = true,Width = 25)]
|
|
|
|
|
public DateTime? SwapEndTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:换电结果;0-未知;1-成功;2-失败
|
|
|
|
|
/// Default:0
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "换电结果", IsBold = true)]
|
|
|
|
|
public int? SwapResult { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:失败原因
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "失败原因", IsBold = true)]
|
|
|
|
|
public string FailReason { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:上传云平台状态;0-未上传;1-已上传
|
|
|
|
|
/// Default:0
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "上传云平台状态", IsBold = true)]
|
|
|
|
|
public int? CloudReportStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 云平台订单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "云平台订单号", IsBold = true)]
|
|
|
|
|
public string? CloudSn { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:换电类型:;1自动换电;2手动换电
|
|
|
|
|
/// Default:0
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "换电类型", IsBold = true)]
|
|
|
|
|
public int? SwapWay { get; set; }
|
|
|
|
|
}
|