using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Code.Entity;
///
/// 第三方账号信息表
///
[SqlSugar.SugarTable("code_third_party", "第三方账号信息表")]
public class CodeThirdParty : BaseModel
{
///
/// 账号类型
///
[SugarColumn(ColumnDescription = "账号类型", Length = 100, IsNullable = false)]
public string AccountType { get; set; }
///
/// 客户名称
///
[SugarColumn(ColumnDescription = "客户名称", Length = 100, IsNullable = true)]
public string CustomerName { get; set; }
///
/// 客户类型
///
[SugarColumn(ColumnDescription = "客户类型", IsNullable = true, Length = 50)]
public string CustomerType { get; set; }
///
/// 客户Id
///
[SugarColumn(ColumnDescription = "客户Id")]
public long CustomerId { get; set; }
///
/// 账户key
///
[SugarColumn(ColumnDescription = "账户key", IsNullable = true, Length = 100)]
public string AppKey { get; set; }
///
/// 账户密钥
///
[SugarColumn(ColumnDescription = "账户密钥", IsNullable = true, Length = 200)]
public string AppSecret { get; set; }
///
/// 状态 0启用 1禁用
///
[SugarColumn(ColumnDescription = "状态", DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
///
/// 是否为公司账号
///
[SugarColumn(ColumnDescription = "是否为公司账号", DefaultValue = "0")]
public bool IsCompany { get; set; } = false;
///
/// 备案代码
///
[SugarColumn(ColumnDescription = "备案代码", IsNullable = true, Length = 50)]
public string RegistPartyCode { get; set; }
///
/// 备案全称
///
[SugarColumn(ColumnDescription = "备案全称", IsNullable = true, Length = 200)]
public string RegistPartyName { get; set; }
///
/// 联系人
///
[SugarColumn(ColumnDescription = "联系人", IsNullable = true, Length = 255)]
public string RegistContractName { get; set; }
///
/// 联系邮箱
///
[SugarColumn(ColumnDescription = "联系邮箱", IsNullable = true, Length = 150)]
public string RegistContractEmail { get; set; }
}