using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity;
namespace QMAPP.FJC.Entity.Basic
{
///
/// 模块编号:M13-1
/// 作 用:先决条件校验规则
/// 作 者:王庆男
/// 编写日期:2015年06月09日
///
[DBTable(TableName = "T_BD_RULE")]
public class ProcessRule : BaseEntity
{
///
///主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///工序设置主键
///
[DBColumn(ColumnName = "PSD", DataType = DbType.String)]
public string PSD { get; set; }
///
///0:前置工序
//1:冷却时间
//2:零件组成
///
[DBColumn(ColumnName = "RULETYPE", DataType = DbType.String)]
public string RULETYPE { get; set; }
public string RULETYPES { get; set; }
public string RULETYPETEXT { get; set; }
///
///0:前置工序 为工序类别
//1:冷却时间 为工序类别
//翻译对应的工序类别
///
[DBColumn(ColumnName = "RULECONTENT", DataType = DbType.String)]
public string RULECONTENT { get; set; }
public string RULECONTENTTEXT { get; set; }
///
///规则值
///
[DBColumn(ColumnName = "RULEVALUE", DataType = DbType.Int32)]
public int RULEVALUE { get; set; }
///
///零件类别
///
[DBColumn(ColumnName = "PRODUCTTYPE", DataType = DbType.String)]
public string PRODUCTTYPE { get; set; }
public string PRODUCTTYPETEXT { get; set; }
///
///零件来源
///
public string PRODUCTSOURCE { get; set; }
///
///零件单位
///
public string PRODUCTUNIT { get; set; }
///
///零件额外判断属性
///
[DBColumn(ColumnName = "PRODUCTATTR", DataType = DbType.String)]
public string PRODUCTATTR { get; set; }
///
///0:搪塑
//1:骨架注塑
//2:气囊支架注塑
//3:风道注塑
//4:中控之间注塑
//5:HUD风道注塑
//5:冷刀弱化
//6:火焰加工
//7:预热
//8:浇注
//9:红外扫描
//10:冲切
//11:铣削
//12:铆接
//13:超时波焊接
//14:红外焊接
//15:总成装配
///
[DBColumn(ColumnName = "CURRENTPROCESS", DataType = DbType.String)]
public string CURRENTPROCESS { get; set; }
///
///条件顺序
///
[DBColumn(ColumnName = "RULESORT", DataType = DbType.Int32)]
public int RULESORT { get; set; }
///
///
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
///
///
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
///
///
///
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
[DBColumn(ColumnName = "MEMO", DataType = DbType.String)]
public string MEMO { get; set; }
///
///
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
public string PROCESSNAME { get; set; }
///
/// 实际值
///
public int RULEVALUENOW { get; set; }
///
/// 零件条码显示
///
public string PRODUCTCODES { get; set; }
///
/// 是否合格
///
public bool isOk { get; set; }
public string isOkTEXT { get; set; }
///
/// 是否合格
///
public bool isValid { get; set; }
///
/// 错误标识
///
public bool isError { get; set; }
///
/// 错误信息
///
public string InfoError { get; set; }
///
/// 导入时判断添加修改
///
public bool IsNewInfo { get; set; }
}
}