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
{
///
/// 用户所属组织机构
///
public class UserOrgaizationModel : QDGModel
{
public UserOrgaizationModel()
{
//设置页尺寸
this.pageSize = MvcApplication.PageSize.ToString();
}
///
/// 用户编号
///
[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; }
///
/// 用户描述
///
[Description("用户")]
[HTMLInput(UpdateRead = false, MaxLength = 100)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 300)]
public string UserName { get; set; }
///
/// 组织机构编号
///
[InputType(inputType.combobox)]
[ModelDictionary]
public string OrgaID { get; set; }
///
/// 组织机构描述
///
[Description("组织机构")]
[HTMLInput(UpdateRead = false, MaxLength = 100)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 300)]
public string OrgaDESC { get; set; }
///
/// 是否主组织机构
///
public string IsMainOrag { get; set; }
///
/// 当前的组织机构编号
///
public string CurrentOrgaID { get; set; }
///
/// 选择的组织机构
///
[InputType(inputType.hidden)]
public string SelectedOrgas { get; set; }
///
/// 创建日期
///
[InputType(inputType.hidden)]
public DateTime CreateDate { get; set; }
///
/// 创建人
///
[InputType(inputType.hidden)]
public string CreateUser { get; set; }
///
/// 更新日期
///
[InputType(inputType.hidden)]
public DateTime UpdateDate { get; set; }
///
/// 更新人
///
[InputType(inputType.hidden)]
public string UpdateUser { get; set; }
///
/// 是否编辑画面
///
public string isEdit { get; set; }
///
/// 组织机构和用户LIST
///
public List resultList { get; set; }
}
}