using FreeSql.DataAnnotations;
using System;
namespace BBWY.Server.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; }
///
/// 1:业务团队 2:供应链
///
public int? Purchaser { get; set; }
///
/// 是否为赠品
///
public bool IsGift { get; set; } = false;
}
}