77 lines
2.2 KiB
C#
77 lines
2.2 KiB
C#
using Admin.NET.Core;
|
|
namespace Admin.NET.Application.Entity;
|
|
|
|
/// <summary>
|
|
/// 分销商
|
|
/// </summary>
|
|
[SugarTable("Distributor","分销商")]
|
|
public class Distributor : EntityTenant
|
|
{
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 32)]
|
|
public string? Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "编码", Length = 32)]
|
|
public string? CodeNum { get; set; }
|
|
|
|
/// <summary>
|
|
/// 简称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "SorName", ColumnDescription = "简称", Length = 32)]
|
|
public string? SorName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Status", ColumnDescription = "状态")]
|
|
public int? Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 联系人
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Contacts", ColumnDescription = "联系人", Length = 32)]
|
|
public string? Contacts { get; set; }
|
|
|
|
/// <summary>
|
|
/// 电话
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Tel", ColumnDescription = "电话", Length = 32)]
|
|
public string? Tel { get; set; }
|
|
|
|
/// <summary>
|
|
/// 所有者账号
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "UserName", ColumnDescription = "所有者账号", Length = 32)]
|
|
public string? UserName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 品牌
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Brand", ColumnDescription = "品牌", Length = 32)]
|
|
public string? Brand { get; set; }
|
|
|
|
/// <summary>
|
|
/// 上级分销商
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "SuperiorDistributor", ColumnDescription = "上级分销商", Length = 32)]
|
|
public string? SuperiorDistributor { get; set; }
|
|
|
|
/// <summary>
|
|
/// 地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Address", ColumnDescription = "地址", Length = 64)]
|
|
public string? Address { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 64)]
|
|
public string? Remarks { get; set; }
|
|
|
|
}
|