using Lada.Framework.Data.Domains.BaseEntities;
using System.ComponentModel.DataAnnotations.Schema;

namespace Lada.Framework.Data.Domains.Cms
{
    public class PostCategory:BaseEntity
    {
        /// <summary>
        /// Id Danh mục
        /// </summary>
        public int CategoryId { get; set; }

        /// <summary>
        /// Id bài viết
        /// </summary>
        public int PostId { get; set; }

        /// <summary>
        /// Thứ tự hiển thị
        /// </summary>
        public int DisplayOrder { get; set; }

        public virtual Post Post { get; set; }

        public virtual Category Category { get; set; }
    }
}
