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; } /// /// 采购账号Id /// [Column(StringLength = 100)] public string PurchaseAccountId { get; set; } /// /// 采购账号名称 /// [Column(StringLength = 100)] public string PurchaseAccountName { get; set; } [Column(MapType = typeof(int?))] public Enums.PurchaseMethod? PurchaseMethod { get; set; } /// /// 采购单Id /// [Column(StringLength = 100)] public string PurchaseOrderId { get; set; } [Column(MapType = typeof(int?))] public Enums.Platform? PurchasePlatform { get; set; } /// /// 采购商Id /// [Column(StringLength = 100)] public string PurchaserId { get; set; } /// /// 采购商名称 /// [Column(StringLength = 100)] public string PurchaserName { get; set; } /// /// 店铺Id /// public long? ShopId { get; set; } /// /// 快递单号 /// [Column(StringLength = 100)] public string WaybillNo { get; set; } /// /// 原始快递公司名称 /// [Column(StringLength = 100)] public string SourceExpressName { get; set; } /// /// 原始快递公司Id /// [Column(StringLength = 100)] public string SourceExpressId { get; set; } /// /// 目标快递公司名称 /// [Column(StringLength = 100)] public string TargetExpressName { get; set; } /// /// 目标快递公司Id /// [Column(StringLength = 100)] public string TargetExpressId { get; set; } /// /// 归属订单Sku /// [Column(StringLength = 500)] public string BelongSkuIds { get; set; } [Column(DbType = "bit")] public bool IsEnabled { get; set; } = true; /// /// 采购单备注 /// [Column(StringLength = 500)] public string Remark { get; set; } } }