40 lines
1.0 KiB
40 lines
1.0 KiB
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; }
|
|
/// <summary>
|
|
/// 电表编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "code")]
|
|
public string Code { get; set; }
|
|
/// <summary>
|
|
/// 天变化值 千瓦时
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "value")]
|
|
public float Value { get; set; }
|
|
/// <summary>
|
|
/// 时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "st")]
|
|
public DateTime St { get; set; }
|
|
/// <summary>
|
|
/// 时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "et")]
|
|
public DateTime Et { get; set; }
|
|
}
|
|
}
|