using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; using DS.Module.Core.Data; namespace DS.WMS.Core.EmailParse.Entity { /// /// 邮件解析配置表 /// [SugarTable("email_parser_config")] public class EmailParserConfigInfo : BaseModel { /// /// GID /// public string GID { get; set; } /// /// 解析器代码 /// public string ParserCode { get; set; } /// /// 解析器名称 /// public string ParserName { get; set; } /// /// 注入代码ID /// public string InjectId { get; set; } /// /// 邮件标题匹配正则 /// public string SubjectRegexPattern { get; set; } /// /// 邮件正文匹配正则 /// public string BodyRegexPattern { get; set; } /// /// 邮件发送人匹配正则 /// public string SenderRegexPattern { get; set; } /// /// 邮件附件匹配正则 /// public string AttachRegexPattern { get; set; } /// /// 关联邮件账户数量 /// public int? UseEmailAccountNum { get; set; } } }