using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.Repository.Request
{
    public class ResponseAddShift
    {
        public string sectionid { get; set; }

        [Required(ErrorMessage = "TitleIsEmpty")]
        public string title { get; set; }

        public string description { get; set; }

        [Required(ErrorMessage = "ShiftTimeEmpty")]
        public string start_time { get; set; }

        [Required(ErrorMessage = "ShiftTimeEmpty")]
        public string end_time { get; set; }
    }

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