using System.ComponentModel.DataAnnotations;

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

        public string reason { get; set; }

        public int start_station { get; set; }

        public string functions { get; set; }
    }

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