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.

73 lines
1.8 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 DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.EmailParse.Entity
{
/// <summary>
/// 邮件账户解析授权配置表
/// </summary>
[SugarTable("email_user_account_auth")]
public class EmailUserAccountAuthInfo : BaseTenantModel<long>
{
/// <summary>
/// 主键
/// </summary>
public string GID { get; set; }
/// <summary>
/// 邮箱账户主键
/// </summary>
public string EMAIL_ACCOUNT_ID { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public string EMAIL_ACCOUNT { get; set; }
/// <summary>
/// 配置类型 DEFAULT-默认所有解析的没有单独配置授权的使用PARSER-解析授权
/// </summary>
public string AUTH_TYPE { get; set; }
/// <summary>
/// 邮件解析器主键
/// </summary>
public string EMAIL_PARSER_ID { get; set; }
/// <summary>
/// 是否启用
/// </summary>
public bool IS_ENABLE { get; set; }
/// <summary>
/// 授权KEY
/// </summary>
public string USER_KEY { get; set; }
/// <summary>
/// 授权密钥
/// </summary>
public string USER_SECRET { get; set; }
/// <summary>
/// 授权API代码
/// </summary>
public string API_CODE { get; set; }
/// <summary>
/// URL地址
/// </summary>
public string ApiUrl { get; set; }
}
}