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