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 ProductReplaceModel : 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)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string MAIN_PRODUCTCODE { get; set; } /// /// /// [Description("主体物料号")] [DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string MAIN_MATERIAL_CODE { get; set; } /// /// /// [Description("问题条码")] [DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string CHILD_PRODUCTCODE { get; set; } /// /// /// [Description("问题物料号")] [DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string CHILD_MATERIAL_CODE { get; set; } /// /// /// [Description("替换条码")] [DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string REPLACE_PRODUCTCODE { 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)] [InputType(inputType.datebox)] public string CREATEDATESTART { get; set; } [Description("至")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 8)] [InputType(inputType.datebox)] public string CREATEDATEEND { get; set; } } }