using SqlSugar;
namespace Entity.DbModel.Station;
///
/// 预约订单表
///
[SugarTable("amt_order_info")]
public partial class AmtOrderInfo
{
///
/// Desc:主键
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnName = "id", ColumnDescription = "主键Id", IsPrimaryKey = true, IsIdentity = true)]
public virtual 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:预约单状态
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "status")]
public int? 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:
/// 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:
/// Nullable:True
///
[SugarColumn(ColumnName = "updated_time")]
public DateTime? UpdatedTime { get; set; }
///
/// Desc:客户ID
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnName = "customer_id")]
public long? CustomerId { get; set; }
public AmtOrderInfo()
{
}
}