using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc.Html; using QMAPP.Web; using QMFrameWork.WebUI; using QMFrameWork.WebUI.Attribute; namespace QMAPP.Common.Web.Models { /// /// 智能感知 /// public class PerceptModel : QDGModel { public PerceptModel() { this.checkbox = false; this.InitPageSize = "5"; this.propertyParameter = new Dictionary(); this.propertyParameter.Add("onDblClickRow", "function (rowIndex, rowData) {selectItem(rowIndex, rowData);}"); } /// /// 主键 /// public string id { get; set; } /// /// 编码 /// [Description("编号")] [DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string code { get; set; } //显示 public string label { get; set; } /// /// 名称 /// [Description("名称")] [DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string text { get; set; } public string term { get; set; } public string Url { get; set; } } }