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

234 lines
8.2 KiB

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;
using QMAPP.Entity.Sys;
namespace QMAPP.Web.Models.Sys
{
/// <summary>
/// 通知模型
/// 创建者:王丹丹
/// 创建日期:2015-03-09
/// </summary>
public class NoticeInfoModel : QDGModel
{
public List<User> listModel { get; set; }
public List<NoticeInfo> listNoticeModel { get; set; }
public UserOrgaizationModel UOModel { get; set; }
public NoticeInfoModel()
{
listModel = new List<User>();
this.propertyParameter = new Dictionary<string, string>();
//添加表格点击事件
this.propertyParameter.Add("onClickCell", "function (rowIndex, field, value) {ClickGridCell(rowIndex, field, value);}");
}
///<summary>
///通知主键
///</summary>
[Description("")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string NOTICEID { get; set; }
///<summary>
///通知标题
///</summary>
[Description("通知标题")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.left, Linked = true)]
public string NOTICETITLE { get; set; }
///<summary>
///通知类型(1:即时通知,2:普通通知)
///</summary>
[Description("通知类型")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, JsonUtl = "/Notice/GetEquComboxSource")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string NOTICETYPE { get; set; }
///<summary>
///通知内容
///</summary>
[Description("通知内容")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8000, Height = 90, Width = 400)]
[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, required = true, MaxLength = 3)]
[InputType(inputType.datebox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")]
public DateTime USETIME { get; set; }
///<summary>
///通知日期开始
///</summary>
[Description("通知日期开始")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 3)]
[InputType(inputType.datebox)]
public string USETIMESTART { get; set; }
///<summary>
///通知日期结束
///</summary>
[Description("通知日期结束")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 3)]
[InputType(inputType.datebox)]
public string USETIMEEND { get; set; }
///<summary>
///有效日期
///</summary>
[Description("有效日期")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 3)]
[InputType(inputType.datebox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")]
public DateTime OUTTIME { get; set; }
///<summary>
///附件
///</summary>
[Description("附件")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 100)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string ATTACHFILE { get; set; }
//附件名称
public string ATTACHFILETXT { 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, required = true, MaxLength = 1)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string SENDFLG { get; set; }
///<summary>
///发送目标
///</summary>
[Description("发送目标")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2000, Height = 30, Width = 400)]
[InputType(inputType.textArea)]
[DGColumn(frozenColumns = false, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string SENDAIM { get; set; }
///<summary>
///发送目标
///</summary>
[Description("发送目标")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2000, Height = 30, Width = 400)]
[InputType(inputType.textArea)]
public string SENDAIMNAME { get; set; }
///<summary>
///发送时间
///</summary>
[Description("发送时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 3)]
[InputType(inputType.datebox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 130, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime SENDTIME { get; set; }
///<summary>
///创建人
///</summary>
[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; }
///<summary>
///创建时间
///</summary>
[Description("创建时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 3)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 130, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime CREATEDATE { get; set; }
///<summary>
///修改人
///</summary>
[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; }
///<summary>
///修改时间
///</summary>
[Description("修改时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 3)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 130, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime UPDATEDATE { get; set; }
///<summary>
///回复数量
///</summary>
[Description("回复数量")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string REPLYCOUNT { get; set; }
/// <summary>
/// 通知浏览记录列表字符串
/// </summary>
public string INFOLIST { get; set; }
///发送目标ID
///</summary>
[Description("发送目标ID")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1000)]
[InputType(inputType.hidden)]
public string UserID { get; set; }
/// <summary>
/// 组织机构ID
/// </summary>
public string CorpID { get; set; }
}
}