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.

93 lines
2.8 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>
/// 用户ID
/// </summary>
[SugarColumn(ColumnDescription = "用户ID", IsNullable = false)]
public long UserId { get; set; }
/// <summary>
/// 用户姓名
/// </summary>
[SugarColumn(ColumnDescription = "用户姓名", Length = 200, IsNullable = true)]
public string? UserName { get; set; }
/// <summary>
/// 状态 0启用 1禁用
/// </summary>
[SugarColumn(ColumnDescription = "状态", DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
5 months ago
/// <summary>
/// 是否为公司账号
/// </summary>
[SugarColumn(ColumnDescription = "是否为公司账号", DefaultValue = "0")]
1 month ago
public bool IsCompany { get; set; }
5 months ago
/// <summary>
/// 备案代码
/// </summary>
[SugarColumn(ColumnDescription = "备案代码", IsNullable = true, Length = 50)]
public string RegistPartyCode { get; set; }
/// <summary>
/// 备案全称
/// </summary>
[SugarColumn(ColumnDescription = "备案全称", IsNullable = true, Length = 200)]
public string RegistPartyName { get; set; }
/// <summary>
/// 联系人
/// </summary>
[SugarColumn(ColumnDescription = "联系人", IsNullable = true, Length = 255)]
public string RegistContractName { get; set; }
/// <summary>
/// 联系邮箱
/// </summary>
[SugarColumn(ColumnDescription = "联系邮箱", IsNullable = true, Length = 150)]
public string RegistContractEmail { get; set; }
}