天津投入产出系统后端
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.

121 lines
3.7 KiB

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()
{
}
/// <summary>
/// 角色主键
/// </summary>
[Description("角色编号")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 36)]
[InputType(inputType.hidden)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string RoleID { get; set; }
/// <summary>
/// 角色描述
/// </summary>
[Description("角色描述")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200)]
public string RoleDESC { get; set; }
/// <summary>
/// 所在机构
/// </summary>
[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; }
/// <summary>
/// 所在机构
/// </summary>
[Description("所在机构")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 200)]
public string OrgaDESC { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
[InputType(inputType.hidden)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80)]
public string CreateUser { get; set; }
/// <summary>
/// 创建日期
/// </summary>
[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; }
/// <summary>
/// 更新人
/// </summary>
[InputType(inputType.hidden)]
[Description("更新人")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80)]
public string UpdateUser { get; set; }
/// <summary>
/// 更新日期
/// </summary>
[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; }
/// <summary>
/// 是否编辑画面
/// </summary>
public string isEdit { get; set; }
/// <summary>
/// 已选择权限
/// </summary>
public string SelectedPowers1 { get; set; }
/// <summary>
/// 已选择权限
/// </summary>
public string SelectedPowers2 { get; set; }
/// <summary>
/// 已选择权限
/// </summary>
public string SelectedPowers3 { get; set; }
/// <summary>
/// 已选择权限
/// </summary>
public string SelectedPowers4 { get; set; }
/// <summary>
/// 已选择权限
/// </summary>
public string SelectedPowers5 { get; set; }
/// <summary>
/// 成员用户
/// </summary>
public List<SelectListItem> Users { get; set; }
}
}