﻿namespace ForumSystem.Web.InputModels.Questions
{
    using System.ComponentModel.DataAnnotations;
    using System.Web.Mvc;

    public class AskInputModel
    {
        [Required]
        [MaxLength(100)]
        [Display(Name = "Title")]
        public string Title { get; set; }

        [Required]
        [AllowHtml]
        [Display(Name = "Content")]
        [DataType("tinymce_full")]
        [UIHint("tinymce_full")]
        public string Content { get; set; }

        // TODO: Create custon validation for the tags
        [Required]
        [Display(Name = "Tags")]
        public string Tags { get; set; }
    }
}
