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 { /// /// 支持交互问题类型模型 /// 创建者:韩磊 /// 创建日期:2014.12.22 /// public class SIProblemTypeModel :QDGModel { #region 业务逻辑表属性 /// /// 主键 /// [Description("主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.hidden)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// /// 问题类型 /// [Description("问题类型")] [HTMLInput(UpdateRead = false, MaxLength = 50,required=true)] [InputType(inputType.text)] [DGColumn(Hidden = false, frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.left)] public string PTypeName { get; set; } /// /// 处理机构 /// [Description("处理机构")] [HTMLInput(UpdateRead = false, MaxLength = 36, required = true,Width=155)] [InputType(inputType.combobox)] public string SDept { get; set; } /// /// 处理机构 /// [Description("处理机构")] [HTMLInput(UpdateRead = false, MaxLength = 50, required = true, Width = 155)] [InputType(inputType.combobox)] [DGColumn(Hidden = false, Sortable = true, Width = 200, DataAlign = DataAlign.left)] public string SOrgaDesc { get; set; } /// /// 处理人员 /// [Description("处理人员")] [HTMLInput(UpdateRead = false, MaxLength = 36, Width = 155)] [InputType(inputType.combobox)] public string SUser { get; set; } /// /// 处理人员ID /// [Description("处理人员")] [HTMLInput(UpdateRead = false, MaxLength = 36, Width = 155)] [InputType(inputType.combobox)] public string SUserID { get; set; } /// /// 处理人员姓名 /// [Description("处理人员")] [HTMLInput(UpdateRead = false, MaxLength = 100, Width = 155)] [InputType(inputType.text)] [DGColumn(Hidden = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string SUserName { get; set; } /// /// 备注 /// [Description("备注")] [HTMLInput(UpdateRead = false, MaxLength = 100)] [InputType(inputType.text)] [DGColumn(Hidden = false, Sortable = true, Width = 200, DataAlign = DataAlign.left)] public string Remark { get; set; } /// ///创建人 /// [Description("创建人")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string CreateUser { get; set; } /// ///创建日 /// [Description("创建日期")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 7)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime CreateDate { get; set; } /// ///更新人 /// [Description("更新人")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string UpdateUser { get; set; } /// ///更新日 /// [Description("更新日期")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 7)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime UpdateDate { get; set; } #endregion #region 非业务表扩展属性 #endregion } }