using System; using System.Linq; using System.Text; using SqlSugar; namespace Entity.DbModel.Station { /// ///充电订单;充电订单表 /// [SugarTable("charge_order")] public partial class ChargeOrder { public ChargeOrder(){ } /// /// Desc:id /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="id")] public int Id {get;set;} /// /// Desc:订单编号 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="sn")] public string Sn {get;set;} /// /// Desc:电池编号 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="battery_no")] public string BatteryNo {get;set;} /// /// Desc:启动报文状态;0-初始化;1-启动成功 /// Default:0 /// Nullable:True /// [SugarColumn(ColumnName="cmd_status")] public int? CmdStatus {get;set;} /// /// Desc:充电机编号 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="charger_no")] public string ChargerNo {get;set;} /// /// Desc:充电枪编号 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="charger_gun_no")] public string ChargerGunNo {get;set;} /// /// Desc:充电开始时间 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="start_time")] public DateTime? StartTime {get;set;} /// /// Desc:充电结束时间 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="end_time")] public DateTime? EndTime {get;set;} /// /// Desc:充电开始soc /// Default: /// Nullable:True /// [SugarColumn(ColumnName="start_soc")] public int? StartSoc {get;set;} /// /// Desc:充电结束soc /// Default: /// Nullable:True /// [SugarColumn(ColumnName="stop_soc")] public int? StopSoc {get;set;} /// /// Desc:充电时长 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="charge_time_count")] public string ChargeTimeCount {get;set;} /// /// Desc:充电电量 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="elec_count")] public decimal? ElecCount {get;set;} /// /// Desc:充电开始交流表电量 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="start_ac_elec")] public decimal? StartAcElec {get;set;} /// /// Desc:充电结束交流表电量 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="stop_ac_elec")] public decimal? StopAcElec {get;set;} /// /// Desc:充电开始直流表电量 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="start_dc_elec")] public decimal? StartDcElec {get;set;} /// /// Desc:充电结束直流表电量 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="stop_dc_elec")] public decimal? StopDcElec {get;set;} /// /// Desc:停止原因;0:满电自动停止;1-人工停止 /// Default:0 /// Nullable:True /// [SugarColumn(ColumnName="stop_reason")] public int? StopReason {get;set;} /// /// Desc:尖时段电量 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="sharp_elec_count")] public decimal? SharpElecCount {get;set;} /// /// Desc:峰时段电量 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="peak_elec_count")] public decimal? PeakElecCount {get;set;} /// /// Desc:平时段电量 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="flat_elec_count")] public decimal? FlatElecCount {get;set;} /// /// Desc:谷时段电量 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="valley_elec_count")] public decimal? ValleyElecCount {get;set;} /// /// Desc:电价版本号 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="elec_price_model_version")] public string ElecPriceModelVersion {get;set;} /// /// Desc:换电订单编号 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="swap_order_sn")] public string SwapOrderSn {get;set;} /// /// Desc:上传云平台状态;0-未上传;1-已上传 /// Default:0 /// Nullable:True /// [SugarColumn(ColumnName="cloud_report_status")] public int? CloudReportStatus {get;set;} /// /// Desc:创建人 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="created_by")] public string CreatedBy {get;set;} /// /// Desc:创建时间 /// Default:CURRENT_TIMESTAMP /// Nullable:True /// [SugarColumn(ColumnName="created_time")] public DateTime? CreatedTime {get;set;} /// /// Desc:更新人 /// Default: /// Nullable:True /// [SugarColumn(ColumnName="updated_by")] public string UpdatedBy {get;set;} /// /// Desc:更新时间 /// Default:CURRENT_TIMESTAMP /// Nullable:True /// [SugarColumn(ColumnName="updated_time")] public DateTime? UpdatedTime {get;set;} } }