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.

70 lines
1.8 KiB

6 months ago
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entity.Ammeter
{
/// <summary>
/// 电表按天上传数据
/// </summary>
[SugarTable("emeter_day_energy")]
public partial class EmeterDayEnergy
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
public long Id { get; set; }
6 months ago
/// <summary>
/// 电表编码
/// </summary>
[SugarColumn(ColumnName = "code")]
public string Code { get; set; }
6 months ago
/// <summary>
/// 累计值
6 months ago
/// </summary>
[SugarColumn(ColumnName = "value")]
public float Value { get; set; }
6 months ago
/// <summary>
/// 时间
/// </summary>
5 months ago
[SugarColumn(ColumnName = "time")]
public string Time { get; set; }
6 months ago
/// <summary>
/// 实时值(取末端)
/// </summary>
[SugarColumn(ColumnName = "real_time_value")]
public float RealTimeValue { get; set; }
/// <summary>
/// 1:直流表 2j交流表
6 months ago
/// </summary>
[SugarColumn(ColumnName = "type")]
public int Type { get; set; }
5 months ago
[SugarColumn(ColumnName = "upload_flag")]
public int UploadFlag { get; set; }
/// <summary>
/// 统计sql时间接收
/// </summary>
[SugarColumn(IsIgnore = true)]
public virtual DateTime UploadTime { 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; }
6 months ago
}
}