using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entity.Ammeter
{
///
/// 电表实时数据
///
[SugarTable("emeter_minutes_energy")]
public partial class EmeterMinutesEnergy
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
public long Id { get; set; }
///
/// 电表编码
///
[SugarColumn(ColumnName = "code")]
public string Code { get; set; }
///
/// 累计值
///
[SugarColumn(ColumnName = "value")]
public float Value { get; set; }
///
/// 时间
///
[SugarColumn(ColumnName = "time")]
public string Time { get; set; }
///
/// 实时值(取末端)
///
[SugarColumn(ColumnName = "real_time_value")]
public float RealTimeValue { get; set; }
///
/// 1:直流表 2:j交流表
///
[SugarColumn(ColumnName = "type")]
public int Type { get; set; }
[SugarColumn(ColumnName = "upload_flag")]
public int UploadFlag { get; set; }
///
/// 统计sql时间接收
///
[SugarColumn(IsIgnore = true)]
public virtual DateTime UploadTime { get; set; }
///
/// 统计sql小时接收
///
[SugarColumn(IsIgnore = true)]
public virtual string Hour { get; set; }
///
/// 统计sql分钟接收
///
[SugarColumn(IsIgnore = true)]
public virtual string Minute { get; set; }
}
}