天津投入产出系统后端
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.

122 lines
3.8 KiB

using System;
using System.Data;
using QMAPP.Entity;
using QMFrameWork.Data.Attributes;
namespace QMAPP.FJC.Entity.EM
{
[DBTable(TableName = "T_EM_METER_READINGS")]
public class EmMeterReadings : BaseEntity
{
///<summary>
///主键
///</summary>
//[Description("主键")]
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///<summary>
///能源表编码
///</summary>
//[Description("能源表编码")]
[DBColumn(ColumnName = "METER_PID", DataType = DbType.String)]
public string METER_PID { get; set; }
/// <summary>
/// 设备编号
/// </summary>
//[Description("设备编号")]
//[DBColumn(ColumnName = "EQPT_CODE", DataType = DbType.String)]
public string EQPT_CODE { get; set; }
public string METER_CODE { get; set; }
public string METER_NAME { get; set; }
public string MACHINENAME { get; set; }
//[Description("读取时间")]
[DBColumn(ColumnName = "READ_TIME", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
public DateTime READ_TIME { get; set; }
public string RTIME { get; set; }
public string FLAG_TIME { get; set; }
//[Description("电量")]
[DBColumn(ColumnName = "READING", DataType = DbType.Decimal)]
public decimal READING { get; set; }
//[Description("累计电量")]
[DBColumn(ColumnName = "DIFF_WITH_LAST", DataType = DbType.Decimal)]
public decimal DIFF_WITH_LAST { get; set; }
//[Description("状态")]
[DBColumn(ColumnName = "READ_RESULT", DataType = DbType.String)]
public string READ_RESULT { get; set; }
//[Description("错误")]
[DBColumn(ColumnName = "ERROR", DataType = DbType.String)]
public string ERROR { get; set; }
/// <summary>
/// 工厂编号
/// </summary>
public string FACTORY_CODE { get; set; }
///<summary>
///描述
///</summary>
//[Description("描述")]
//[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
/// <summary>
/// 创建用户
/// </summary>
//[Description("创建用户")]
//[DBColumn(ColumnName = "CREATEUSR", DataType = DbType.String)]
public string CREATEUSR { get; set; }
public string CREATEUSERNAME { get; set; }
/// <summary>
/// 创建时间
/// </summary>
//[Description("创建时间")]
//[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
public DateTime CREATEDATE { get; set; }
//[Description("查询日期")]
//[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
public string STARTCREATEDATE { get; set; }
//[Description("至")]
//[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
public string ENDCREATEDATE { get; set; }
/// <summary>
/// 更新用户
/// </summary>
//[Description("更新用户")]
//[DBColumn(ColumnName = "UPDATEUSR", DataType = DbType.String)]
public string UPDATEUSR { get; set; }
public string UPDATEUSERNAME { get; set; }
/// <summary>
/// 更新时间
/// </summary>
//[Description("更新时间")]
//[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
//public string FLAGDEL { get; set; }
}
}