Details

Entities I will add back

I was having some issues with the following and
I decided to remove them from my project
and add them back gradually.

NOTIFICATION
public class Notification
{
   public Guid Id { get; set; }
   public string UserId { get; set; } = string.Empty;
   public required string Title { get; set; }
   public required string Message { get; set; }
   public DateTime CreatedAt { get; set; }
}
// Add a NotificationType enumeration to easily classify notifications by type
REVIEW
public class Review
{
   public Guid Id { get; set; }
   public string CustomerId { get; set; } = string.Empty;
   public Customer? Customer { get; set; }
   public Guid ProductId { get; set; }
   public Product? Product { get; set; }
   public string? Comment { get; set; }
   public Rating Rating { get; set; }
   public DateTime ReviewedAt { get; set; }
}
public enum Rating
{
   OneStar = 1,
   TwoStars = 2,
   ThreeStars = 3,
   FourStars = 4,
   FiveStars = 5
}
PRODUCT
public class Product
{
   public Guid Id { get; set; }
   public required string Name { get; set; }
   public string? Description { get; set; }
   public required decimal Price { get; set; }
   public string ImageUrl { get; set; } = string.Empty;
   public bool IsAvailable { get; set; }
   public string VendorId { get; set; } = string.Empty;
   public Vendor? Vendor { get; set; }
   //public ICollection<Review>? Reviews { get; set; }
}
LIKE
public class Like
{
   public Guid Id { get; set; }
   public Guid CustomerId { get; set; }
   public Customer Customer { get; set; } = new();
   public Guid ProductId { get; set; }
   public Product Product { get; set; } = new();
   public DateTime LikedAt { get; set; }
}