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.
93 lines
2.7 KiB
C#
93 lines
2.7 KiB
C#
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Security.Cryptography;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using DS.Module.Core.Data;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.EmailParse.Entity
|
|
{
|
|
/// <summary>
|
|
/// 邮件账户配置表
|
|
/// </summary>
|
|
[SugarTable("email_user_account")]
|
|
public class EmailUserAccountInfo : BaseTenantModel<long>
|
|
{
|
|
/// <summary>
|
|
/// GID
|
|
/// </summary>
|
|
public string GID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 邮箱
|
|
/// </summary>
|
|
public string EmailAccount { get; set; }
|
|
/// <summary>
|
|
/// 密码
|
|
/// </summary>
|
|
public string Password { get; set; }
|
|
/// <summary>
|
|
/// 收件服务器
|
|
/// </summary>
|
|
public string ReceiveServer { get; set; }
|
|
/// <summary>
|
|
/// 接收服务器类型是否IMAP 1-是 0-否
|
|
/// </summary>
|
|
public bool UseImap { get; set; } = true;
|
|
/// <summary>
|
|
/// 收件服务器端口
|
|
/// </summary>
|
|
public int? ReceivePort { get; set; }
|
|
/// <summary>
|
|
/// 收件服务器是否SSL
|
|
/// </summary>
|
|
public bool? ReceiveSsl { get; set; }
|
|
/// <summary>
|
|
/// 发件服务器
|
|
/// </summary>
|
|
public string SmtpServer { get; set; }
|
|
/// <summary>
|
|
/// 发件服务器端口
|
|
/// </summary>
|
|
public int? SmtpPort { get; set; }
|
|
/// <summary>
|
|
/// 发件服务器是否SSL
|
|
/// </summary>
|
|
public bool? SmtpSsl { get; set; }
|
|
/// <summary>
|
|
/// 是否遍历所有文件夹
|
|
/// </summary>
|
|
public bool? IsQueryFolder { get; set; }
|
|
/// <summary>
|
|
/// 不需要处理的的文件夹,需要跟服务器的邮箱文件夹一致,多个名称逗号分隔
|
|
/// </summary>
|
|
public string IgnoreFolder { get; set; }
|
|
/// <summary>
|
|
/// 是否BC自动生成舱位
|
|
/// </summary>
|
|
public bool? IsAutoSlot { get; set; }
|
|
/// <summary>
|
|
/// 约号配置 支持多个约号,逗号分割
|
|
/// </summary>
|
|
public string ContractGroups { get; set; }
|
|
/// <summary>
|
|
/// 系统平台代码
|
|
/// </summary>
|
|
public string SystemCode { get; set; }
|
|
/// <summary>
|
|
/// 系统平台名称
|
|
/// </summary>
|
|
public string SystemName { get; set; }
|
|
/// <summary>
|
|
/// 是否指定约号生成舱位
|
|
/// </summary>
|
|
public bool? IsAutoContract { get; set; }
|
|
|
|
}
|
|
}
|