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 SupportInteractionModel : QDGModel { public SupportInteractionModel() { this.propertyParameter = new Dictionary(); this.propertyParameter.Add("onClickCell", "function (rowIndex, field, value) { return ViewDealList(rowIndex, field, value); } "); } #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 = 100,Linked=true, DataAlign = DataAlign.left)] public Int32 PSequ { get; set; } /// /// 问题类型 /// [Description("问题类型")] [HTMLInput(UpdateRead = false, MaxLength = 50, required = true)] [InputType(inputType.combobox)] public string PType { get; set; } /// /// 问题类型名称 /// [Description("问题类型")] [HTMLInput(UpdateRead = false, MaxLength = 50, required = true)] [InputType(inputType.combobox)] [DGColumn(Hidden = false, frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.left)] public string PTypeName { get; set; } /// /// 问题描述 /// [Description("问题描述")] [HTMLInput(UpdateRead = false, MaxLength = 50, required = true, Width = 480,Height=90)] [InputType(inputType.textArea)] [DGColumn(Hidden = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)] public string PDesp { get; set; } /// /// 是否提交 /// [Description("是否提交")] [HTMLInput(UpdateRead = false, MaxLength = 50, required = true)] [InputType(inputType.text)] [DGColumn(Hidden = true, Sortable = true, Width = 150, DataAlign = DataAlign.left)] public string SubmitFlag { get; set; } /// /// 处理方法 /// [Description("处理方法")] [HTMLInput(UpdateRead = false, MaxLength = 50, Width = 480, Height = 90)] [InputType(inputType.textArea)] [DGColumn(Hidden = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)] public string Solve { get; set; } /// /// 处理机构 /// [Description("处理机构")] [HTMLInput(UpdateRead = false,required=true, MaxLength = 50, JsonUtl = "/User/GetOrgaList", multiple = false, 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 = 150, DataAlign = DataAlign.left)] public string SOrgaDesc { get; set; } /// /// 处理人员 /// [Description("处理人员")] [HTMLInput(UpdateRead = false, MaxLength = 50)] [InputType(inputType.combobox)] public string SUser { 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 = 50)] [InputType(inputType.text)] [DGColumn(Hidden = false, Sortable = true, Width = 60, DataAlign = DataAlign.right)] public decimal SDays { get; set; } /// ///是否有参照处理方法 /// [Description("是否有参照处理方法")] [HTMLInput(UpdateRead = false, MaxLength = 50)] [InputType(inputType.text)] public string IsRefer { get; set; } /// ///参照处理方法 /// [Description("参照处理方法")] [HTMLInput(UpdateRead = false, MaxLength = 50, Width = 480, Height = 90)] [InputType(inputType.textArea)] public string Refer { get; set; } /// ///解决关闭标识 /// [Description("解决关闭标识")] [HTMLInput(UpdateRead = false, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(Hidden = true, Sortable = true, Width = 200, DataAlign = DataAlign.left)] public string Ecind { get; set; } /// ///未解决关闭标识 /// [Description("未解决关闭标识")] [HTMLInput(UpdateRead = false, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(Hidden = true, Sortable = true, Width = 200, DataAlign = DataAlign.left)] public string Ncind { get; set; } /// ///关闭日期 /// [Description("关闭日期")] [HTMLInput(UpdateRead = false, MaxLength = 50)] [InputType(inputType.datebox)] [DGColumn(Hidden = true, Sortable = true, Width = 200, DataAlign = DataAlign.left)] public DateTime CDate { get; set; } /// ///删除标识 /// [Description("删除标识")] [HTMLInput(UpdateRead = false, MaxLength = 50)] [InputType(inputType.text)] public string FlgDel { get; set; } /// ///删除日期 /// [Description("删除日期")] [HTMLInput(UpdateRead = false, MaxLength = 50)] [InputType(inputType.text)] public DateTime Deldate { get; set; } /// ///附件名称 /// [Description("附件名称")] [HTMLInput(UpdateRead = false, MaxLength = 50)] [InputType(inputType.text)] public string AttachFileName { get; set; } /// ///附件 /// [Description("附件")] [HTMLInput(UpdateRead = false, MaxLength = 50)] [InputType(inputType.text)] public string AttachFile { get; set; } /// /// 问题处理记录 /// [Description("处理记录")] [DGColumn(Sortable = true, Width = 60, DataAlign = DataAlign.center, Linked = true)] public string DealList { get; set; } /// /// 问题状态 /// [Description("问题状态")] [HTMLInput(UpdateRead = false, JsonUtl = "/SupportInteraction/GetPStatusList", required = true, MaxLength = 50)] [InputType(inputType.combobox)] [DGColumn(Hidden = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PStatus { get; set; } /// ///搜索关键字 /// [Description("搜索关键字")] [HTMLInput(UpdateRead = false, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string Shkey { get; set; } /// /// 创建人 /// [Description("创建人")] [HTMLInput(UpdateRead = false, MaxLength = 50, required = true)] [InputType(inputType.hidden)] public string CreateUser { get; set; } /// /// 创建姓名 /// [Description("创建人")] [HTMLInput(UpdateRead = false, MaxLength = 50, required = true)] [InputType(inputType.text)] [DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string CUserName { get; set; } /// /// 创建日期 /// [Description("创建日期")] [HTMLInput(UpdateRead = false, MaxLength = 50, required = true)] [InputType(inputType.hidden)] [DGColumn(Sortable = true, Width = 200, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime CreateDate { get; set; } #endregion #region 非业务表属性 /// ///是否有参照处理方法 /// public bool IsReferMethod { get; set; } #endregion } }