8ac593d36f
Backend CI / build-and-test (push) Failing after 14m19s
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Failing after 12m5s
Frontend CI / build-and-check (push) Failing after 17m58s
🚀 Create and publish a Docker image / Build & publish frontend image (push) Failing after 10m11s
🚀 Create and publish a Docker image / Build & publish backend image (push) Failing after 11m3s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Failing after 14m58s
26 lines
943 B
C#
26 lines
943 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 string? LlmRawOutput { 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>();
|
|
}
|