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