using Magicodes.ExporterAndImporter.Core; using Magicodes.ExporterAndImporter.Excel; namespace Entity.Dto; [ExcelExporter(Name = "POWER FAILURE RECORD OF STATION 2", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)] public class SwapLoseOrderDto2 { [ExporterHeader(IsIgnore = true)] public string Sn { get; set; } [ExporterHeader(DisplayName = "STATION NUMBER", IsBold = true)] public string StationNumber { get; set; }= "STATION 2"; [ExporterHeader(DisplayName = "Swap Begin Time", IsBold = true, Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)] public DateTime? SwapBeginTime { get; set; } [ExporterHeader(DisplayName = "Vehicle VIN", IsBold = true)] public string VehicleVin { get; set; } [ExporterHeader(DisplayName = "Vehicle Number", IsBold = true)] public string VehicleNo { get; set; } [ExporterHeader(DisplayName = "Up Battery Bin Number", IsBold = true)] public int? UpBatteryBinNo { get; set; } [ExporterHeader(DisplayName = "Down Battery Bin Number", IsBold = true)] public int? DownBatteryBinNo { get; set; } [ExporterHeader(DisplayName = "Swap End Time", Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)] public DateTime? SwapEndTime { get; set; } [ExporterHeader(DisplayName = "Failure Reason", IsBold = true)] public string FailReason { get; set; } }