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

86 lines
2.7 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;
namespace QMAPP.Web.Models.Sys
{
/// <summary>
/// 支持交互参数设置设置
/// </summary>
public class SIParamSetModel : QDGModel
{
public SIParamSetModel()
{
}
/// <summary>
/// 主键
/// </summary>
[Description("主键")]
[HTMLInput(UpdateRead = false, MaxLength = 5, required = true)]
[InputType(inputType.hidden)]
public string ID { get; set; }
/// <summary>
/// 超时时间1
/// </summary>
[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; }
/// <summary>
/// 超时时间2
/// </summary>
[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; }
/// <summary>
/// SMTP服务器
/// </summary>
[Description("SMTP服务器")]
[HTMLInput(UpdateRead = false, MaxLength = 100, required = true, Width = 180)]
[InputType(inputType.text)]
public string SmtpServer { get; set; }
/// <summary>
/// 用户名
/// </summary>
[Description("用户名")]
[HTMLInput(UpdateRead = false, MaxLength = 30, required = true, Width = 180)]
[InputType(inputType.text)]
public string SmtpUser{ get; set; }
/// <summary>
/// 密码
/// </summary>
[Description("密码")]
[HTMLInput(UpdateRead = false, MaxLength = 30, required = true, Width = 180)]
[InputType(inputType.password)]
public string SmtpPassword { get; set; }
/// <summary>
/// 邮件服务器
/// </summary>
[Description("密码")]
[HTMLInput(UpdateRead = false, MaxLength = 100, required = true, Width = 180)]
[InputType(inputType.text)]
public string DoMain { get; set; }
/// <summary>
/// 发件人邮箱
/// </summary>
[Description("发件人邮箱")]
[HTMLInput(UpdateRead = false, MaxLength = 100, required = true, Width = 180)]
[InputType(inputType.text)]
public string FromUserMail { get; set; }
}
}