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.
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace Entity.Ammeter;
|
|
|
|
|
|
|
|
|
|
[SugarTable("emeter_energy")]
|
|
|
|
|
public class EmeterEnergy
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键ID 与 EmeterEnergyChange ID相同
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
|
|
|
|
|
public virtual string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充电机电表编码 (充电机Sn)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "code")]
|
|
|
|
|
public virtual string Code { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 电表当前读数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "value")]
|
|
|
|
|
public virtual float Value { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充电机上报时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "upload_time")]
|
|
|
|
|
public virtual DateTime UploadTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 上报标识:0未上传 1上传
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "upload_flag")]
|
|
|
|
|
public virtual string UploadFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 统计sql小时接收
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsIgnore = true)] public virtual string Hour { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 统计sql分钟接收
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsIgnore = true)] public virtual string Minute { get; set; }
|
|
|
|
|
}
|