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