using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Qusion.WebApp.Areas.cms.Models.Classifications;

namespace Qusion.WebApp.Areas.cms.Models.Blogs
{
    public class PostModel
    {
        private IList<LabelSimpleListModel> _labels = new List<LabelSimpleListModel>();

        /// <summary>
        /// Gets or sets post id.
        /// </summary>
        public Guid ID { get; set; }

        /// <summary>
        /// Gets or sets post title.
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// Gets or sets post alias.
        /// </summary>
        public string Alias { get; set; }

        /// <summary>
        /// Gets or sets post content.
        /// </summary>
        public string Content { get; set; }

        public string Summary { get; set; }

        /// <summary>
        /// Gets or sets post workflow status.
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        ///   Gets or sets value indicates if comments are allowed for this Post.
        /// </summary>
        public bool AllowComments { get; set; }

        /// <summary>
        ///   Gets or sets value indicates if comments by anonymous are allowed for this Post.
        /// </summary>
        public bool AllowAnonymousComments { get; set; }

        

        /// <summary>
        /// Gets or sets blog id.
        /// </summary>
        public Guid BlogID { get; set; }

        /// <summary>
        /// Gets or sets blog title.
        /// </summary>
        public string BlogTitle { get; set; }

        public IList<LabelSimpleListModel> Labels
        {
            get { return _labels; }
            set { _labels = value; }
        }
    }
}