using FreeSql.DataAnnotations;
namespace BBWYB.Server.Model.Db
{
///
/// 订单SKU
///
[Table(Name = "ordersku", DisableSyncStructure = true)]
public partial class OrderSku
{
[Column(IsPrimary = true)]
public long Id { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
///
/// 是否退款
///
public bool? IsRefund { get; set; } = false;
///
/// 销售数量
///
[Column(DbType = "int(1)")]
public int? ItemTotal { get; set; }
///
/// Logo
///
public string Logo { get; set; }
[Column(StringLength = 50)]
public string OrderId { get; set; }
///
/// 销售单价
///
[Column(DbType = "decimal(20,2)")]
public decimal? Price { get; set; }
[Column(StringLength = 50)]
public string ProductId { get; set; }
///
/// 货号
///
[Column(StringLength = 50)]
public string ProductNo { get; set; }
public long? ShopId { get; set; }
[Column(StringLength = 50, IsNullable = false)]
public string SkuId { get; set; }
///
/// 归属SkuId
///
[Column(StringLength = 50)]
public string BelongSkuId { get; set; }
///
/// Sku标题
///
public string Title { get; set; }
///
/// 打包配置状态(0=待配置, 1=已配置)
///
[Column(DbType = "int(1)", MapType = typeof(int?))]
public Enums.PackConfigState? PackConfigState { get; set; }
///
/// 买家支付运费
///
[Column(DbType = "decimal(20,2)")]
public decimal? BuyerPayFreight { get; set; } = 0.00M;
///
/// 实收打包费
///
[Column(DbType = "decimal(20,2)")]
public decimal? InPackAmount { get; set; } = 0.00M;
///
/// SKU备注
///
[Column(StringLength = 500)]
public string Remark { get; set; }
///
/// 是否验收
///
[Column(DbType = "bit", IsNullable = true)]
public bool? IsCheck { get; set; }
}
}