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