using UniVerse.Domain.Enums;

namespace UniVerse.Domain.Entities;

public class Tag
{
    public int Id { get; set; }
    public string Name { get; set; } = string.Empty;
    public TagType Type { get; set; }
    public int? ParentId { get; set; }
    public DateTime CreatedAt { get; set; } = DateTime.UtcNow;

    // Navigation properties
    public Tag? Parent { get; set; }
    public ICollection<Tag> Children { get; set; } = new List<Tag>();
    public ICollection<CourseTag> CourseTags { get; set; } = new List<CourseTag>();
}
