namespace FinControl.Domain.Entities; using Enums; public class Category { public Guid Id { get; set; } = Guid.NewGuid(); public Guid UserId { get; set; } public string Name { get; set; } = string.Empty; public CategoryType Type { get; set; } public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public DateTime? UpdatedAt { get; set; } public User? User { get; set; } public ICollection Transactions { get; set; } = new List(); }