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
{
///
/// 邮件账户配置表
///
[SugarTable("email_user_account")]
public class EmailUserAccountInfo : BaseTenantModel
{
///
/// GID
///
public string GID { get; set; }
///
/// 邮箱
///
public string EmailAccount { get; set; }
///
/// 密码
///
public string Password { get; set; }
///
/// 收件服务器
///
public string ReceiveServer { get; set; }
///
/// 接收服务器类型是否IMAP 1-是 0-否
///
public bool UseImap { get; set; } = true;
///
/// 收件服务器端口
///
public int? ReceivePort { get; set; }
///
/// 收件服务器是否SSL
///
public bool? ReceiveSsl { get; set; }
///
/// 发件服务器
///
public string SmtpServer { get; set; }
///
/// 发件服务器端口
///
public int? SmtpPort { get; set; }
///
/// 发件服务器是否SSL
///
public bool? SmtpSsl { get; set; }
///
/// 是否遍历所有文件夹
///
public bool? IsQueryFolder { get; set; }
///
/// 不需要处理的的文件夹,需要跟服务器的邮箱文件夹一致,多个名称逗号分隔
///
public string IgnoreFolder { get; set; }
///
/// 是否BC自动生成舱位
///
public bool? IsAutoSlot { get; set; }
///
/// 约号配置 支持多个约号,逗号分割
///
public string ContractGroups { get; set; }
///
/// 系统平台代码
///
public string SystemCode { get; set; }
///
/// 系统平台名称
///
public string SystemName { get; set; }
///
/// 是否指定约号生成舱位
///
public bool? IsAutoContract { get; set; }
}
}