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.

53 lines
1.5 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Code.Entity;
/// <summary>
/// 第三方账号信息表
/// </summary>
[SqlSugar.SugarTable("code_third_party", "第三方账号信息表")]
public class CodeThirdParty : BaseModel<long>
{
/// <summary>
/// 账号类型
/// </summary>
[SugarColumn(ColumnDescription = "账号类型", Length = 100, IsNullable = false)]
public string AccountType { get; set; }
/// <summary>
/// 客户名称
/// </summary>
[SugarColumn(ColumnDescription = "客户名称", Length = 100, IsNullable = true)]
public string CustomerName { get; set; }
/// <summary>
/// 客户类型
/// </summary>
[SugarColumn(ColumnDescription = "客户类型", IsNullable = true, Length = 50)]
public string CustomerType { get; set; }
/// <summary>
/// 客户Id
/// </summary>
[SugarColumn(ColumnDescription = "客户Id")]
public long CustomerId { get; set; }
/// <summary>
/// 账户key
/// </summary>
[SugarColumn(ColumnDescription = "账户key", IsNullable = true, Length = 100)]
public string AppKey { get; set; }
/// <summary>
/// 账户密钥
/// </summary>
[SugarColumn(ColumnDescription = "账户密钥", IsNullable = true, Length = 200)]
public string AppSecret { get; set; }
/// <summary>
/// 状态 0启用 1禁用
/// </summary>
[SugarColumn(ColumnDescription = "状态", DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}