using Magicodes.ExporterAndImporter.Core; using Magicodes.ExporterAndImporter.Excel; namespace Entity.Dto; [ExcelExporter(Name = "CHARGER HAS PROCESSED ALARM LOG", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)] public class ChargeEquipAlarmProcessRecordDto2 { /// /// 站号 /// [ExporterHeader(DisplayName = "STATION NUMBER", IsBold = true)] public string StationNumber { get; set; } = "STATION 2"; [ExporterHeader(DisplayName = "CHARGER NUMBER", IsBold = true)] public string EquipCode { get; set; } /// /// Desc:报警描述 /// Default: /// Nullable:True /// [ExporterHeader(DisplayName = "ALARM NAME", IsBold = true)] public string ErrorMsg { get; set; } /// /// 报警开始时间 /// [ExporterHeader(DisplayName = "ALARM START TIME", Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)] public DateTime? StartTime { get; set; } [ExporterHeader(DisplayName = "ALARM END TIME", IsBold = true,Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)] public DateTime? ProcessTime { get; set; } }