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