You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.5 KiB
58 lines
1.5 KiB
2 years ago
|
using FreeSql.DataAnnotations;
|
||
|
|
||
|
namespace BBWYB.Server.Model.Db
|
||
|
{
|
||
|
|
||
|
/// <summary>
|
||
|
/// Sku历史优化表
|
||
|
/// </summary>
|
||
|
[Table(Name = "skuoptimizationhistory", DisableSyncStructure = true)]
|
||
|
public partial class SkuOptimizationHistory
|
||
|
{
|
||
|
|
||
|
[Column(DbType = "bigint", IsPrimary = true)]
|
||
|
public long Id { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 优化时间
|
||
|
/// </summary>
|
||
|
[Column(DbType = "datetime")]
|
||
|
public DateTime? CreateTime { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 优化率
|
||
|
/// </summary>
|
||
|
[Column(DbType = "decimal(18,2)")]
|
||
|
public decimal? OptimizationRatio { get; set; }
|
||
|
|
||
|
[Column(StringLength = 50)]
|
||
|
public string ProductId { get; set; }
|
||
|
|
||
|
[Column(DbType = "bigint")]
|
||
|
public long? ShopId { get; set; }
|
||
|
|
||
|
[Column(StringLength = 50)]
|
||
|
public string SkuId { get; set; }
|
||
|
|
||
2 years ago
|
/// <summary>
|
||
|
/// 上次采购单价
|
||
|
/// </summary>
|
||
|
[Column(DbType = "decimal(18,2)", IsNullable = true)]
|
||
|
public decimal? LastPurchasePrice { get; set; } = 0.0M;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 本次采购单价
|
||
|
/// </summary>
|
||
|
[Column(DbType = "decimal(18,2)", IsNullable = true)]
|
||
|
public decimal? CurrentPurchasePrice { get; set; } = 0.0M;
|
||
|
|
||
2 years ago
|
|
||
|
/// <summary>
|
||
|
/// 触发优化原因
|
||
|
/// </summary>
|
||
|
[Column(DbType = "int(1)", MapType = typeof(int?), IsNullable = true)]
|
||
|
public Enums.TriggerOptimizationReason? TriggerOptimizationReason { get; set; }
|
||
2 years ago
|
}
|
||
|
|
||
|
}
|