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

161 lines
5.4 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;
namespace QMAPP.Web.Models.Sys
{
/// <summary>
/// 用户委托授权
/// </summary>
public class UserEntrustModel : QDGModel
{
/// <summary>
/// 主键
/// </summary>
[HTMLInput(UpdateRead = true, required = true, MaxLength = 36)]
[InputType(inputType.hidden)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
/// <summary>
/// 委托用户
/// </summary>
[Description("委托用户")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36,Width = 80)]
[InputType(inputType.text)]
public string ENTRUSTUSER { get; set; }
/// <summary>
/// 委托用户
/// </summary>
[Description("委托用户")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36, Width = 70)]
[InputType(inputType.text)]
public string ENTRUSTUSERNAME { get; set; }
[Description("委托用户")]
[HTMLInput(UpdateRead = false, required = true)]
[InputType(inputType.hidden)]
[DGColumn(Sortable = true, Width = 80)]
public string ENTRUSTUSERID { get; set; }
/// <summary>
/// 代理用户
/// </summary>
[Description("代理用户")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36, Width = 80)]
[InputType(inputType.text)]
public string AGENTUSER { get; set; }
/// <summary>
/// 代理用户
/// </summary>
[Description("代理用户")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36, Width = 70)]
[InputType(inputType.text)]
public string AGENTUSERNAME { get; set; }
/// <summary>
/// 代理用户
/// </summary>
[Description("代理用户")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36,Width = 150)]
[InputType(inputType.combobox)]
[DGColumn(Sortable = true, Width = 80)]
public string AGENTUSERID { get; set; }
/// <summary>
/// 起始时间
/// </summary>
[Description("起始时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20,Width=150)]
[InputType(inputType.dateTimeBox)]
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime STARTTIME { get; set; }
/// <summary>
/// 结束时间
/// </summary>
[Description("结束时间")]
[HTMLInput(UpdateRead = false,required=true, MaxLength = 20,Width=150)]
[InputType(inputType.dateTimeBox)]
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime ENDTIME { get; set; }
/// <summary>
/// 委托原因
/// </summary>
[Description("委托原因")]
[HTMLInput(UpdateRead = false,required = true,MaxLength = 150, Width = 400)]
[InputType(inputType.text)]
[DGColumn(Sortable = true, Width = 200)]
public string ENTRUSTREASON { get; set; }
/// <summary>
/// 删除标志
/// </summary>
[Description("删除标志")]
[InputType(inputType.hidden)]
public string FLGDEL { 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 CREATEDATE { 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 UPDATEDATE { get; set; }
/// <summary>
/// 选择的权限
/// </summary>
[InputType(inputType.hidden)]
public string SelectedPowers { get; set; }
/// <summary>
/// 起始时间
/// </summary>
[Description("起始时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.datebox)]
public string STARTDATE { get; set; }
/// <summary>
/// 结束时间
/// </summary>
[Description("结束时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.datebox)]
public string ENDDATE { get; set; }
}
}