using System;
using System.Collections.Generic;

namespace Database.Database;

public partial class FaqCategory
{
    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 string? Language { 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 virtual FaqCategory? ParentCategory { get; set; }

    public virtual ICollection<FaqCategory> ChildCategories { get; set; } = new List<FaqCategory>();

    public virtual ICollection<Faq> Faqs { get; set; } = new List<Faq>();
}
