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

113 lines
3.1 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using QMAPP.Web;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
using System.Web.UI.MobileControls;
namespace QMAPP.Web.Models.Sys
{
/// <summary>
/// 用户所属组织机构
/// </summary>
public class UserOrgaizationModel : QDGModel
{
public UserOrgaizationModel()
{
//设置页尺寸
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 UserIDPK { get; set; }
[InputType(inputType.combobox)]
[ModelDictionary]
public string UserID { get; set; }
/// <summary>
/// 用户描述
/// </summary>
[Description("用户")]
[HTMLInput(UpdateRead = false, MaxLength = 100)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 300)]
public string UserName { get; set; }
/// <summary>
/// 组织机构编号
/// </summary>
[InputType(inputType.combobox)]
[ModelDictionary]
public string OrgaID { get; set; }
/// <summary>
/// 组织机构描述
/// </summary>
[Description("组织机构")]
[HTMLInput(UpdateRead = false, MaxLength = 100)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 300)]
public string OrgaDESC { get; set; }
/// <summary>
/// 是否主组织机构
/// </summary>
public string IsMainOrag { get; set; }
/// <summary>
/// 当前的组织机构编号
/// </summary>
public string CurrentOrgaID { get; set; }
/// <summary>
/// 选择的组织机构
/// </summary>
[InputType(inputType.hidden)]
public string SelectedOrgas { get; set; }
/// <summary>
/// 创建日期
/// </summary>
[InputType(inputType.hidden)]
public DateTime CreateDate { get; set; }
/// <summary>
/// 创建人
/// </summary>
[InputType(inputType.hidden)]
public string CreateUser { get; set; }
/// <summary>
/// 更新日期
/// </summary>
[InputType(inputType.hidden)]
public DateTime UpdateDate { get; set; }
/// <summary>
/// 更新人
/// </summary>
[InputType(inputType.hidden)]
public string UpdateUser { get; set; }
/// <summary>
/// 是否编辑画面
/// </summary>
public string isEdit { get; set; }
/// <summary>
/// 组织机构和用户LIST
/// </summary>
public List<UserOrgaizationModel> resultList { get; set; }
}
}