namespace Atomx.Admin.Client.Models
{
    public class ProductAddStockModel
    {
        /// <summary>
        /// 数据ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 产品ID
        /// </summary>
        public long ProductId { get; set; }

        /// <summary>
        /// 产品标题
        /// </summary>
        public string Title { get; set; } = string.Empty;

        /// <summary>
        /// 产品属性
        /// </summary>
        public List<ProductStockAttributeModel> ProductStockAttributes { get; set; } = new();

        /// <summary>
        /// SKU信息
        /// </summary>
        public ProductAttributeCombinationModel ProductAttributeCombination { get; set; } = new();

        /// <summary>
        /// 归属公司ID
        /// </summary>
        public long CorporationId { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public string WarehouseId { get; set; } = string.Empty;

        /// <summary>
        /// 是否新增属性
        /// </summary>
        public bool AddAttribute { get; set; }

        /// <summary>
        /// 添加库存
        /// </summary>
        public int AddStockQuantity { get; set; }
    }
}
