using CMSMicroservice.Domain.Common;

namespace CMSMicroservice.Domain.Entities.Blog;

/// <summary>
/// جدول واسط بین مقاله و دسته‌بندی (چند به چند)
/// </summary>
public class BlogPostCategory : BaseEntity
{
    public long BlogPostId { get; set; }
    public long BlogCategoryId { get; set; }

    public virtual BlogPost BlogPost { get; set; } = null!;
    public virtual BlogCategory BlogCategory { get; set; } = null!;
}
