using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.AccRepository.Request
{
    public class RequestAddReworkBindSerial
    {
        [Required(ErrorMessage = "WoIsEmpty")]
        public string wo { get; set; }

        public string sn { get; set; }

        public string line { get; set; }
    }

    public class RequestUpdateReworkBindSerial : RequestAddReworkBindSerial
    {
        [Required(ErrorMessage = "IdIsEmpty")]
        public int id { get; set; }
    }
}
