using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Siger.Middlelayer.Common.ModuleEnum;

namespace Siger.Middlelayer.WmsRepository.Request
{
    public class RequestBatchOut
    {
        /// <summary>
        /// 单据详情id
        /// </summary>
        [Required(ErrorMessage = "IDNotNull")]
        public int id { get; set; }
        [Required(ErrorMessage = "InventoryNotNull")]
        public List<Stock> inventories { get; set; }

        public managemodel type { get; set; }

        public string code { get; set; }

    }
    public class Stock
    {
        /// <summary>
        /// 库存id
        /// </summary>
        public int stockid { get; set; }
        public int count { get; set; }
    }
}
