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.

156 lines
4.6 KiB

using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace Entity.DbModel.Station
{
///<summary>
///换电预约表
///</summary>
[SugarTable("swap_amt_order")]
public partial class SwapAmtOrder
{
public SwapAmtOrder(){
}
/// <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="pay_status")]
public int? PayStatus {get;set;}
/// <summary>
/// Desc:车辆vin码
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="vin")]
public string Vin {get;set;}
/// <summary>
/// Desc:车辆mac
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="mac")]
public string Mac {get;set;}
/// <summary>
/// Desc:预约电池数量
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="battery_count")]
public int? BatteryCount {get;set;}
/// <summary>
/// Desc:预约时间
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="amt_time")]
public DateTime? AmtTime {get;set;}
/// <summary>
/// Desc:预约到期时间
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="expire_time")]
public DateTime? ExpireTime {get;set;}
/// <summary>
/// Desc:预约状态;1预约成功2预约取消3预约失败4换电完成5换电失败6换电中7预约过期
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="status")]
public int? Status {get;set;}
/// <summary>
/// Desc:预约电池仓号列表
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="amt_bin_no_list")]
public string AmtBinNoList {get;set;}
/// <summary>
/// Desc:取消时间
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="cancel_time")]
public DateTime? CancelTime {get;set;}
/// <summary>
/// Desc:换电完成时间
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="swap_finish_time")]
public DateTime? SwapFinishTime {get;set;}
/// <summary>
/// Desc:换电订单编号
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="swap_order_sn")]
public string SwapOrderSn {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;}
}
}