using Magicodes.ExporterAndImporter.Core; using Magicodes.ExporterAndImporter.Excel; namespace Entity.Dto; [ExcelExporter(Name = "CHARGE STATISTICS", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)] public class ChargeCountDto2 { /// /// 时间 /// [ExporterHeader(DisplayName = "TIME", IsBold = true)] public string? Time { get; set; } /// /// 充电度数 /// [ExporterHeader(DisplayName = "ELECTRICITY CONSUMPTION/kWh", IsBold = true)] public decimal? ChargeCount { get; set; } }