You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.7 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Code.Entity
{
/// <summary>
/// 用户邮箱账户
/// </summary>
[SqlSugar.SugarTable("code_user_email", "用户邮箱账户")]
public class CodeUserEmail : BaseModel<long>
{
/// <summary>
/// 邮箱账号
/// </summary>
[SugarColumn(ColumnDescription = "邮箱账号", Length = 100, IsNullable = true)]
public string MailAccount { get; set; }
/// <summary>
/// 发件显示名
/// </summary>
[SugarColumn(ColumnDescription = "发件显示名", Length = 50, IsNullable = true)]
public string ShowName { get; set; }
/// <summary>
/// 密码
/// </summary>
[SugarColumn(ColumnDescription = "密码", Length = 50, IsNullable = true)]
public string Password { get; set; }
/// <summary>
/// 收件服务器
/// </summary>
[SugarColumn(ColumnDescription = "收件服务器", Length = 50, IsNullable = true)]
public string ReceiveServer { get; set; }
/// <summary>
/// 使用IMAP4
/// </summary>
[SugarColumn(ColumnDescription = "使用IMAP4", IsNullable = true,DefaultValue ="0")]
public bool? UseImap { get; set; }
/// <summary>
/// 收件端口
/// </summary>
[SugarColumn(ColumnDescription = "收件端口", Length = 50, IsNullable = true, DefaultValue = "0")]
public int? ReceivePort { get; set; }
/// <summary>
/// 收件SSL
/// </summary>
[SugarColumn(ColumnDescription = "收件SSL", IsNullable = true, DefaultValue = "0")]
public bool? ReceiveSSL { get; set; }
/// <summary>
/// 发件服务器
/// </summary>
[SugarColumn(ColumnDescription = "发件服务器", Length = 50, IsNullable = true)]
public string SmtpServer { get; set; }
/// <summary>
/// 发件端口
/// </summary>
[SugarColumn(ColumnDescription = "发件端口", Length = 50, IsNullable = true, DefaultValue = "0")]
public int? SmtpPort { get; set; }
/// <summary>
/// 发件SSL
/// </summary>
[SugarColumn(ColumnDescription = "发件SSL", IsNullable = true, DefaultValue = "0")]
public bool? SmtpSSL { get; set; }
/// <summary>
/// 状态 0启用 1禁用
/// </summary>
[SugarColumn(ColumnDescription = "状态", DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}
}