using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI.Attribute;
using QMFrameWork.WebUI;
using System.Web.Mvc;
namespace QMAPP.Web.Models.Sys
{
public class RoleModel : QDGModel
{
public RoleModel()
{
}
///
/// 角色主键
///
[Description("角色编号")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 36)]
[InputType(inputType.hidden)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string RoleID { get; set; }
///
/// 角色描述
///
[Description("角色描述")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200)]
public string RoleDESC { get; set; }
///
/// 所在机构
///
[Description("所在机构")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = true,Hidden = true, Sortable = true, Width = 200)]
public string OrgaID { get; set; }
///
/// 所在机构
///
[Description("所在机构")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 200)]
public string OrgaDESC { get; set; }
///
/// 创建人
///
[Description("创建人")]
[InputType(inputType.hidden)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80)]
public string CreateUser { get; set; }
///
/// 创建日期
///
[Description("创建日期")]
[InputType(inputType.hidden)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime CreateTime { get; set; }
///
/// 更新人
///
[InputType(inputType.hidden)]
[Description("更新人")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80)]
public string UpdateUser { get; set; }
///
/// 更新日期
///
[Description("更新日期")]
[InputType(inputType.hidden)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime UpdateTime { get; set; }
///
/// 是否编辑画面
///
public string isEdit { get; set; }
///
/// 已选择权限
///
public string SelectedPowers1 { get; set; }
///
/// 已选择权限
///
public string SelectedPowers2 { get; set; }
///
/// 已选择权限
///
public string SelectedPowers3 { get; set; }
///
/// 已选择权限
///
public string SelectedPowers4 { get; set; }
///
/// 已选择权限
///
public string SelectedPowers5 { get; set; }
///
/// 成员用户
///
public List Users { get; set; }
}
}