using FreeSql.DataAnnotations; using System; namespace BBWY.Server.Model.Db { [Table(Name = "ordersku", DisableSyncStructure = true)] public partial class OrderSku { [Column(DbType = "bigint(1)", IsPrimary = true)] public long Id { get; set; } [Column(DbType = "datetime")] public DateTime? CreateTime { get; set; } /// /// 销售数量 /// [Column(DbType = "int(1)")] public int? ItemTotal { 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; } [Column(StringLength = 50, IsNullable = false)] public string SkuId { get; set; } /// /// Sku标题 /// [Column(StringLength = 255)] public string Title { get; set; } [Column(StringLength = 255)] public string Logo { get; set; } /// /// 代发信息Id /// [Column(DbType = "bigint(1)", IsNullable = true)] public long? OrderDropShippingId { get; set; } /// /// 是否售后 /// [Column(DbType = "bit")] public bool IsRefund { get; set; } = false; [Column(IsIgnore = true)] public long ShopId { get; set; } } }