步步为盈
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.

91 lines
2.3 KiB

using FreeSql.DataAnnotations;
using System;
namespace BBWY.Server.Model.Db
{
/// <summary>
/// 代发信息表
/// </summary>
[Table(Name = "orderdropshipping", DisableSyncStructure = true)]
public partial class OrderDropShipping
{
[Column(DbType = "bigint(1)", IsPrimary = true)]
public long Id { get; set; }
[Column(StringLength = 50, IsNullable = false)]
public string OrderId { get; set; }
/// <summary>
/// 买家账号
/// </summary>
[Column(StringLength = 200)]
public string BuyerAccount { get; set; }
/// <summary>
/// 采购账号Id
/// </summary>
public long PurchaseAccountId { get; set; } = 0;
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
/// <summary>
/// 发货运费
/// </summary>
[Column(DbType = "decimal(20,2)")]
public decimal DeliveryFreight { get; set; } = 0.00M;
/// <summary>
/// 采购金额
/// </summary>
[Column(DbType = "decimal(20,2)")]
public decimal PurchaseAmount { get; set; } = 0.00M;
/// <summary>
///货款
/// </summary>
[Column(DbType = "decimal(20,2)")]
public decimal SkuAmount { get; set; }
/// <summary>
/// 采购运费
/// </summary>
[Column(DbType = "decimal(20,2)")]
public decimal PurchaseFreight { get; set; }
/// <summary>
/// 采购单号
/// </summary>
[Column(StringLength = 200)]
public string PurchaseOrderId { get; set; }
/// <summary>
/// 商户订单号
/// </summary>
[Column(StringLength = 50, IsNullable = true)]
public string MerchantOrderId { get; set; }
/// <summary>
/// 采购平台
/// </summary>
[Column(DbType = "int(1)", MapType = typeof(int?))]
public Enums.Platform? PurchasePlatform { get; set; }
/// <summary>
/// 卖家账号
/// </summary>
[Column(StringLength = 200)]
public string SellerAccount { get; set; }
/// <summary>
/// 商家Id
/// </summary>
public long? ShopId { get; set; }
[Column(DbType = "bit")]
public bool IsHistory { get; set; } = false;
}
}