using System;
using System.ComponentModel.DataAnnotations;

namespace Qusion.WebApp.Areas.Qusion.Models.Articles
{
    public sealed class ArticleEditInput
    {
        public Guid Id { get; set; }
          
        [Required(ErrorMessage = "articles.required_title")]
        public string Title { get; set; }

        [Required(ErrorMessage = "articles.required_alias")]
        public string Alias { get; set; }

        [Required(ErrorMessage = "articles.required_summary")]
        public string Summary { get; set; }

        [Required(ErrorMessage = "articles.required_content")]
        public string Content { get; set; }

        public string Source { get; set; }
        public string ExternalLink { get; set; }
        public string[] Thumb { get; set; }
        public string[] Library { get; set; }
        public string[] Document { get; set; }
        public string[] LibraryDocument { get; set; }
        public string[] Karta { get; set; }
        public string Author { get; set; }
        public DateTime PublishedOn { get; set; }
        public DateTime? ExpiresOn { get; set; }
        public string[] Labels { get; set; }
    }
}