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 { /// /// 模块名称BZD条码配置页面模型 /// 作 者宁红钢 /// 编写日期2020年04月29日 /// public class BZDConfigModel : QDGModel { /// /// 条码格式规则主键 /// [Description("主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// /// 正则表达式 /// [Description("物料PID")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string MPID { get; set; } /// /// 物料类型 /// [Description("总成物料号")] //[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetMaterialClassComboxSource", MaxLength = 20)] [HTMLInput(UpdateRead = false, required = true, MaxLength = 300)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string MATERIALCODDE { get; set; } /// /// 数据类型 /// [Description("二维码头052")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string barcodeFist { get; set; } = "052"; /// /// 描述 /// [Description("公司编码(3位)")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 100)] [InputType(inputType.textArea)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string Company_code { get; set; } /// /// 描述 /// [Description("公司名称")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 100)] [InputType(inputType.textArea)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string Company_name { get; set; } /// /// 描述 /// [Description("产线代码")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 100)] [InputType(inputType.textArea)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string Line_code { get; set; } /// /// 描述 /// [Description("产线名称")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 100)] [InputType(inputType.textArea)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string Line_name { get; set; } /// /// 工厂编码 /// [Description("车型(1位)")] //[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetFactoryComboxSource", MaxLength = 100)] [HTMLInput(UpdateRead = false, required = true, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string Vehicle_type { get; set; } /// /// 工厂编码 /// [Description("车型说明")] //[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetFactoryComboxSource", MaxLength = 100)] [HTMLInput(UpdateRead = false, required = false, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string VTDetail { get; set; } /// /// 物料号 /// [Description("配置、颜色(1位)")] //[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetMaterialComboxSource", MaxLength = 200)] [HTMLInput(UpdateRead = false, required = true, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string configColor { get; set; } /// /// 物料号 /// [Description("配置说明")] //[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetMaterialComboxSource", MaxLength = 200)] [HTMLInput(UpdateRead = false, required = false, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string configDetail { get; set; } /// /// 物料号 /// [Description("颜色说明")] //[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetMaterialComboxSource", MaxLength = 200)] [HTMLInput(UpdateRead = false, required = false, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string ColorDetail { get; set; } /// /// 创建人 /// [Description("创建用户")] public string CREATEUSER { 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 UPDATEUSER { get; set; } /// /// 有效标值 /// [Description("有效标志")] public string FLGDEL { 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; } } }