using FreeSql.DataAnnotations;
using Newtonsoft.Json;
using System;
namespace BBWY.Server.Model.Db
{
[Table(Name = "product", DisableSyncStructure = true)]
public partial class Product
{
///
/// SPU
///
[Column(StringLength = 50, IsPrimary = true, IsNullable = false)]
public string Id { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
[Column(DbType = "int(1)", MapType = typeof(int))]
public Enums.Platform Platform { get; set; }
///
/// 货号
///
[Column(StringLength = 100)]
public string ProductItemNum { get; set; }
public long? ShopId { get; set; }
///
/// 标题
///
public string Title { get; set; }
///
/// 主SkuId
///
[Column(StringLength = 50)]
public string MainSkuId { get; set; }
///
/// 京东商品状态【-1:删除 1:从未上架 2:自主下架 4:系统下架 8:上架 513:从未上架待审 514:自主下架待审 516:系统下架待审 520:上架待审核 1028:系统下架审核失败】
///
public int? State { get; set; }
///
/// 商品阶段 新品款=0 成长款=1 日销款=2 TOP款=3 清仓款=4
///
[Column(DbType = "int", MapType = typeof(int?))]
public Enums.Stage? Stage { get; set; } = 0;
}
}