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.

40 lines
1.0 KiB

7 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_hour_energy")]
public partial class EmeterHourEnergy
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
public long Id { get; set; }
/// <summary>
/// 电表编码
/// </summary>
[SugarColumn(ColumnName = "code")]
public string Code { get; set; }
7 months ago
/// <summary>
/// 小时变化值 千瓦时
/// </summary>
[SugarColumn(ColumnName = "value")]
public float Value { get; set; }
7 months ago
/// <summary>
/// 时间
/// </summary>
[SugarColumn(ColumnName = "st")]
public DateTime St { get; set; }
/// <summary>
/// 时间
/// </summary>
[SugarColumn(ColumnName = "et")]
public DateTime Et { get; set; }
}
}