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.

41 lines
1.5 KiB

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; }
[ExporterHeader(DisplayName = "Remark", IsBold = true)]
public string? Remark { get; set; }
}