using Lada.Framework.Data.Domains.BaseEntities;

namespace Lada.Framework.Data.Domains.Cms
{
    public class Topic:BaseEntityWithKey<int>
    {
        /// <summary>
        /// Gets or sets the name
        /// </summary>
        public string SystemName { get; set; } = string.Empty;

        /// <summary>
        /// Gets or sets the value indicating whether this topic should be included in top menu
        /// </summary>
        public bool IncludeInTopMenu { get; set; }

        /// <summary>
        /// Gets or sets the value indicating whether this topic should be included in footer (column 1)
        /// </summary>
        public bool IncludeInFooterColumn1 { get; set; }

        /// <summary>
        /// Gets or sets the value indicating whether this topic should be included in footer (column 1)
        /// </summary>
        public bool IncludeInFooterColumn2 { get; set; }

        /// <summary>
        /// Gets or sets the value indicating whether this topic should be included in footer (column 1)
        /// </summary>
        public bool IncludeInFooterColumn3 { get; set; }

        /// <summary>
        /// Hiển thị phần dưới cùng footer
        /// </summary>
        public bool IncludeInFooterBottom { get; set; }

        /// <summary>
        /// Gets or sets the display order
        /// </summary>
        public int DisplayOrder { get; set; }


        /// <summary>
        /// Gets or sets the password
        /// </summary>
        public string Password { get; set; } = string.Empty;

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

        /// <summary>
        /// Gets or sets the body
        /// </summary>
        public string Description { get; set; } = string.Empty;

        /// <summary>
        /// Table of Content
        /// Từ thẻ H3 => H6
        /// Tự sinh trong khi thêm mới / cập nhật bài viết
        /// </summary>
        public string TOC { get; set; } = string.Empty;


        /// <summary>
        /// Trạng thái bài viết
        /// </summary>
        public PostStatus Status { get; set; } = PostStatus.Published;


        /// <summary>
        /// Trạng thái xem bài viết
        /// </summary>
        public PostVisibility Visibility { get; set; } = PostVisibility.Public;

        public UrlRecord? UrlRecord { get; set; }
    }

}
