using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI.Attribute;
using QMFrameWork.WebUI;
namespace QMAPP.FJC.Web.Models.Basic
{
public class ProcessRouteWorkCellModel : QDGModel
{
public ProcessRouteWorkCellSeqModel workCellSeqModel { get; set; }
public ProcessRouteWorkCellModel()
{
workCellSeqModel = new ProcessRouteWorkCellSeqModel();
}
///
///工艺工序主键
///
[Description("工艺工序主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
#region 工艺路线
///
///工艺路线主键
///
[Description("工艺路线主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
public string ROUTE_PID { get; set; }
/////
/////工艺路线编码
/////
//[Description("工艺路线编码")]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
//public string ROUTE_CODE { get; set; }
/////
/////工艺路线名称
/////
//[Description("工艺路线名称")]
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 36, JsonUtl = "/Dict/GetProcessInfoComboxSource")]
//[InputType(inputType.text)]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
//public string ROUTE_NAME { get; set; }
#endregion
#region 工序
///
///工序主键
///
[Description("工序名称")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 36, JsonUtl = "/Dict/GetAllWorkCellBasicComboxSource")]
[InputType(inputType.combobox)]
public string WORKCELL_PID { get; set; }
/////
/////工序编码
/////
//[Description("工序编码")]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
//public string WORKCELL_CODE { get; set; }
///
///工序名称
///
[Description("工序名称")]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string WORKCELL_NAME { get; set; }
#endregion
///
///反冲位置
///
[Description("反冲位置")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 1)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string BACKFLUSH { get; set; }
///
///文本
///
[Description("文本")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 200, Height = 30, Width = 400)]
[InputType(inputType.textArea)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string REMARK { get; set; }
///
///作业规范
///
[Description("作业规范")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 200, Height = 30, Width = 400)]
[InputType(inputType.textArea)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string OPT_STANDARD { get; set; }
///
///前置工序
///
[Description("前置工序")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 220, DataAlign = DataAlign.left)]
public string PARWORKCELLCODE { get; set; }
///
///删除标识
///
[Description("删除标识")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
[InputType(inputType.hidden)]
public string FLAGDEL { get; set; }
///
/// 创建用户
///
[Description("创建用户")]
public string CREATEUSR { get; set; }
///
/// 创建用户
///
[Description("创建用户")]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string CREATEUSERNAME { get; set; }
///
/// 创建时间
///
[Description("创建时间")]
[HTMLInput(UpdateRead = true, MaxLength = 20)]
[InputType(inputType.hidden)]
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime CREATEDATE { get; set; }
///
/// 更新用户
///
[Description("更新用户")]
public string UPDATEUSR { get; set; }
///
/// 更新用户
///
[Description("更新用户")]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string UPDATEUSERNAME { get; set; }
///
/// 更新时间
///
[Description("更新时间")]
[HTMLInput(UpdateRead = true, MaxLength = 20)]
[InputType(inputType.hidden)]
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime UPDATEDATE { get; set; }
///
/// 明细数据
///
public string DetailValue { get; set; }
}
}