|
|
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;}
|
|
|
|
|
|
}
|
|
|
}
|