using System;
using System.ComponentModel.DataAnnotations;

namespace Qusion.WebApp.Areas.Qusion.Models.GLibraries
{
    /// <summary>
    /// Represent model with the data necessary for editing post.
    /// </summary>
    public class LibraryTypeEditModel
    {
        /// <summary>
        /// Gets or sets post id.
        /// </summary>
        public Guid ID { get; set; }

        /// <summary>
        /// Gets or sets post title.
        /// </summary>
        [Required(ErrorMessage = "odjeljenja.required_title")]
        public string Title { get; set; }

        public string Alias { get; set; }
    }
}