标称能量字段,新增sql

master
tq 2 months ago
parent f7dd230783
commit 53f085da53

@ -221,5 +221,9 @@ namespace Entity.Api.Resp
/// </summary> /// </summary>
public string ElectricQuantity { get; set; } public string ElectricQuantity { get; set; }
/// <summary>
/// 标称能量
/// </summary>
public float? NominalEnergy { get; set; }
} }
} }

@ -204,5 +204,11 @@ namespace Entity.DbModel.Station
[SugarColumn(ColumnName = "up_battery_bin_no")] [SugarColumn(ColumnName = "up_battery_bin_no")]
public int? UpBatteryBinNo { get; set; } public int? UpBatteryBinNo { get; set; }
/// <summary>
/// 标称能量
/// </summary>
///
[SugarColumn(ColumnName = "nominal_energy")]
public float? NominalEnergy { get; set; }
} }
} }

@ -2,3 +2,8 @@ ALTER TABLE swap_order
ADD COLUMN electricity_total_fee INT COMMENT '电费', ADD COLUMN electricity_total_fee INT COMMENT '电费',
ADD COLUMN append_total_fee INT COMMENT '附加费', ADD COLUMN append_total_fee INT COMMENT '附加费',
ADD COLUMN total_fee INT COMMENT '总费用(所有的总费用)'; ADD COLUMN total_fee INT COMMENT '总费用(所有的总费用)';
ALTER TABLE swap_order_battery
ADD COLUMN nominal_energy DECIMAL(24, 2) COMMENT '电池标称能量';

Loading…
Cancel
Save