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.

89 lines
2.1 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 SqlSugar;
namespace Entity.DbModel.Station;
///<summary>
///仓位信息表
///</summary>
[SugarTable("bin_gun_info")]
public partial class BinGunInfo : BaseModel
{
/// <summary>
///
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
public int Id { get; set; }
/// <summary>
/// 仓位编号
/// </summary>
[SugarColumn(ColumnName = "no")]
public string No { get; set; }
/// <summary>
/// 仓位编码
/// </summary>
[SugarColumn(ColumnName = "code")]
public string Code { get; set; }
/// <summary>
/// 仓位名称
/// </summary>
[SugarColumn(ColumnName = "name")]
public string Name { get; set; }
/// <summary>
/// 充电机编号
/// </summary>
[SugarColumn(ColumnName = "charger_no")]
public string ChargerNo { get; set; }
/// <summary>
/// 充电枪编号
/// </summary>
[SugarColumn(ColumnName = "charger_gun_no")]
public string ChargerGunNo { get; set; }
/// <summary>
/// 1枪2枪
/// </summary>
[SugarColumn(ColumnName = "gun_no")]
public int GunNo { get; set; }
/// <summary>
/// 充电状态;0-未知1-正在充电2-无电池3-禁用 4-充電完成
/// </summary>
[SugarColumn(ColumnName = "charge_status")]
public int ChargeStatus { get; set; }
/// <summary>
/// 仓位状态;0-禁用1-启用
/// </summary>
[SugarColumn(ColumnName = "status")]
public int Status { get; set; }
/// <summary>
/// soc
/// </summary>
[SugarColumn(ColumnName = "soc")]
public decimal Soc { get; set; }
/// <summary>
/// 最后结束充电时间 结束充电后更新
/// </summary>
[SugarColumn(ColumnName = "last_charge_finish_time")]
public DateTime LastChargeFinishTime { get; set; }
/// <summary>
/// 0不能 1
/// </summary>
[SugarColumn(ColumnName = "can_charge_flag")]
public int CanChargeFlag { get; set; }
/// <summary>
/// 充电功率
/// </summary>
[SugarColumn(ColumnName = "power")]
public float Power { get; set; }
}