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.

315 lines
8.0 KiB

using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
namespace Entity.Dto;
[ExcelExporter(Name = "充电订单", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)]
public class ChargeOrderDto
{
/// <summary>
/// Desc:订单编号
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "订单编号", IsBold = true)]
public string Sn { get; set; }
/// <summary>
/// Desc:电池编号
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "电池编号", IsBold = true)]
public string BatteryNo { get; set; }
/// <summary>
/// Desc:启动报文状态;0-初始化1-启动成功
/// Default:0
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "启动报文状态", IsBold = true)]
public int? CmdStatus { get; set; }
/// <summary>
/// Desc:充电机编号
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "充电机编号", IsBold = true)]
public string ChargerNo { get; set; }
/// <summary>
/// Desc:充电枪编号
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "充电枪编号", IsBold = true)]
public string ChargerGunNo { get; set; }
/// <summary>
/// 0站内充电 1站外充电
/// </summary>
[ExporterHeader(DisplayName = "充电位置", IsBold = true)]
public int ChargeMode { get; set; }
/// <summary>
/// 1站控启动 2本地启动
/// </summary>
[ExporterHeader(DisplayName = "启动方式", IsBold = true)]
public int StartMode { get; set; }
/// <summary>
/// 充电开始时间
/// </summary>
[ExporterHeader(DisplayName = "充电开始时间", IsBold = true,Width = 25)]
public DateTime? StartTime { get; set; }
/// <summary>
/// Desc:充电结束时间
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "充电结束时间", IsBold = true,Width = 25)]
public DateTime? EndTime { get; set; }
/// <summary>
/// Desc:充电开始soc
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "充电开始soc", IsBold = true)]
public int? StartSoc { get; set; }
/// <summary>
/// Desc:充电结束soc
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "充电结束soc", IsBold = true)]
public int? StopSoc { get; set; }
/// <summary>
/// Desc:充电时长
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "充电时长", IsBold = true)]
public int ChargeTimeCount { get; set; }
/// <summary>
/// Desc:充电电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "充电电量", IsBold = true)]
public decimal? ElecCount { get; set; }
/// <summary>
/// Desc:充电开始交流表电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "充电开始交流表电量", IsBold = true)]
public decimal? StartAcElec { get; set; }
/// <summary>
/// Desc:充电结束交流表电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "充电结束交流表电量", IsBold = true)]
public decimal? StopAcElec { get; set; }
/// <summary>
/// Desc:充电开始直流表电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "充电开始直流表电量", IsBold = true)]
public decimal? StartDcElec { get; set; }
/// <summary>
/// Desc:充电结束直流表电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "充电结束直流表电量", IsBold = true)]
public decimal? StopDcElec { get; set; }
/// <summary>
/// Desc:停止原因;0满电自动停止1-人工停止
/// Default:0
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "停止原因", IsBold = true)]
public int? StopReason { get; set; }
/// <summary>
/// Desc:尖时段电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "尖时段电量", IsBold = true)]
public decimal? SharpElecCount { get; set; }
/// <summary>
/// Desc:峰时段电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "峰时段电量", IsBold = true)]
public decimal? PeakElecCount { get; set; }
/// <summary>
/// Desc:平时段电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "平时段电量", IsBold = true)]
public decimal? FlatElecCount { get; set; }
/// <summary>
/// Desc:谷时段电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "谷时段电量", IsBold = true)]
public decimal? ValleyElecCount { get; set; }
/// <summary>
/// Desc:尖时段交流电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "尖时段交流电量", IsBold = true)]
public decimal? ACSharpElecCount { get; set; }
/// <summary>
/// Desc:峰时段交流电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "峰时段交流电量", IsBold = true)]
public decimal? ACPeakElecCount { get; set; }
/// <summary>
/// Desc:平时段交流电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "平时段交流电量", IsBold = true)]
public decimal? ACFlatElecCount { get; set; }
/// <summary>
/// Desc:谷时段交流电量
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "谷时段交流电量", IsBold = true)]
public decimal? ACValleyElecCount { get; set; }
/// <summary>
/// Desc:电价版本号
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "电价版本号", IsBold = true)]
public string ElecPriceModelVersion { get; set; }
/// <summary>
/// Desc:换电订单编号
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "换电订单编号", IsBold = true)]
public string SwapOrderSn { get; set; }
/// <summary>
/// Desc:上传云平台状态;0-未上传1-已上传
/// Default:0
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "上传云平台状态", IsBold = true)]
public int? CloudReportStatus { get; set; }
/// <summary>
/// Desc:创建人
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "创建人", IsBold = true)]
public string CreatedBy { get; set; }
/// <summary>
/// Desc:创建时间
/// Default:CURRENT_TIMESTAMP
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "创建时间", IsBold = true,Width = 25)]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// Desc:更新人
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "更新人", IsBold = true,Width = 25)]
public string UpdatedBy { get; set; }
/// <summary>
/// Desc:更新时间
/// Default:CURRENT_TIMESTAMP
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "更新时间", IsBold = true)]
public DateTime? UpdatedTime { get; set; }
/// <summary>
/// 云平台充电订单
/// </summary>
[ExporterHeader(DisplayName = "云平台充电订单", IsBold = true)]
public string? CloudChargeOrder { get; set; }
/// <summary>
/// Desc:是否可以上传云平台
/// Default:
/// Nullable:True
/// </summary>
[ExporterHeader(DisplayName = "是否可以上传云平台", IsBold = true)]
public int? CanUpload { get; set; }
}