|
|
|
using FreeSql.DataAnnotations;
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace BBWY.Server.Model.Db
|
|
|
|
{
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购商品表
|
|
|
|
/// </summary>
|
|
|
|
[Table(Name = "purchaseordersku", DisableSyncStructure = true)]
|
|
|
|
public partial class PurchaseOrderSku
|
|
|
|
{
|
|
|
|
[Column(IsPrimary = true)]
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 打包耗材费
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "decimal(18,2)")]
|
|
|
|
public decimal? ConsumableAmount { get; set; } = 0.00M;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建时间
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "datetime")]
|
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 头程运费
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "decimal(18,2)")]
|
|
|
|
public decimal? FirstFreight { get; set; } = 0.00M;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 入仓费
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "decimal(18,2)")]
|
|
|
|
public decimal? InStorageAmount { get; set; } = 0.00M;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Sku Logo
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
public string Logo { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 单价
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "decimal(18,2)")]
|
|
|
|
public decimal? Price { get; set; } = 0.00M;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购货款
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "decimal(18,2)")]
|
|
|
|
public decimal? ProductAmount { get; set; }
|
|
|
|
|
|
|
|
[Column(StringLength = 100)]
|
|
|
|
public string ProductId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购金额(采购货款+采购运费)
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "decimal(18,2)")]
|
|
|
|
public decimal? PurchaseAmount { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购运费
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "decimal(18,2)")]
|
|
|
|
public decimal? PurchaseFreight { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购单Id
|
|
|
|
/// </summary>
|
|
|
|
[Column(StringLength = 100)]
|
|
|
|
public string PurchaseOrderId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购方案Id
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
public long? PurchaseSchemeId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购SkuId串
|
|
|
|
/// </summary>
|
|
|
|
[Column(StringLength = 500)]
|
|
|
|
public string PurchaseSkuIds { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 质检费
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "decimal(18,2)")]
|
|
|
|
public decimal? QualityInspectionAmount { get; set; } = 0.00M;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购数量
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
public int? Quantity { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 店铺Id
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
public long? ShopId { get; set; }
|
|
|
|
|
|
|
|
[Column(StringLength = 100)]
|
|
|
|
public string SkuId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Sku标题
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
public string SkuTitle { get; set; }
|
|
|
|
|
|
|
|
[Column(MapType = typeof(int?))]
|
|
|
|
public Enums.StockType? StockType { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 齐库任务Id
|
|
|
|
/// </summary>
|
|
|
|
public long? QiKuTaskId { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|