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 MyNoticeInfoModel : QDGModel
{
public MyNoticeInfoModel()
{
//StartTime = null;
//EndTime = null;
USETIME = DateTime.Now.ToString("yyyy-MM-dd");
this.propertyParameter = new Dictionary();
this.propertyParameter.Add("onClickRow"
, "function (rowIndex, rowData) {ClickNotice(rowData[\"NoticeID\"]);return false;}");
}
///
///
///
[Description("")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string NOTICEID { get; set; }
///
///通知标题
///
[Description("通知标题")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200, Width = 380)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.left, Linked = true)]
public string NOTICETITLE { get; set; }
[Description("通知标题")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
[InputType(inputType.text)]
public string NOTICETITLE1 { get; set; }
///
///通知类型
///
[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; }
///
///通知内容
///
[Description("通知内容")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 8000, Height = 90, Width = 380)]
[InputType(inputType.textArea)]
[DGColumn(frozenColumns = true, Hidden = true, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string NOTICECONTEXT { get; set; }
///
///通知日期
///
[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 string USETIME { get; set; }
///
///附件
///
[Description("附件")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 100)]
[InputType(inputType.text)]
public string ATTACHFILE { get; set; }
///
///是否可回复
///
[Description("是否回复")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
[InputType(inputType.checkBox)]
public string CANREPLY { get; set; }
///
///发送标志
///
[Description("发送标志")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
[InputType(inputType.text)]
public string SENDFLG { get; set; }
///
///发送目标
///
[Description("发送目标")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 2000, Height = 30, Width = 380)]
[InputType(inputType.textArea)]
public string SENDAIM { get; set; }
///
///发送时间
///
[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; }
///
///发送人
///
[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; }
public string INFOLIST { get; set; }
}
}