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.Stocktaking { public class CountSheetModel : QDGModel { /// ///主键 /// [Description("主键PID")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// ///计划ID /// [Description("计划ID")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string PLANID { get; set; } /// ///计划单号 /// [Description("计划单号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Hidden = true, Width = 150, DataAlign = DataAlign.center)] public string PLAN_NO { get; set; } /// ///盘点时间 /// [Description("盘点时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Hidden = true, Width = 150, DataAlign = DataAlign.center)] public string COUNT_DATE { get; set; } /// ///物料分类 /// [Description("物料分类")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Hidden = true, Width = 150, DataAlign = DataAlign.center)] public string MATERIAL_TYPE_CODE { get; set; } /// ///物料号 /// [Description("物料号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string MATERIAL_CODE { get; set; } /// ///物料名称 /// [Description("物料名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string MATERIALNAME { get; set; } /// ///产品条码 /// [Description("产品条码")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string PRODUCTCODE { get; set; } /// ///总成条码 /// [Description("总成条码")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string MAINCODE { get; set; } ///// /////物料条码 ///// //[Description("物料条码")] //[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] //[InputType(inputType.text)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] //public string MATERIAL_SN { get; set; } /// ///数量 /// [Description("数量")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string QTY { get; set; } /// ///备注 /// [Description("备注")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string REMARK { get; set; } /// ///盘点用户 /// [Description("盘点用户")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] public string CREATEUSER { get; set; } /// ///盘点用户 /// [Description("盘点用户")] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)] public string CREATEUSERNAME { get; set; } /// ///盘点时间 /// [Description("盘点时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string CREATEDATE { get; set; } /// ///修改人 /// [Description("修改人")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string UPDATEUSER { get; set; } /// ///修改时间 /// [Description("修改时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string UPDATEDATE { get; set; } } }