using System;
using System.Collections.Generic;

namespace Database.Database;

public partial class ArticleCategory
{
    public int Id { get; set; }

    public string CategoryName { get; set; } = null!;

    public string CategorySlug { get; set; } = null!;

    public string? Description { get; set; }

    public string? IconUrl { get; set; }

    public int? ParentId { get; set; }

    public short? DisplayOrder { get; set; }

    public bool? Status { get; set; }

    public DateTime? CreatedDate { get; set; }

    public DateTime? LastUpdate { get; set; }

    public string? CategoryNameLo { get; set; }

    public string? CategoryNameEn { get; set; }

    public string? DescriptionLo { get; set; }

    public string? DescriptionEn { get; set; }

    public string? Language { get; set; }

    public virtual ICollection<Article> Articles { get; set; } = new List<Article>();

    public virtual ICollection<ArticleCategory> InverseParent { get; set; } = new List<ArticleCategory>();

    public virtual ArticleCategory? Parent { get; set; }
}
