Source

main-vinayFork / Source / WebClient / Web.Client / Model / DocumentMetadata.cs

Full commit
using System.ComponentModel.DataAnnotations;

namespace DataUp.Web.Client.Model
{
    public class DocumentMetadata
    {
        public string Label { get; set; }

        [Required(AllowEmptyStrings = false, ErrorMessage = "Required")]
        [Display(Name = "Value")]
        [DataType(DataType.MultilineText)]
        public string Value { get; set; }

        public bool IsCompulsory { get; set; }

        public string Validationtype { get; set; } // Phone, Email, DateTime

        public string Description { get; set; }
    }
}