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

135 lines
3.9 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
namespace QMAPP.Common.Web.Models
{
/// <summary>
/// 查询模板编辑模型
/// 创建者:李炳海
/// 创建日期:2014.8.13
/// </summary>
public class TemplateEditModel
{
/// <summary>
/// 模板主键
/// </summary>
[Description("模板主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.hidden)]
public string TEMPLATEID { get; set; }
/// <summary>
/// 模板名称
/// </summary>
[Description("模板名称")]
[HTMLInput(required = true, MaxLength = 50)]
[InputType(inputType.text)]
public string TEMPLATENAME { get; set; }
/// <summary>
/// 对应查询模板
/// </summary>
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.hidden)]
public string QUERYPROGRAM { get; set; }
/// <summary>
/// 分页尺寸
/// </summary>
[Description("分页尺寸")]
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/QueryTL/GetPageSizeList",multiple = false,Width=155)]
[InputType(inputType.combobox)]
public string PAGESIZE { get; set; }
/// <summary>
/// 是否公开
/// </summary>
[Description("公开")]
[HTMLInput(MaxLength = 1)]
[InputType(inputType.combobox)]
[ModelDictionary]
public string ISPUBLISH { get; set; }
/// <summary>
/// 备注
/// </summary>
[Description("备注")]
[HTMLInput(MaxLength = 100, Width = 370, Height = 50)]
[InputType(inputType.textArea)]
public string REMARK { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
[HTMLInput(UpdateRead = true, MaxLength = 36)]
[InputType(inputType.text)]
public string CREATEUSER { get; set; }
/// <summary>
/// 创建用户名称
/// </summary>
[Description("创建用户")]
[HTMLInput(UpdateRead = true, MaxLength = 50)]
[InputType(inputType.text)]
public string CREATEUSERNAME { get; set; }
/// <summary>
/// 创建日期
/// </summary>
[Description("创建日期")]
[HTMLInput(UpdateRead = true, MaxLength = 20,FormatDate="yyyy-MM-dd")]
[InputType(inputType.text)]
public DateTime CREATEDATE { get; set; }
/// <summary>
/// 更新人
/// </summary>
[Description("更新人")]
[HTMLInput(UpdateRead = true, MaxLength = 36)]
[InputType(inputType.hidden)]
public string UPDATEUSER { get; set; }
/// <summary>
/// 更新日期
/// </summary>
[Description("更新日期")]
[HTMLInput(UpdateRead = true, MaxLength = 20)]
[InputType(inputType.hidden)]
public DateTime UPDATEDATE { get; set; }
/// <summary>
/// 对齐方式
/// </summary>
[Description("公开")]
[HTMLInput(MaxLength = 10)]
[InputType(inputType.combobox)]
[ModelDictionary]
public string DATAALIGN { get; set; }
/// <summary>
/// 查询条件设置信息
/// </summary>
public List<TemplateWhereModel> Wheres { get; set; }
/// <summary>
/// 列设置信息
/// </summary>
public List<TemplateColumnModel> Columns { get; set; }
/// <summary>
/// 未选排序字段
/// </summary>
public List<TemplateSortModel> UnSorts { get; set; }
/// <summary>
/// 已选排序字段
/// </summary>
public List<TemplateSortModel> EnSorts { get; set; }
}
}