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