You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.7 KiB

using FreeSql.DataAnnotations;
namespace BBWYB.Server.Model.Db
{
/// <summary>
/// 采购商表
/// </summary>
[Table(Name = "purchaser", DisableSyncStructure = true)]
public partial class Purchaser
{
/// <summary>
/// 采购商Id (1688 SellerUserId)
/// </summary>
[Column(StringLength = 20, IsPrimary = true, IsNullable = false)]
public string Id { get; set; }
/// <summary>
/// 采购商Id2 (1688 SellerLoginId)
/// </summary>
[Column(StringLength = 50)]
public string Id2 { get; set; }
/// <summary>
/// 发货地(产地)
/// </summary>
[Column(StringLength = 50)]
public string Location { get; set; }
/// <summary>
/// 经营模式 0贸易 1厂家
/// </summary>
[Column(DbType = "int", MapType = typeof(int))]
public Enums.ManagmentMode? ManagmentMode { get; set; }
[Column(StringLength = 50)]
public string MemberId { get; set; }
/// <summary>
/// 采购商名称
/// </summary>
[Column(StringLength = 50)]
public string Name { get; set; }
/// <summary>
/// 采购平台
/// </summary>
[Column(MapType = typeof(int?))]
public Enums.Platform? Platform { get; set; }
/// <summary>
/// 采购次数
/// </summary>
[Column(DbType = "int")]
public int? PurchasedCount { get; set; } = 0;
/// <summary>
/// 采购过的Sku数
/// </summary>
[Column(DbType = "int")]
public int? PurchasedSkuCount { get; set; } = 0;
}
}