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.
55 lines
1.2 KiB
55 lines
1.2 KiB
2 years ago
|
using FreeSql.DataAnnotations;
|
||
|
|
||
|
namespace BBWYB.Server.Model.Db
|
||
|
{
|
||
|
|
||
|
/// <summary>
|
||
|
/// 商品表(SPU)
|
||
|
/// </summary>
|
||
|
[Table(Name = "product", DisableSyncStructure = true)]
|
||
|
public partial class Product
|
||
|
{
|
||
|
|
||
|
[Column(StringLength = 50, IsPrimary = true, IsNullable = false)]
|
||
|
public string Id { get; set; }
|
||
|
|
||
|
|
||
|
public string Logo { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 商品名称
|
||
|
/// </summary>
|
||
|
[Column(StringLength = 200)]
|
||
|
public string ProductName { get; set; }
|
||
|
|
||
|
[Column(DbType = "bigint")]
|
||
|
public long? ShopId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 状态(0下架 1上架)
|
||
|
/// </summary>
|
||
|
[Column(DbType = "int")]
|
||
|
public int? State { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 同步时间
|
||
|
/// </summary>
|
||
|
[Column(DbType = "datetime")]
|
||
|
public DateTime? SyncTime { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 更新时间
|
||
|
/// </summary>
|
||
|
[Column(DbType = "datetime")]
|
||
|
public DateTime? UpdateTime { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 最近上架时间
|
||
|
/// </summary>
|
||
|
[Column(DbType = "datetime")]
|
||
|
public DateTime? UpperTime { get; set; }
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|