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.

203 lines
5.6 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using Entity.Base;
using SqlSugar;
namespace Entity.DbModel.Station
{
///<summary>
///仓位信息表
///</summary>
[SugarTable("bin_info")]
public partial class BinInfo : BaseModel
{
public BinInfo()
{
}
/// <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 = "no")]
public string? No { get; set; }
/// <summary>
/// Desc:仓位编码
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "code")]
public string? Code { get; set; }
/// <summary>
/// Desc:仓位名称
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "name")]
public string? Name { get; set; }
/// <summary>
/// Desc:在位状态0-不在位1-在位2-无效
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "exists")]
public int? Exists { get; set; }
/// <summary>
/// Desc:电池编号
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "battery_no")]
public string? BatteryNo { get; set; }
/// <summary>
/// Desc:充电机编号
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "charger_no")]
public string? ChargerNo { get; set; }
/// <summary>
/// Desc:充电枪编号
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "charger_gun_no")]
public string? ChargerGunNo { get; set; }
/// <summary>
/// Desc:水冷编号
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "water_cool_no")]
public string? WaterCoolNo { get; set; }
/// <summary>
/// Desc:是否有电插头;0-无电插头1-有电插头
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "elec_plugin_flag")]
public int? ElecPluginFlag { get; set; }
/// <summary>
/// Desc:电插头状态;0-未知1-已经连接2-未连接
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "elec_plugin_status")]
public string? ElecPluginStatus { get; set; }
/// <summary>
/// Desc:是否有水插头;0-无水插头1-有水插头
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnName = "water_plugin_flag")]
public string? WaterPluginFlag { get; set; }
/// <summary>
/// Desc:预约锁定;0-未锁定1-锁定
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "amt_lock")]
public int? AmtLock { get; set; }
/// <summary>
/// Desc:soc
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "soc")]
public decimal? Soc { get; set; }
/// <summary>
/// Desc:soe
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "soe")]
public decimal? Soe { get; set; }
/// <summary>
/// Desc:soh
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "soh")]
public decimal? Soh { get; set; }
/// <summary>
/// Desc:电池入仓顺序
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "battery_enter_seq")]
public int? BatteryEnterSeq { get; set; }
/// <summary>
/// Desc:充电状态;0-未知1-正在充电2-无电池3-禁用 4-停止充电
/// Default:0
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "charge_status")]
public int? ChargeStatus { get; set; }
/// <summary>
/// Desc:仓位状态;0-禁用1-启用
/// Default:1
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "status")]
public int? Status { get; set; }
/// <summary>
/// Desc:最后结束充电时间 结束充电后更新
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "last_charge_finish_time")]
public DateTime? LastChargeFinishTime { get; set; }
/// <summary>
/// 缓存仓标记 0:不是 1:是
/// </summary>
[SugarColumn(ColumnName = "cache_bin_flag")]
public int? CacheBinFlag { get; set; }
/// <summary>
/// 是否可以换电 0:不可换 1可换
/// </summary>
[SugarColumn(ColumnName = "can_swap_flag")]
public int? CanSwapFlag { get; set; }
/// <summary>
/// 是否可以充电 0:不可换 1可换
/// </summary>
[SugarColumn(ColumnName = "can_charge_flag")]
public int? CanChargeFlag { get; set; }
/// <summary>
/// 电池入仓时间
/// </summary>
[SugarColumn(ColumnName = "in_time")]
public DateTime? InTime { get; set; }
}
}