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; } /// /// Sku标题 /// public string Title { get; set; } } }