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.3 KiB
58 lines
1.3 KiB
2 years ago
|
using FreeSql.DataAnnotations;
|
||
|
using System;
|
||
|
|
||
|
namespace SiNan.Model.Db
|
||
|
{
|
||
|
|
||
|
[Table(Name = "productsku", DisableSyncStructure = true)]
|
||
|
public partial class ProductSku
|
||
|
{
|
||
|
|
||
|
/// <summary>
|
||
|
/// SKU
|
||
|
/// </summary>
|
||
|
[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; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 售价
|
||
|
/// </summary>
|
||
|
[Column(DbType = "decimal(18,2)")]
|
||
|
public decimal? Price { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// SPU
|
||
|
/// </summary>
|
||
|
[Column(StringLength = 50)]
|
||
|
public string ProductId { get; set; }
|
||
|
|
||
|
|
||
|
public long? ShopId { get; set; }
|
||
|
|
||
|
|
||
|
public string Title { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 京东Sku状态【1:上架 2:下架 4:删除】
|
||
|
/// </summary>
|
||
|
public int? State { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 三级类目Id
|
||
|
/// </summary>
|
||
|
public int? CategoryId { get; set; }
|
||
|
|
||
|
public string CategoryName { get; set; }
|
||
|
}
|
||
|
|
||
|
}
|