using Siger.Middlelayer.Common;
using System.Collections.Generic;

namespace Siger.Middlelayer.WmsRepository.Request
{
    public class RequestAddLocation
    {
        /// <summary>
        /// 父级树状图中选中的id
        /// </summary>
        public int parentid { get; set; }
        public string name { get; set; }
        public int status { get; set; }

        public LocationTypeEnum type { get; set; }
    }

    public class RequestAddLocationModel
    {
        /// <summary>
        /// 仓库ID
        /// </summary>
        public int warehouseid { get; set; }
        /// <summary>
        /// 储位ID
        /// </summary>
        public string storeID { get; set; }
        /// <summary>
        /// 是否停用0:停用 1:启用
        /// </summary>
        public int status { get; set; }
        public List<LocationModel> storeArr { get; set; } = new List<LocationModel>();
    }

    public class LocationModel
    {
        /// <summary>
        /// 储位类别ID
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 储位类别名称
        /// </summary>
        //public string name { get; set; }
        /// <summary>
        /// 储位名称
        /// </summary>
        public string val { get; set; }
        /// <summary>
        /// 储位自增ID
        /// </summary>
        public string locationid { get; set; }
    }
}
