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