2023-01-02 15:08:04 +08:00
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Yi.Framework.Model.Base;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Model.ERP.Entitys
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 供应商
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarTable("Supplier")]
|
|
|
|
|
|
public class SupplierEntity : IEntity<long>, IMultiTenant
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 主键
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 租户id
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public Guid? TenantId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 供应商编码
|
|
|
|
|
|
/// </summary>
|
2023-01-05 20:32:58 +08:00
|
|
|
|
public string Code { get; set; } = string.Empty;
|
2023-01-02 15:08:04 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 供应商名称
|
|
|
|
|
|
/// </summary>
|
2023-01-05 20:32:58 +08:00
|
|
|
|
public string Name { get; set; }= string.Empty;
|
2023-01-02 15:08:04 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 供应商地址
|
|
|
|
|
|
/// </summary>
|
2023-01-05 20:32:58 +08:00
|
|
|
|
public string? Address { get; set; }
|
2023-01-02 15:08:04 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 电话
|
|
|
|
|
|
/// </summary>
|
2023-01-05 20:32:58 +08:00
|
|
|
|
public long? Phone { get; set; }
|
2023-01-02 15:08:04 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 传真
|
|
|
|
|
|
/// </summary>
|
2023-01-05 20:32:58 +08:00
|
|
|
|
public string? Fax { get; set; }
|
2023-01-02 15:08:04 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 邮箱
|
|
|
|
|
|
/// </summary>
|
2023-01-05 20:32:58 +08:00
|
|
|
|
public string? Email { get; set; }
|
2023-01-02 15:08:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|