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.
38 lines
917 B
38 lines
917 B
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Entity.Ammeter
|
|
{
|
|
/// <summary>
|
|
/// 电表15分钟保存一次数据
|
|
/// </summary>
|
|
[SugarTable("emeter_minutes_energy")]
|
|
|
|
public partial class EmeterMinutesEnergy
|
|
{
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
|
|
public long Id { get; set; }
|
|
/// <summary>
|
|
/// 电表编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "code")]
|
|
public string Mn { get; set; }
|
|
/// <summary>
|
|
/// 千瓦时
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "value")]
|
|
public float Value { get; set; }
|
|
/// <summary>
|
|
/// 时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "time")]
|
|
public DateTime Time { get; set; }
|
|
|
|
|
|
}
|
|
}
|