using FreeSql.DataAnnotations;
using System;
namespace SiNan.Model.Db
{
[Table(Name = "productsku", DisableSyncStructure = true)]
public partial class ProductSku
{
///
/// SKU
///
[Column(StringLength = 50, IsPrimary = true, IsNullable = false)]
public string Id { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
public string Logo { get; set; }
[Column(DbType = "int(1)", MapType = typeof(int))]
public Enums.Platform Platform { get; set; }
///
/// 售价
///
[Column(DbType = "decimal(18,2)")]
public decimal? Price { get; set; }
///
/// SPU
///
[Column(StringLength = 50)]
public string ProductId { get; set; }
public long? ShopId { get; set; }
public string Title { get; set; }
///
/// 京东Sku状态【1:上架 2:下架 4:删除】
///
public int? State { get; set; }
///
/// 三级类目Id
///
public int? CategoryId { get; set; }
public string CategoryName { get; set; }
///
/// 最大亏损阈值
///
[Column(DbType = "decimal(18,2)")]
public decimal? MaxDeficitThreshold { get; set; } = 0.00M;
}
}