using System; using System.Linq; using System.Text; using SqlSugar; namespace Entity.DbModel.Station { /// ///换电订单表 /// [SugarTable("swap_order")] public partial class SwapOrder : BaseModel { public SwapOrder() { } /// /// 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 = "vehicle_no")] public string VehicleNo { get; set; } /// /// Desc:车辆mac /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "vehicle_mac")] public string VehicleMac { get; set; } /// /// Desc:车辆vin码 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "vehicle_vin")] public string VehicleVin { get; set; } /// /// Desc:车辆进场时间 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "vehicle_enter_time")] public DateTime? VehicleEnterTime { get; set; } /// /// Desc:车辆离场时间 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "vehicle_leave_time")] public DateTime? VehicleLeaveTime { get; set; } /// /// Desc:换电开始时间 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "swap_begin_time")] public DateTime? SwapBeginTime { get; set; } /// /// Desc:换电结束时间 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "swap_end_time")] public DateTime? SwapEndTime { get; set; } /// /// Desc:换电结果;0-未知;1-成功;2-失败 /// Default:0 /// Nullable:True /// [SugarColumn(ColumnName = "swap_result")] public int? SwapResult { get; set; } /// /// Desc:失败原因 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "fail_reason")] public string FailReason { get; set; } /// /// Desc:上传云平台状态;0-未上传;1-已上传 /// Default:0 /// Nullable:True /// [SugarColumn(ColumnName = "cloud_report_status")] public int? CloudReportStatus { get; set; } /// /// 云平台订单号 /// [SugarColumn(ColumnName = "cloud_sn")] public string? CloudSn { get; set; } /// /// Desc:换电类型:;1自动换电;2手动换电 /// Default:0 /// Nullable:True /// [SugarColumn(ColumnName = "swap_way")] public int? SwapWay { get; set; } /// /// 换电服务费用(单位分) /// [SugarColumn(ColumnName = "service_total_fee")] public decimal? ServiceTotalFee { get; set; } /// /// 电费(单位分) /// [SugarColumn(ColumnName = "electricity_total_fee")] public decimal? ElectricityTotalFee { get; set; } /// /// 附加费(单位分) /// [SugarColumn(ColumnName = "append_total_fee")] public decimal? AppendTotalFee { get; set; } /// /// 总费用(所有的总费用-单位分) /// [SugarColumn(ColumnName = "total_fee")] public decimal? TotalFee { get; set; } /// /// Desc:备注 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "remark")] public string Remark { get; set; } } }