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
{
///
///主键
///
//[Description("主键")]
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///能源表编码
///
//[Description("能源表编码")]
[DBColumn(ColumnName = "METER_PID", DataType = DbType.String)]
public string METER_PID { get; set; }
///
/// 设备编号
///
//[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; }
///
/// 工厂编号
///
public string FACTORY_CODE { get; set; }
///
///描述
///
//[Description("描述")]
//[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
///
/// 创建用户
///
//[Description("创建用户")]
//[DBColumn(ColumnName = "CREATEUSR", DataType = DbType.String)]
public string CREATEUSR { get; set; }
public string CREATEUSERNAME { get; set; }
///
/// 创建时间
///
//[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; }
///
/// 更新用户
///
//[Description("更新用户")]
//[DBColumn(ColumnName = "UPDATEUSR", DataType = DbType.String)]
public string UPDATEUSR { get; set; }
public string UPDATEUSERNAME { get; set; }
///
/// 更新时间
///
//[Description("更新时间")]
//[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
//public string FLAGDEL { get; set; }
}
}