You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.4 KiB
52 lines
1.4 KiB
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
|
|
{
|
|
/// <summary>
|
|
/// 智能感知
|
|
/// </summary>
|
|
public class PerceptModel : QDGModel
|
|
{
|
|
public PerceptModel()
|
|
{
|
|
this.checkbox = false;
|
|
this.InitPageSize = "5";
|
|
this.propertyParameter = new Dictionary<string, string>();
|
|
this.propertyParameter.Add("onDblClickRow", "function (rowIndex, rowData) {selectItem(rowIndex, rowData);}");
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
public string id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 编码
|
|
/// </summary>
|
|
[Description("编号")]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
|
|
public string code { get; set; }
|
|
|
|
//显示
|
|
public string label { get; set; }
|
|
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
[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; }
|
|
}
|
|
}
|