using SqlSugar;
namespace Entity.DbModel.Station
{
///
///预约订单表
///
[SugarTable("amt_order_info")]
public partial class AmtOrderInfo
{
public AmtOrderInfo()
{
}
///
/// Desc:主键
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
public long Id { get; set; }
///
/// Desc:换电站编码
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "sn")]
public string Sn { get; set; }
///
/// Desc:车辆编码
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "car_no")]
public string CarNo { get; set; }
///
/// Desc:预约单号
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "order_no")]
public string? OrderNo { get; set; }
///
/// Desc:车辆vim码
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "vin")]
public string Vin { get; set; }
///
/// Desc:预约电池类型编号
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "battery_type")]
public string BatteryType { get; set; }
///
/// Desc:预约电池编号
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "battery_nos")]
public string BatteryNos { get; set; }
///
/// Desc:预约数量
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "batnum")]
public int? Batnum { get; set; }
///
/// Desc:预约电池锁仓仓号
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "bin_nos")]
public string BinNos { get; set; }
///
/// Desc:预约时间
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "start_time")]
public DateTime? StartTime { get; set; }
///
/// Desc:预约到期时间
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "end_time")]
public DateTime? EndTime { get; set; }
///
/// Desc:预约单状态:1:预约成功;2:预约取消;3:预约失败;4:换电完成;5:换电失败;6:换电中;7:预约过期
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "status")]
public byte? Status { 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_no")]
public string SwapOrderNo { 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; }
}
}