Files
Atomx/Atomx.Admin/Atomx.Admin.Client/Models/ProductAttributeCombinationModel.cs
2025-12-02 13:10:10 +08:00

90 lines
2.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace Atomx.Admin.Client.Models
{
/// <summary>
/// 产品SKU属性组合模型
/// </summary>
public class ProductAttributeCombinationModel
{
/// <summary>
/// 数据ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 产品ID
/// </summary>
public long ProductId { get; set; }
/// <summary>
/// 供应制造商ID
/// </summary>
public long ManufacturerId { get; set; }
/// <summary>
/// 属性JSON
/// </summary>
public List<ProductSkuModel> SkuAttributes { get; set; } = new List<ProductSkuModel>();
/// <summary>
/// 库存数量
/// </summary>
public int StockQuantity { get; set; }
/// <summary>
/// 销售数量
/// </summary>
public int SalesQuantity { get; set; }
/// <summary>
/// SKU编码
/// </summary>
public string SkuNumber { get; set; } = string.Empty;
/// <summary>
/// 销售加工费
/// </summary>
public decimal ProcessCharge { get; set; }
/// <summary>
/// 加工费成本
/// </summary>
public decimal ProcessCost { get; set; }
/// <summary>
/// 销售附加费
/// </summary>
public decimal Surcharge { get; set; }
/// <summary>
/// 附加费成本
/// </summary>
public decimal SurchargeCost { get; set; }
/// <summary>
/// SKU的市场价划线价
/// </summary>
public decimal MarketPrice { get; set; }
/// <summary>
/// SKU的销售价格
/// </summary>
public decimal Price { get; set; }
/// <summary>
/// 重量
/// </summary>
public decimal Weight { get; set; }
/// <summary>
/// 重量单位1克2千克3磅4盎司
/// </summary>
public int WeightUnit { get; set; }
/// <summary>
/// 是否上架销售
/// </summary>
public bool Enabled { get; set; }
}
}