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.Web.Models.Sys
{
public class ParaAuthorityPortModel : QDGModel
{
public ParaAuthorityPortModel()
{
//设置页尺寸
this.pageSize = MvcApplication.PageSize.ToString();
}
///
/// 参数主键
///
[Description("参数编号")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 36)]
[InputType(inputType.hidden)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string ParaID { get; set; }
///
/// 参数类型
///
[Description("参数类型")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 1)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200)]
[ModelDictionary]
public string ParaType { get; set; }
///
/// 参数描述
///
[Description("参数名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200)]
public string ParaDESC { get; set; }
///
/// 用户编号
///
[Description("用户编号")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 36)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Hidden = true, Sortable = true, Width = 200)]
public string UserID { get; set; }
///
/// 用户姓名
///
[Description("用户姓名")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200)]
public string UserName { get; set; }
///
/// 所在机构
///
[Description("所在机构")]
[HTMLInput(UpdateRead = false, required = false, JsonUtl = "/Dict/GetOrgaList", MaxLength = 50)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true,Hidden = true, Sortable = true, Width = 200)]
public string OrgaID { get; set; }
///
/// 所在机构
///
[Description("所在机构")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200)]
public string OrgaDESC { get; set; }
///
/// 删除标识
///
[InputType(inputType.hidden)]
public string DelFlag { get; set; }
///
/// 创建日期
///
[InputType(inputType.hidden)]
public DateTime CreateTime { get; set; }
///
/// 创建人
///
[InputType(inputType.hidden)]
public string CreateUser { get; set; }
///
/// 更新日期
///
[InputType(inputType.hidden)]
public DateTime UpdateTime { get; set; }
///
/// 更新人
///
[InputType(inputType.hidden)]
public string UpdateUser { get; set; }
///
/// 是否编辑画面
///
public string isEdit { get; set; }
}
}