using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc.Html; using QMFrameWork.WebUI.Attribute; using QMFrameWork.WebUI; namespace QMAPP.Web.Models.Sys { /// /// 支持交互参数设置设置 /// public class SIParamSetModel : QDGModel { public SIParamSetModel() { } /// /// 主键 /// [Description("主键")] [HTMLInput(UpdateRead = false, MaxLength = 5, required = true)] [InputType(inputType.hidden)] public string ID { get; set; } /// /// 超时时间1 /// [Description("超时时间1")] [HTMLInput(UpdateRead = false, MaxLength = 5, required = true, DataType = QDataType.number, Width = 180, NumberMin = 1, NumberMax = 10000)] [InputType(inputType.text)] public string OverTime1 { get; set; } /// /// 超时时间2 /// [Description("超时时间2")] [HTMLInput(UpdateRead = false, MaxLength = 5, required = true, DataType = QDataType.number, Width = 180, NumberMin = 1, NumberMax = 10000)] [InputType(inputType.text)] public string OverTime2 { get; set; } /// /// SMTP服务器 /// [Description("SMTP服务器")] [HTMLInput(UpdateRead = false, MaxLength = 100, required = true, Width = 180)] [InputType(inputType.text)] public string SmtpServer { get; set; } /// /// 用户名 /// [Description("用户名")] [HTMLInput(UpdateRead = false, MaxLength = 30, required = true, Width = 180)] [InputType(inputType.text)] public string SmtpUser{ get; set; } /// /// 密码 /// [Description("密码")] [HTMLInput(UpdateRead = false, MaxLength = 30, required = true, Width = 180)] [InputType(inputType.password)] public string SmtpPassword { get; set; } /// /// 邮件服务器 /// [Description("密码")] [HTMLInput(UpdateRead = false, MaxLength = 100, required = true, Width = 180)] [InputType(inputType.text)] public string DoMain { get; set; } /// /// 发件人邮箱 /// [Description("发件人邮箱")] [HTMLInput(UpdateRead = false, MaxLength = 100, required = true, Width = 180)] [InputType(inputType.text)] public string FromUserMail { get; set; } } }