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.
127 lines
4.1 KiB
127 lines
4.1 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 UserListModel : QDGModel
|
|
{
|
|
public UserListModel()
|
|
{
|
|
//设置页尺寸
|
|
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)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns=true,Sortable = true, Width = 100)]
|
|
public string LoginUserID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 员工号
|
|
/// </summary>
|
|
[Description("员工号")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
|
|
[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, JsonUtl = "/User/GetOrgaList", 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 = 100, DataAlign = DataAlign.left)]
|
|
[ModelDictionary]
|
|
public string UserType { 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; }
|
|
|
|
}
|
|
}
|