using FreeSql.DatabaseModel;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
namespace BBWYB.Server.Model.Db
{
///
/// Sku总销量表
///
[Table(Name = "skutotalsaleinfo", DisableSyncStructure = true)]
public partial class SkuTotalSaleInfo
{
///
/// Sku
///
[Column(StringLength = 50, IsPrimary = true, IsNullable = false)]
public string SkuId { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
///
/// 是否有效
///
public bool? IsEnabled { get; set; } = false;
///
/// 是否需要议价
///
public bool? IsNeedOptimization { get; set; } = false;
///
/// 销量,销售件数
///
[Column(DbType = "bigint")]
public long? ItemCount { get; set; }
///
/// 上次优化时的销量
///
[Column(DbType = "bigint")]
public long? LastOptimizationItemCount { get; set; }
///
/// 上次优化时间
///
[Column(DbType = "datetime")]
public DateTime? LastOptimizationTime { get; set; }
///
/// Spu
///
[Column(StringLength = 50)]
public string ProductId { get; set; }
[Column(DbType = "bigint")]
public long? ShopId { get; set; }
[Column(DbType = "datetime")]
public DateTime? UpdateTime { get; set; }
}
}