using Lada.Framework.Data.Enums;
using ladaexpress.vn.Infrastructures.DTO.Models.Post.Detail;

namespace ladaexpress.vn.Infrastructures.DTO.Models.Products.Detail
{
    public class ProductDetailModel
    {
        public ProductDetailModel()
        {
            Tags = new List<ProductTagItem>();
        }
        public int Id { get; set; }
        public string Thumbnail { get; set; }
        public string Name { get; set; }
        public string ShortDescription { get; set; }
        public ProductType ProductType { get; set; } = ProductType.General;
        public string Description { get; set; }
        public string PublishDate { get; set; }
        public string ModifiedDate { get; set; }

        public string Author { get; set; }

        public string Slug { get; set; }

        public List<ProductTagItem> Tags { get; set; }

        /// <summary>
        /// Thời gian đọc tính bằng phút
        /// </summary>
        public int ReadingTime { get; set; }
        public string TOC { get; set; }


    }
}
