using Magicodes.ExporterAndImporter.Core; using Magicodes.ExporterAndImporter.Excel; namespace Entity.Dto; [ExcelExporter(Name = "充电机未处理报警日志", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)] public class ChargeEquipAlarmRecordDto { /// /// 站号 /// [ExporterHeader(DisplayName = "站号", IsBold = true)] public string StationNumber { get; set; } = "2号站"; [ExporterHeader(DisplayName = "充电机编号", IsBold = true)] public string EquipCode { get; set; } /// /// Desc:报警描述 /// Default: /// Nullable:True /// [ExporterHeader(DisplayName = "报警名称", IsBold = true)] public string ErrorMsg { get; set; } /// /// 报警开始时间 /// [ExporterHeader(DisplayName = "报警开始时间", Width = 30, Format = "yyyy-MM-dd HH:mm:ss", AutoCenterColumn = true)] public DateTime? StartTime { get; set; } }