using Magicodes.ExporterAndImporter.Core; using Magicodes.ExporterAndImporter.Excel; namespace Entity.Dto; /// /// 充电量统计导出 /// [ExcelExporter(Name = "充电量统计", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)] public class ChargeCountDto { /// /// 时间 /// [ExporterHeader(DisplayName = "时间", IsBold = true)] public string? Time { get; set; } /// /// 充电度数 /// [ExporterHeader(DisplayName = "用电量/kWh", IsBold = true)] public decimal? ChargeCount { get; set; } }