using System; using System.Web.Mvc.Html; using QMFrameWork.WebUI; using QMFrameWork.WebUI.Attribute; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Mvc.Html; using QMAPP.Web; using QMFrameWork.WebUI; using QMFrameWork.WebUI.Attribute; namespace QMAPP.FJC.Web.Models.Operation { /// /// 作 用:零件替换 /// 作 者:周晓东 /// 编写日期:20180516 /// public class MainCodeChangeModel : QDGModel { [Description("主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } [Description("总成条码号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30, Width = 140)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string NEWMAINCODE { get; set; } [Description("原总成条码号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30, Width = 140)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string ORIGMAINCODE { get; set; } [Description("产品条码")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30, Width = 140)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string PRODUCTCODE { get; set; } [Description("物料名称")] [DGColumn(frozenColumns = false, Sortable = true, Width = 280, DataAlign = DataAlign.center)] public string MATERIAL_NAME { get; set; } [Description("物料号")] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string MATERIALCODE { get; set; } [Description("操作用户")] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] //public string CREATEUSER { get; set; } public string CREATEUSERNAME { get; set; } [Description("操作时间")] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")] public DateTime CREATEDATE { get; set; } [Description("操作时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 8, Width = 140)] [InputType(inputType.datebox)] public string CREATEDATESTART { get; set; } [Description("至")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 8, Width = 140)] [InputType(inputType.datebox)] public string CREATEDATEEND { get; set; } } }