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.

158 lines
4.3 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace Entity.DbModel.Station
{
///<summary>
///换电订单表
///</summary>
[SugarTable("swap_order")]
public partial class SwapOrder
{
public SwapOrder()
{
}
/// <summary>
/// Desc:id
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
public int Id { get; set; }
/// <summary>
/// Desc:订单编号
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "sn")]
public string Sn { get; set; }
/// <summary>
/// Desc:车牌号
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "vehicle_no")]
public string VehicleNo { get; set; }
/// <summary>
/// Desc:车辆mac
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "vehicle_mac")]
public string VehicleMac { get; set; }
/// <summary>
/// Desc:车辆vin码
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "vehicle_vin")]
public string VehicleVin { get; set; }
/// <summary>
/// Desc:车辆进场时间
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "vehicle_enter_time")]
public DateTime? VehicleEnterTime { get; set; }
/// <summary>
/// Desc:车辆离场时间
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "vehicle_leave_time")]
public DateTime? VehicleLeaveTime { get; set; }
/// <summary>
/// Desc:换电开始时间
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "swap_begin_time")]
public DateTime? SwapBeginTime { get; set; }
/// <summary>
/// Desc:换电结束时间
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "swap_end_time")]
public DateTime? SwapEndTime { get; set; }
/// <summary>
/// Desc:换电结果;0-未知1-成功2-失败
/// Default:0
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "swap_result")]
public int? SwapResult { get; set; }
/// <summary>
/// Desc:失败原因
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "fail_reason")]
public string FailReason { get; set; }
/// <summary>
/// Desc:上传云平台状态;0-未上传1-已上传
/// Default:0
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "cloud_report_status")]
public int? CloudReportStatus { get; set; }
/// <summary>
/// Desc:创建人
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "created_by")]
public string CreatedBy { get; set; }
/// <summary>
/// Desc:创建时间
/// Default:CURRENT_TIMESTAMP
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// Desc:更新人
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "updated_by")]
public string UpdatedBy { get; set; }
/// <summary>
/// Desc:更新时间
/// Default:CURRENT_TIMESTAMP
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "updated_time")]
public DateTime? UpdatedTime { get; set; }
/// <summary>
/// 云平台订单号
/// </summary>
[SugarColumn(ColumnName = "cloud_sn")]
public string? CloudSn { get; set; }
/// <summary>
/// Desc:换电类型:;1自动换电;2手动换电
/// Default:0
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "swap_way")]
public int? SwapWay { get; set; }
}
}