using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Siger.Middlelayer.Repository.Request;

namespace Siger.Middlelayer.AccRepository.Request
{
    public class SnStatus
    {
        public string Sn { get; set; }

        public string Result { get; set; }
    }

    public class RequestSavePackingCheck : RequestBase
    {
        [Required(ErrorMessage = "箱号不为空")]
        public string BoxId { get; set; }

        [Required(ErrorMessage = "SN不能为空")]
        public List<SnStatus> Sns { get; set; }

        public string IP { get; set; }

        public int UID { get; set; }
        public int SectionID { get; set; }
    }
}
