using FreeSql.DataAnnotations; using System; using System.Collections.Generic; namespace BBWY.Server.Model.Db { /// <summary> /// 采购方案商品表 /// </summary> [Table(Name = "purchaseschemeproduct", DisableSyncStructure = true)] public partial class PurchaseSchemeProduct { /// <summary> /// 采购商品和采购方案的关系Id /// </summary> [Column(IsPrimary = true)] public long Id { get; set; } [Column(DbType = "datetime")] public DateTime? CreateTime { get; set; } [Column(StringLength = 50, IsNullable = false)] public string ProductId { get; set; } /// <summary> /// 采购商品Id /// </summary> [Column(StringLength = 50, IsNullable = false)] public string PurchaseProductId { get; set; } /// <summary> /// 采购商品链接 /// </summary> [Column(StringLength = 100)] public string PurchaseUrl { get; set; } [Column(StringLength = 50, IsNullable = false)] public string SkuId { get; set; } /// <summary> /// Sku采购方案Id /// </summary> public long SkuPurchaseSchemeId { get; set; } [Column(IsIgnore = true)] public List<PurchaseSchemeProductSku> PurchaseSchemeProductSkuList { get; set; } } }