using FreeSql.DataAnnotations; 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; } } }