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; }
    }
}
