|
|
@ -1,4 +1,5 @@
|
|
|
|
using SqlSugar;
|
|
|
|
using Entity.Base;
|
|
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Entity.DbModel.Station
|
|
|
|
namespace Entity.DbModel.Station
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -18,7 +19,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:False
|
|
|
|
/// Nullable:False
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
|
|
|
|
public int Id { get; set; }
|
|
|
|
public int? Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:仓位编号
|
|
|
|
/// Desc:仓位编号
|
|
|
@ -26,7 +27,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "no")]
|
|
|
|
[SugarColumn(ColumnName = "no")]
|
|
|
|
public string No { get; set; }
|
|
|
|
public string? No { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:仓位编码
|
|
|
|
/// Desc:仓位编码
|
|
|
@ -34,7 +35,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "code")]
|
|
|
|
[SugarColumn(ColumnName = "code")]
|
|
|
|
public string Code { get; set; }
|
|
|
|
public string? Code { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:仓位名称
|
|
|
|
/// Desc:仓位名称
|
|
|
@ -42,7 +43,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "name")]
|
|
|
|
[SugarColumn(ColumnName = "name")]
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:在位状态:0-不在位;1-在位;2-无效
|
|
|
|
/// Desc:在位状态:0-不在位;1-在位;2-无效
|
|
|
@ -50,7 +51,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "exists")]
|
|
|
|
[SugarColumn(ColumnName = "exists")]
|
|
|
|
public int Exists { get; set; }
|
|
|
|
public int? Exists { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:电池编号
|
|
|
|
/// Desc:电池编号
|
|
|
@ -58,7 +59,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "battery_no")]
|
|
|
|
[SugarColumn(ColumnName = "battery_no")]
|
|
|
|
public string BatteryNo { get; set; }
|
|
|
|
public string? BatteryNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:充电机编号
|
|
|
|
/// Desc:充电机编号
|
|
|
@ -66,7 +67,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "charger_no")]
|
|
|
|
[SugarColumn(ColumnName = "charger_no")]
|
|
|
|
public string ChargerNo { get; set; }
|
|
|
|
public string? ChargerNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:充电枪编号
|
|
|
|
/// Desc:充电枪编号
|
|
|
@ -74,7 +75,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "charger_gun_no")]
|
|
|
|
[SugarColumn(ColumnName = "charger_gun_no")]
|
|
|
|
public string ChargerGunNo { get; set; }
|
|
|
|
public string? ChargerGunNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:水冷编号
|
|
|
|
/// Desc:水冷编号
|
|
|
@ -82,7 +83,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "water_cool_no")]
|
|
|
|
[SugarColumn(ColumnName = "water_cool_no")]
|
|
|
|
public string WaterCoolNo { get; set; }
|
|
|
|
public string? WaterCoolNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:是否有电插头;0-无电插头;1-有电插头
|
|
|
|
/// Desc:是否有电插头;0-无电插头;1-有电插头
|
|
|
@ -98,7 +99,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "elec_plugin_status")]
|
|
|
|
[SugarColumn(ColumnName = "elec_plugin_status")]
|
|
|
|
public string ElecPluginStatus { get; set; }
|
|
|
|
public string? ElecPluginStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:是否有水插头;0-无水插头;1-有水插头
|
|
|
|
/// Desc:是否有水插头;0-无水插头;1-有水插头
|
|
|
@ -106,7 +107,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:False
|
|
|
|
/// Nullable:False
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "water_plugin_flag")]
|
|
|
|
[SugarColumn(ColumnName = "water_plugin_flag")]
|
|
|
|
public string WaterPluginFlag { get; set; }
|
|
|
|
public string? WaterPluginFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:预约锁定;0-未锁定;1-锁定
|
|
|
|
/// Desc:预约锁定;0-未锁定;1-锁定
|
|
|
@ -114,7 +115,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "amt_lock")]
|
|
|
|
[SugarColumn(ColumnName = "amt_lock")]
|
|
|
|
public int AmtLock { get; set; }
|
|
|
|
public int? AmtLock { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:soc
|
|
|
|
/// Desc:soc
|
|
|
@ -170,15 +171,17 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "created_by")]
|
|
|
|
[SugarColumn(ColumnName = "created_by")]
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public string? CreatedBy { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:创建时间
|
|
|
|
/// Desc:创建时间
|
|
|
|
/// Default:CURRENT_TIMESTAMP
|
|
|
|
/// Default:CURRENT_TIMESTAMP
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "created_time")]
|
|
|
|
/// [SugarColumn(IsPrimaryKey = false, , ColumnDescription = "创建时间")]
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
[SugarColumn(ColumnName = "created_time", IsOnlyIgnoreUpdate = true)]
|
|
|
|
|
|
|
|
public DateTime? CreatedTime { get; set; }= DateTime.Now;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:更新人
|
|
|
|
/// Desc:更新人
|
|
|
@ -186,7 +189,7 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "updated_by")]
|
|
|
|
[SugarColumn(ColumnName = "updated_by")]
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
public string? UpdatedBy { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:最后结束充电时间 结束充电后更新
|
|
|
|
/// Desc:最后结束充电时间 结束充电后更新
|
|
|
@ -202,25 +205,25 @@ namespace Entity.DbModel.Station
|
|
|
|
/// Nullable:True
|
|
|
|
/// Nullable:True
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "updated_time")]
|
|
|
|
[SugarColumn(ColumnName = "updated_time")]
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }= DateTime.Now;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 缓存仓标记 0:不是 1:是
|
|
|
|
/// 缓存仓标记 0:不是 1:是
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "cache_bin_flag")]
|
|
|
|
[SugarColumn(ColumnName = "cache_bin_flag")]
|
|
|
|
public int CacheBinFlag { get; set; }
|
|
|
|
public int? CacheBinFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 是否可以换电 0:不可换 1:可换
|
|
|
|
/// 是否可以换电 0:不可换 1:可换
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "can_swap_flag")]
|
|
|
|
[SugarColumn(ColumnName = "can_swap_flag")]
|
|
|
|
public int CanSwapFlag { get; set; }
|
|
|
|
public int? CanSwapFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 是否可以充电 0:不可换 1:可换
|
|
|
|
/// 是否可以充电 0:不可换 1:可换
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnName = "can_charge_flag")]
|
|
|
|
[SugarColumn(ColumnName = "can_charge_flag")]
|
|
|
|
public int CanChargeFlag { get; set; }
|
|
|
|
public int? CanChargeFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|