using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace Entity.DbModel.Station
{
///
///换电订单表
///
[SugarTable("swap_order")]
public partial class SwapOrder
{
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; }
///
/// 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; }
///
/// 云平台订单号
///
[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; }
}
}