using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using QMFrameWork.WebUI.Attribute;
using QMFrameWork.WebUI;
using System.Web.Mvc.Html;
namespace QMAPP.Web.Models.Sys
{
public class OnLineHelpModel : 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 = 20)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MENUID { get; set; }
///
///页面名称
///
[Description("页面名称")]
[HTMLInput(UpdateRead = false, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string PAGENAME { get; set; }
///
///模型名称
///
[Description("模型名称")]
[HTMLInput(UpdateRead = false, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MODELNAME { get; set; }
///
///字段名
///
[Description("字段名")]
[HTMLInput(UpdateRead = false, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string COLUMNANME { get; set; }
///
///P:页面级 C:字段级
///
[Description("帮助类型")]
[HTMLInput(UpdateRead = false, MaxLength = 1, JsonUtl = "/OnLineHelp/GetEquComboxSource")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string KIND { get; set; }
///
///帮助内容
///
[Description("帮助内容")]
[HTMLInput(UpdateRead = false, MaxLength = 2000, Height = 240, Width = 680)]
[InputType(inputType.textArea)]
public string HELPCONTENT { get; set; }
///
///字段帮助内容
///
[Description("帮助内容")]
[HTMLInput(UpdateRead = false, MaxLength = 16,Width = 200)]
[InputType(inputType.text)]
public string FIELDCONTENT
{
get
{
return HELPCONTENT;
}
set
{
HELPCONTENT = value;
}
}
///
///字段帮助集合
///
public string FieldsJson { get; set; }
}
}