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.

59 lines
1.6 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.Text;
using System.Threading.Tasks;
using SqlSugar;
using DS.Module.Core.Data;
namespace DS.WMS.Core.EmailParse.Entity
{
/// <summary>
/// 邮件解析配置表
/// </summary>
[SugarTable("email_parser_config")]
public class EmailParserConfigInfo : BaseModel<long>
{
/// <summary>
/// GID
/// </summary>
public string GID { get; set; }
/// <summary>
/// 解析器代码
/// </summary>
public string ParserCode { get; set; }
/// <summary>
/// 解析器名称
/// </summary>
public string ParserName { get; set; }
/// <summary>
/// 注入代码ID
/// </summary>
public string InjectId { get; set; }
/// <summary>
/// 邮件标题匹配正则
/// </summary>
public string SubjectRegexPattern { get; set; }
/// <summary>
/// 邮件正文匹配正则
/// </summary>
public string BodyRegexPattern { get; set; }
/// <summary>
/// 邮件发送人匹配正则
/// </summary>
public string SenderRegexPattern { get; set; }
/// <summary>
/// 邮件附件匹配正则
/// </summary>
public string AttachRegexPattern { get; set; }
/// <summary>
/// 关联邮件账户数量
/// </summary>
public int? UseEmailAccountNum { get; set; }
}
}