using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.Repository.Request
{
    public class RequestAddUserGroup
    {
        [Required(ErrorMessage = "NameIsEmpty")]
        public string title { get; set; }

        public string description { get; set; }

        public string parentid { get; set; }

        public int sectionid { get; set; }
    }

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