Source

main / Source / WebClient / Web.Client / Model / DocumentRepository.cs

Full commit
using System.ComponentModel.DataAnnotations;

namespace DataUp.Web.Client.Model
{
    public class DocumentRepository
    {
        [Required(AllowEmptyStrings = false, ErrorMessage = "Repository is required.")]
        [Display(Name = "Repository")]
        [DataType(DataType.Text)]
        public string Id { get; set; }

        [Required(AllowEmptyStrings = false, ErrorMessage = "Repository Name is required.")]
        [Display(Name = "Repository Name")]
        [DataType(DataType.Text)]
        public string Name { get; set; }
    }
}