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

namespace Siger.Middlelayer.WmsRepository.Request
{
    public class RequestWaveHousing
    {
        /// <summary>
        /// 单据详情id
        /// </summary>
        [Required(ErrorMessage = "IDNotNull")]
        public int id { get; set; }
        [Required(ErrorMessage = "LocationIDNotNull")]
        public int locationid { get; set; }
        [Required(ErrorMessage = "CountNotNull")]
        public int count { get; set; }

        public managemodel type { get; set; }

        /// <summary>
        /// 使用来料批次号入库
        /// </summary>
        public int useSourceBatch { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string batchCode { get; set; }
        /// <summary>
        /// 生成日期
        /// </summary>
        public DateTime? productingTime { get; set; } 
        /// <summary>
        /// 序号
        /// </summary>
        public string No { get; set; }

        /// <summary>
        /// 是否为调拨接收
        /// </summary>
        public int isReceiving { get; set; } = 0;

        public int businessID { get; set; } = 0;

        public int ProjectId { get; set; }
        public int UserId { get; set; }
    }
}
