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

166 lines
6.2 KiB

using System;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using QMAPP.Web;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
namespace QMAPP.MD.Web.Models
{
/// <summary>
/// 模块名称:采集数据借口-状态码配置
/// 作 者:周晓东
/// 编写日期:2010514
/// </summary>
public class WorkCellStateModel : QDGModel
{
///<summary>
///主键
///</summary>
[Description("主键")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
/// <summary>
/// 工厂编号
/// </summary>
[Description("工厂")]
[HTMLInput(UpdateRead = true, required = true, JsonUtl = "/Dict/GetFactoryComboxSource", MaxLength = 20, Width = 160)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string FACTORY_CODE { get; set; }
/// <summary>
/// 工厂名称
/// </summary>
[Description("工厂名称")]
[DGColumn(frozenColumns = true, Sortable = true, Width = 300, DataAlign = DataAlign.left)]
public string FACTORY_NAME { get; set; }
///<summary>
///工序编码
///</summary>
[Description("工序编码")]
[HTMLInput(UpdateRead = false, required = true, Width = 160)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string WORKCELL_CODE { get; set; }
[Description("工序名称")]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string WORKCELL_NAME { get; set; }
///<summary>
///状态码
///</summary>
[Description("状态码")]
[HTMLInput(UpdateRead = false, required = true, Width = 160)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string STATE_CODE { get; set; }
[Description("状态码名称")]
[HTMLInput(UpdateRead = false, required = true, Width = 160)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string STATE_NAME { get; set; }
///<summary>
///顺序
///</summary>
[Description("顺序")]
[HTMLInput(UpdateRead = false, required = true, Width = 160)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public int STATE_SEQ { get; set; }
[Description("录入选择")]
[HTMLInput(UpdateRead = false, required = false, Width = 160, JsonUtl = "/Dict/GetEntryExitActionComboxSource")]
[InputType(inputType.combobox)]
public string ENTRY_ACTIONS { get; set; }
[Description("录入")]
[HTMLInput(UpdateRead = false, required = true, Width = 160)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 300, DataAlign = DataAlign.center)]
public string ENTRY_ACTION { get; set; }
[Description("退出选择")]
[HTMLInput(UpdateRead = false, required = false, Width = 160, JsonUtl = "/Dict/GetEntryExitActionComboxSource")]
[InputType(inputType.combobox)]
public string EXIT_ACTIONS { get; set; }
[Description("退出")]
[HTMLInput(UpdateRead = false, required = true, Width = 160)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 300, DataAlign = DataAlign.center)]
public string EXIT_ACTION { get; set; }
///<summary>
///描述
///</summary>
[Description("描述")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 200)]
[InputType(inputType.textArea)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string REMARK { get; set; }
//T_QT_STATEACTION里的字段用于添加ENTRY_ACTION、EXIT_ACTION字段
public string ACTION_CODE { get; set; }
public string ACTION_NAME { get; set; }
///<summary>
///创建用户
///</summary>
//[Description("创建用户")]
//[HTMLInput(UpdateRead = false, required = false, MaxLength = 36)]
//[InputType(inputType.text)]
//public string CREATEUSER { get; set; }
//[Description("创建用户")]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
//public string CREATEUSER_NAME { get; set; }
/////<summary>
/////创建时间
/////</summary>
//[Description("创建时间")]
//[HTMLInput(UpdateRead = false,required = false, MaxLength = 8)]
//[InputType(inputType.datebox)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")]
//public DateTime CREATEDATE { get; set; }
/////<summary>
/////更新用户
/////</summary>
//[Description("更新用户")]
//[HTMLInput(UpdateRead = false, required = false, MaxLength = 36)]
//[InputType(inputType.text)]
//public string UPDATEUSER { get; set; }
//[Description("更新用户")]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
//public string UPDATEUSER_NAME { get; set; }
/////<summary>
/////更新时间
/////</summary>
//[Description("更新时间")]
//[HTMLInput(UpdateRead = false, required = false, MaxLength = 8)]
//[InputType(inputType.datebox)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")]
//public DateTime UPDATEDATE { get; set; }
}
}