using System.Collections.Generic;

namespace Siger.Middlelayer.WmsRepository.Response
{
    public class ResponseLocationList
    {
        public int id { get; set; }
        public int pid { get; set; }
        public string storageName { get; set; }
        public List<FiledName> field { get; set; } = new List<FiledName>();
        public string serialNumber { get; set; }
        public int state { get; set; }
        /// <summary>
        /// 前端填写的储位ID
        /// </summary>
        public int storeID { get; set; }

        public int warehouseId { get; set; }
    }

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