DigitalFactory/Admin.NET/Admin.NET.Application/Entity/Supplier.cs

53 lines
1.5 KiB
C#

using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
/// <summary>
/// 供应商
/// </summary>
[SugarTable("Supplier","供应商")]
public class Supplier : EntityTenant
{
/// <summary>
/// 供应商名称
/// </summary>
[SugarColumn(ColumnName = "Name", ColumnDescription = "供应商名称", Length = 64)]
public string? Name { 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 = "CompanyType", ColumnDescription = "企业类型", Length = 32)]
public string? CompanyType { get; set; }
/// <summary>
/// 职务
/// </summary>
[SugarColumn(ColumnName = "Duties", ColumnDescription = "职务", Length = 32)]
public string? Duties { get; set; }
/// <summary>
/// 地址
/// </summary>
[SugarColumn(ColumnName = "Address", ColumnDescription = "地址", Length = 64)]
public string? Address { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 32)]
public string? Remarks { get; set; }
}