天津投入产出系统后端
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
3.8 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 QMAPP.Entity.Sys;
namespace QMAPP.Web.Models.Sys
{
public class OrgaizationModel : QDGModel
{
public OrgaizationModel()
{
}
/// <summary>
/// 组织编号
/// </summary>
[Description("组织编号")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
[InputType(inputType.text)]
[DGColumn(Sortable = true, Width = 100,PrimaryKey = true)]
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("激活")]
public bool CkACTIVATEFLG { get; set; }
/// <summary>
/// 激活
/// </summary>
[Description("激活")]
[DGColumn(Sortable = true, Width = 60,DataAlign=DataAlign.center)]
public string ACTIVATEFLG { get; set; }
/// <summary>
/// 上级组织
/// </summary>
[Description("上级组织")]
[HTMLInput(UpdateRead = true, MaxLength = 20)]
[InputType(inputType.hidden)]
[DGColumn(Hidden = true,Sortable = true, Width = 200)]
public string OrgaParent { get; set; }
/// <summary>
/// 上级组织
/// </summary>
[Description("上级组织")]
[HTMLInput(UpdateRead = true, MaxLength = 20)]
[InputType(inputType.text)]
[DGColumn(Sortable = true, Width = 200)]
public string OrgaParentDESC { 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 List<Orgaization> OrgaList { get; set; }
/// <summary>
/// 选择的权限
/// </summary>
[InputType(inputType.hidden)]
public string SelectedPowers { get; set; }
/// <summary>
/// 选择的角色
/// </summary>
[InputType(inputType.hidden)]
public string SelectedRoles { get; set; }
/// <summary>
/// 删除标识
/// </summary>
public string DelFlag { get; set; }
/// <summary>
/// 是否编辑画面
/// </summary>
public string isEdit { get; set; }
}
}