|
|
|
|
using Magicodes.ExporterAndImporter.Core;
|
|
|
|
|
using Magicodes.ExporterAndImporter.Excel;
|
|
|
|
|
|
|
|
|
|
namespace Entity.Dto;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 换电失败订单导出
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExcelExporter(Name = "2号站换电失败记录", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)]
|
|
|
|
|
public class SwapLoseOrderDto
|
|
|
|
|
{
|
|
|
|
|
[ExporterHeader(IsIgnore = true)]
|
|
|
|
|
public string Sn { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 站号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "站号", IsBold = true)]
|
|
|
|
|
public string StationNumber { get; set; } = "2号站";
|
|
|
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "创建时间", IsBold = true, Width = 30, Format = "yyyy-MM-dd HH:mm:ss",
|
|
|
|
|
AutoCenterColumn = true)]
|
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "开始时间", IsBold = true, Width = 30, Format = "yyyy-MM-dd HH:mm:ss",
|
|
|
|
|
AutoCenterColumn = true)]
|
|
|
|
|
public DateTime? SwapBeginTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "车辆vin码", IsBold = true)]
|
|
|
|
|
public string VehicleVin { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:车牌号
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "车牌号", IsBold = true)]
|
|
|
|
|
public string VehicleNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:取电池仓位号 满电包仓号
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "取电池仓位号", IsBold = true)]
|
|
|
|
|
public int? UpBatteryBinNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:放电池仓位号 亏电包仓号
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "存电池仓位号", IsBold = true)]
|
|
|
|
|
public int? DownBatteryBinNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:换电结束时间
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "失败时间", Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)]
|
|
|
|
|
public DateTime? SwapEndTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:失败原因
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "失败原因", IsBold = true)]
|
|
|
|
|
public string FailReason { get; set; }
|
|
|
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "备注", IsBold = true)]
|
|
|
|
|
public decimal? Remark { get; set; }
|
|
|
|
|
}
|