|
|
|
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; }
|
|
|
|
|
|
|
|
/// <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>
|
|
|
|
///// ���ݵ���
|
|
|
|
///// </summary>
|
|
|
|
//[Column(StringLength = 100)]
|
|
|
|
//public string WaybillNo { get; set; }
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// ԭʼ���ݹ�˾����
|
|
|
|
///// </summary>
|
|
|
|
//[Column(StringLength = 100)]
|
|
|
|
//public string SourceExpressName { get; set; }
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// ԭʼ���ݹ�˾Id
|
|
|
|
///// </summary>
|
|
|
|
//[Column(StringLength = 100)]
|
|
|
|
//public string SourceExpressId { get; set; }
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// Ŀ�����ݹ�˾����
|
|
|
|
///// </summary>
|
|
|
|
//[Column(StringLength = 100)]
|
|
|
|
//public string TargetExpressName { get; set; }
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
///// Ŀ�����ݹ�˾Id
|
|
|
|
///// </summary>
|
|
|
|
//[Column(StringLength = 100)]
|
|
|
|
//public string TargetExpressId { 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 = "bit")]
|
|
|
|
public bool? IsSign { get; set; } = false;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// �ɹ���״̬
|
|
|
|
/// </summary>
|
|
|
|
[Column(MapType = typeof(int?))]
|
|
|
|
public Enums.PurchaseOrderState? OrderState { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|