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

213 lines
6.2 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;
namespace QMAPP.Web.Models.Sys
{
public class UserModel : QDGModel
{
public UserModel()
{
//设置页尺寸
this.pageSize = MvcApplication.PageSize.ToString();
}
/// <summary>
/// 用户主键
/// </summary>
[Description("用户编号")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 36)]
[InputType(inputType.hidden)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string UserID { get; set; }
/// <summary>
/// 用户名
/// </summary>
[Description("用户名 ")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 50,CustomType = "NOCHS")]
[InputType(inputType.text)]
[DGColumn(frozenColumns=true,Sortable = true, Width = 100)]
public string LoginUserID { get; set; }
/// <summary>
/// 员工号
/// </summary>
[Description("员工号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 15, CustomType = "NOCHS")]
[InputType(inputType.text)]
[DGColumn(Sortable = true, Width = 100)]
public string EmployeeNo { get; set; }
/// <summary>
/// 员工姓名
/// </summary>
[Description("员工姓名")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(Sortable = true, Width = 100)]
public string UserName { get; set; }
/// <summary>
/// 密码
/// </summary>
[Description("密码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50,Width=150)]
[InputType(inputType.password)]
public string PassWord { get; set; }
/// <summary>
/// 确认密码
/// </summary>
[Description("确认密码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50,Width=150)]
[InputType(inputType.password)]
public string RepartPassWord { get; set; }
/// <summary>
/// 组织结构
/// </summary>
[Description("组织机构")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, Width = 155)]
[InputType(inputType.combobox)]
public string OrgaID { get; set; }
/// <summary>
/// 组织机构
/// </summary>
[Description("组织机构")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(Sortable = true, Width = 200)]
public string OrgaDESC { get; set; }
/// <summary>
/// 用户类别
/// </summary>
[Description("用户类别")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2, Width = 155)]
[InputType(inputType.combobox)]
[DGColumn(Sortable = true, Width = 60, DataAlign = DataAlign.left)]
[ModelDictionary]
public string UserType { get; set; }
/// <summary>
/// 激活
/// </summary>
[Description("激活")]
public bool CkActivateFlg { get; set; }
/// <summary>
/// 激活
/// </summary>
[Description("激活")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1,Width=155)]
[InputType(inputType.combobox)]
[DGColumn(Hidden = false, Sortable = true, Width = 40,DataAlign=DataAlign.center)]
[ModelDictionary]
public string ActivateFlg { get; set; }
/// <summary>
/// 电话
/// </summary>
[Description("电话")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(Sortable = true, Width = 200)]
public string Tel { get; set; }
/// <summary>
/// 电子邮件
/// </summary>
[Description("电子邮件")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(Sortable = true, Width = 200)]
public string Email { get; set; }
/// <summary>
/// 删除标识
/// </summary>
[InputType(inputType.hidden)]
public string DelFlag { get; set; }
/// <summary>
/// 创建日期
/// </summary>
[InputType(inputType.hidden)]
public DateTime CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
[InputType(inputType.hidden)]
public string CreateUser { get; set; }
/// <summary>
/// 更新日期
/// </summary>
[InputType(inputType.hidden)]
public DateTime UpdateTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[InputType(inputType.hidden)]
public string UpdateUser { get; set; }
/// <summary>
/// 选择的角色
/// </summary>
[InputType(inputType.hidden)]
public string SelectedRoles { get; set; }
///// <summary>
///// 选择的权限
///// </summary>
//[InputType(inputType.hidden)]
//public string SelectedPowers { 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>
[InputType(inputType.hidden)]
public string SelectedOrgas { get; set; }
/// <summary>
/// 是否编辑画面
/// </summary>
public string isEdit { get; set; }
}
}