|
|
|
using FreeSql.DataAnnotations;
|
|
|
|
|
|
|
|
namespace BBWYB.Server.Model.Db
|
|
|
|
{
|
|
|
|
|
|
|
|
[Table(Name = "orderpurchaseinfo", DisableSyncStructure = true)]
|
|
|
|
public partial class OrderPurchaseInfo
|
|
|
|
{
|
|
|
|
[Column(IsPrimary = true, IsNullable = false)]
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
[Column(StringLength = 50, IsNullable = false)]
|
|
|
|
public string OrderId { get; set; }
|
|
|
|
|
|
|
|
[Column(DbType = "datetime")]
|
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
|
|
|
|
[Column(DbType = "datetime")]
|
|
|
|
public DateTime? UpdateTime { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// �ɹ��˺�Id
|
|
|
|
/// </summary>
|
|
|
|
[Column(StringLength = 100)]
|
|
|
|
public string PurchaseAccountId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// �ɹ��˺�����
|
|
|
|
/// </summary>
|
|
|
|
[Column(StringLength = 100)]
|
|
|
|
public string PurchaseAccountName { get; set; }
|
|
|
|
|
|
|
|
[Column(MapType = typeof(int?))]
|
|
|
|
public Enums.PurchaseMethod? PurchaseMethod { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// �ɹ���Id
|
|
|
|
/// </summary>
|
|
|
|
[Column(StringLength = 100)]
|
|
|
|
public string PurchaseOrderId { get; set; }
|
|
|
|
|
|
|
|
[Column(MapType = typeof(int?))]
|
|
|
|
public Enums.Platform? PurchasePlatform { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// �ɹ���Id
|
|
|
|
/// </summary>
|
|
|
|
[Column(StringLength = 100)]
|
|
|
|
public string PurchaserId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// �ɹ�������
|
|
|
|
/// </summary>
|
|
|
|
[Column(StringLength = 100)]
|
|
|
|
public string PurchaserName { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// ����Id
|
|
|
|
/// </summary>
|
|
|
|
public long? ShopId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// ��������Sku
|
|
|
|
/// </summary>
|
|
|
|
[Column(StringLength = 500)]
|
|
|
|
public string BelongSkuIds { get; set; }
|
|
|
|
|
|
|
|
[Column(DbType = "bit")]
|
|
|
|
public bool IsEnabled { get; set; } = true;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// �ɹ�����ע
|
|
|
|
/// </summary>
|
|
|
|
[Column(StringLength = 500)]
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// ������ʷ�ɹ���ʱ��
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "datetime", IsNullable = true)]
|
|
|
|
public DateTime HistorySettingTime { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// �ɹ���״̬
|
|
|
|
/// </summary>
|
|
|
|
[Column(MapType = typeof(int?))]
|
|
|
|
public Enums.PurchaseOrderState? OrderState { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// �Ƿ�ƽ��
|
|
|
|
/// </summary>
|
|
|
|
[Column(MapType = typeof(int?))]
|
|
|
|
public Enums.AutoEditOrderPriceType? IsAutoEditOrderPrice { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|