using System;
using System.Collections.Generic;

namespace System.Model
{
	/// <summary>
	///  亿博士更新库存
	/// </summary>
	[Serializable]
	public partial class SetStockModel
	{
		public SetStockModel()
		{ }
		public string appid { get; set; }
		
		public string appkey { get; set; }
		public string method { get; set; } = "eboss.drp.adj.add";
		public string adjtype { get; set; } = "正常调整";
		/// <summary>
		/// 不超过22位
		/// </summary>
		public string masterid { get; set; }
		public string billdate { get; set; }
		public string store { get; set; }
		public string remark { get; set; }
		public string createid { get; set; } = "000";

		public List<StockChangeModel> dts { get; set; }
		public List<StockChangeMSModel> ms { get; set; }

	}

	/// <summary>
	///  亿博士库存返回对象
	/// </summary>
	[Serializable]
	public  class StockChangeModel
	{
		public StockChangeModel()
		{ }

		public string sku { get; set; }

		public int qty { get; set; }

	}
	[Serializable]
	public class StockChangeMSModel
	{
		public StockChangeMSModel()
		{ }

		public string sku { get; set; }
		public string mastercode { get; set; }
		public string mastercode2 { get; set; }

	}

}

