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.5 KiB

using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
namespace BBWYB.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; }
/// <summary>
/// 采购商Id
/// </summary>
[Column(StringLength = 20)]
public string PurchaserId { get; set; }
[Column(IsIgnore = true)]
public List<PurchaseSchemeProductSku> PurchaseSchemeProductSkuList { get; set; }
}
}