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.
|
|
|
using FreeSql.DataAnnotations;
|
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace BBWY.Server.Model.Db
|
|
|
|
{
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购商表
|
|
|
|
/// </summary>
|
|
|
|
[Table(Name = "purchaser", DisableSyncStructure = true)]
|
|
|
|
public partial class Purchaser
|
|
|
|
{
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购商Id
|
|
|
|
/// </summary>
|
|
|
|
[Column(StringLength = 20, IsPrimary = true, IsNullable = false)]
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购商名称
|
|
|
|
/// </summary>
|
|
|
|
[Column(StringLength = 50)]
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 发货地
|
|
|
|
/// </summary>
|
|
|
|
[Column(StringLength = 50)]
|
|
|
|
public string Location { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购平台
|
|
|
|
/// </summary>
|
|
|
|
[Column(MapType = typeof(int?))]
|
|
|
|
public Enums.Platform? Platform { get; set; }
|
|
|
|
|
|
|
|
[Column(IsIgnore = true)]
|
|
|
|
public decimal DefaultCost { get; set; }
|
|
|
|
|
|
|
|
[Column(IsIgnore = true)]
|
|
|
|
public DateTime? LastPurchaseTime { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|