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.
169 lines
5.6 KiB
169 lines
5.6 KiB
4 years ago
|
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
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 通知管理查看页面模型
|
||
|
/// </summary>
|
||
|
public class NoticeBrowseModel : QDGModel
|
||
|
{
|
||
|
///<summary>
|
||
|
///通知浏览记录ID
|
||
|
///</summary>
|
||
|
[Description("通知浏览记录ID")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
||
|
public string PID { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///通知信息ID
|
||
|
///</summary>
|
||
|
[Description("")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
||
|
[InputType(inputType.text)]
|
||
|
public string NOTICEID { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///通知标题
|
||
|
///</summary>
|
||
|
[Description("通知标题")]
|
||
|
[HTMLInput(UpdateRead = false,MaxLength = 200)]
|
||
|
[InputType(inputType.text)]
|
||
|
public string NOTICETITLE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///通知内容
|
||
|
///</summary>
|
||
|
[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; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///通知日期
|
||
|
///</summary>
|
||
|
[Description("通知日期")]
|
||
|
[HTMLInput(UpdateRead = false,MaxLength = 3 ,FormatDate = "yyyy-MM-dd")]
|
||
|
[InputType(inputType.datebox)]
|
||
|
public string USETIME { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///浏览用户
|
||
|
///</summary>
|
||
|
[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; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///0:未浏览 1:已浏览
|
||
|
///</summary>
|
||
|
[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; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///浏览时间
|
||
|
///</summary>
|
||
|
[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; }
|
||
|
|
||
|
///<summary>
|
||
|
///0:未确认1:已确认
|
||
|
///</summ ary>
|
||
|
[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; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///确认时间
|
||
|
///</summary>
|
||
|
[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; }
|
||
|
|
||
|
///<summary>
|
||
|
///回复内容
|
||
|
///</summary>
|
||
|
[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; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///回复时间
|
||
|
///</summary>
|
||
|
[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; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///是否可回复(0:不回复,1:回复)
|
||
|
///</summary>
|
||
|
[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; }
|
||
|
|
||
|
///<summary>
|
||
|
///附件
|
||
|
///</summary>
|
||
|
[Description("附件")]
|
||
|
[HTMLInput(UpdateRead = false, MaxLength = 3)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = false, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public string ATTACHFILE { get; set; }
|
||
|
/// <summary>
|
||
|
/// 浏览记录列表字符串
|
||
|
/// </summary>
|
||
|
public string INFOLIST { get; set; }
|
||
|
/// <summary>
|
||
|
/// 错误信息
|
||
|
/// </summary>
|
||
|
public string Error { get; set; }
|
||
|
/// <summary>
|
||
|
/// 是否是查看页面
|
||
|
/// </summary>
|
||
|
public string check { get; set; }
|
||
|
/// <summary>
|
||
|
/// 当前登录用户
|
||
|
/// </summary>
|
||
|
public string LogInUserName { get; set; }
|
||
|
|
||
|
}
|
||
|
}
|