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

using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Data;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity;
namespace QMAPP.FJC.Entity.QT
{
/// <summary>
/// 模块名称:数据采集校验
/// 作 者:张鹏
/// 编写日期:2017年08月31日
/// </summary>
[DBTable(TableName = "T_QT_DAI_VALIDATION")]
public class DAIValidation : BaseEntity
{
/// <summary>
/// 主键
/// </summary>
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
/// <summary>
/// 采集点主键
/// </summary>
[DBColumn(ColumnName = "DAI_PID", DataType = DbType.String)]
public string DAI_PID { get; set; }
/// <summary>
/// 采集项编码
/// </summary>
[DBColumn(ColumnName = "ITEM_CODE", DataType = DbType.String)]
public string ITEM_CODE { get; set; }
/// <summary>
/// 验证代码
/// </summary>
[DBColumn(ColumnName = "VALIDATION_CODE", DataType = DbType.String)]
public string VALIDATION_CODE { get; set; }
/// <summary>
/// 标准值
/// </summary>
[DBColumn(ColumnName = "STD_VALUE", DataType = DbType.String)]
public string STD_VALUE { get; set; }
/// <summary>
/// 下限值
/// </summary>
[DBColumn(ColumnName = "LOWER_LMT", DataType = DbType.Decimal)]
public decimal LOWER_LMT { get; set; }
/// <summary>
/// 上限值
/// </summary>
[DBColumn(ColumnName = "UPPER_LMT", DataType = DbType.Decimal)]
public decimal UPPER_LMT { get; set; }
/// <summary>
/// 描述
/// </summary>
[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
/// <summary>
/// 创建人
/// </summary>
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
/// <summary>
/// 更新人
/// </summary>
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
/// <summary>
/// 禁用
/// </summary>
[DBColumn(ColumnName = "DISABLE", DataType = DbType.String)]
public string DISABLE { get; set; }
public string DISABLE_TEXT
{
get
{
if (string.Equals(DISABLE, "1"))
{ return "禁用"; }
else
{ return "启用"; }
}
set { }
}
public string WORKCELL_CODE { get; set; }
public string WORKCELL_NAME { get; set; }
public string DA_CODE { get; set; }
public string DA_NAME { get; set; }
public string VALIDATOR_NAME { get; set; }
}
}