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