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 System.Web.Mvc; namespace QMAPP.Web.Models.Sys { /// /// 通知管理查看页面模型 /// public class NoticeBrowseModel : QDGModel { /// ///通知浏览记录ID /// [Description("通知浏览记录ID")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// ///通知信息ID /// [Description("")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] public string NOTICEID { get; set; } /// ///通知标题 /// [Description("通知标题")] [HTMLInput(UpdateRead = false,MaxLength = 200)] [InputType(inputType.text)] public string NOTICETITLE { get; set; } /// ///通知内容 /// [Description("通知内容")] [HTMLInput(UpdateRead = false,MaxLength = 8000, Height = 200, Width = 600)] [InputType(inputType.textArea)] [DGColumn(frozenColumns = true, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string NOTICECONTEXT { get; set; } /// ///通知日期 /// [Description("通知日期")] [HTMLInput(UpdateRead = false,MaxLength = 3 ,FormatDate = "yyyy-MM-dd")] [InputType(inputType.datebox)] public string USETIME { get; set; } /// ///浏览用户 /// [Description("浏览用户")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.left)] public string USERID { get; set; } /// ///0:未浏览 1:已浏览 /// [Description("是否浏览")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 70, DataAlign = DataAlign.left, Hidden = true)] public string ISREAD { get; set; } /// ///浏览时间 /// [Description("浏览时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 3)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center,Hidden=true)] public string READTIME { get; set; } /// ///0:未确认1:已确认 /// [Description("是否确认")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.left, Hidden = true)] public string ISAFFIRM { get; set; } /// ///确认时间 /// [Description("确认时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 3)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = false, Width = 100, DataAlign = DataAlign.center,Hidden=true)] public string AFFIRMTIME { get; set; } /// ///回复内容 /// [Description("回复内容")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 4000, Height = 110, Width = 600)] [InputType(inputType.textArea)] [DGColumn(frozenColumns = false, Sortable = false, Width = 400, DataAlign = DataAlign.left)] public string REPLYCONTENT { get; set; } /// ///回复时间 /// [Description("回复时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 3)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = false, Width = 200, DataAlign = DataAlign.center)] public string REPLYTIME { get; set; } public string REPLYTIMETXT { get; set; } /// ///是否可回复(0:不回复,1:回复) /// [Description("是否回复")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1)] [InputType(inputType.hidden)] [DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.left)] public string CANREPLY { get; set; } /// ///附件 /// [Description("附件")] [HTMLInput(UpdateRead = false, MaxLength = 3)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = false, Width = 100, DataAlign = DataAlign.left)] public string ATTACHFILE { get; set; } /// /// 浏览记录列表字符串 /// public string INFOLIST { get; set; } /// /// 错误信息 /// public string Error { get; set; } /// /// 是否是查看页面 /// public string check { get; set; } /// /// 当前登录用户 /// public string LogInUserName { get; set; } } }