Files
UniVerse/backend/UniVerse.Domain/Entities/Review.cs
T
2026-04-28 15:52:05 +03:00

25 lines
897 B
C#

using UniVerse.Domain.Enums;
namespace UniVerse.Domain.Entities;
public class Review
{
public int Id { get; set; }
public int LectureId { get; set; }
public int UserId { get; set; }
public ReviewRating Rating { get; set; }
public string? Text { get; set; }
public ReviewLlmStatus LlmStatus { get; set; } = ReviewLlmStatus.Pending;
public ReviewSentiment? Sentiment { get; set; }
public double? QualityScore { get; set; }
public bool? IsInformative { get; set; }
public string[]? LlmTags { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
// Navigation properties
public Lecture Lecture { get; set; } = null!;
public User User { get; set; } = null!;
public ICollection<CoinTransaction> CoinTransactions { get; set; } = new List<CoinTransaction>();
}