using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.EsopRepository.Request
{
    public class RequestAddDocumentSet
    {
        [Required(ErrorMessage = "NameIsEmpty")]
        public string name { get; set; }

        public string process_id { get; set; }

        public string usergroup_ids { get; set; }

        public string sign_usergroup_id { get; set; }

        public string need_train { get; set; }
    }

    public class RequestUpdateDocumentSet : RequestAddDocumentSet
    {
        public int id { get; set; }
    }
}
