using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.AccRepository.Request
{
    public class RequestRoutingOutStation
    {
        [Required(ErrorMessage = "LineIsEmpty")]
        public int line { get; set; }
        [Required(ErrorMessage = "StationIsEmpty")]
        public int station { get; set; }
        [Required(ErrorMessage = "EventNoIsEmpty")]
        public int eventno { get; set; }
        //[Required(ErrorMessage = "StatusIsEmpty")]
        //public string status { get; set; }
    }

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