935e4ed37a
Backend CI / build-and-test (push) Failing after 11m26s
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Failing after 14m2s
Frontend CI / build-and-check (push) Failing after 19m55s
🚀 Create and publish a Docker image / Build & publish frontend image (push) Failing after 14m7s
🚀 Create and publish a Docker image / Build & publish backend image (push) Failing after 14m59s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Failing after 15m0s
28 lines
684 B
C#
28 lines
684 B
C#
using UniVerse.Domain.Enums;
|
|
|
|
namespace UniVerse.Application.DTOs.Reviews;
|
|
|
|
public record ReviewDto(
|
|
int Id,
|
|
int LectureId,
|
|
string? LectureTitle,
|
|
int UserId,
|
|
string? UserName,
|
|
ReviewRating Rating,
|
|
string? Text,
|
|
ReviewLlmStatus LlmStatus,
|
|
ReviewSentiment? Sentiment,
|
|
double? QualityScore,
|
|
bool? IsInformative,
|
|
string[]? LlmTags,
|
|
DateTime CreatedAt
|
|
);
|
|
|
|
public record CreateReviewRequest(int LectureId, ReviewRating Rating, string? Text);
|
|
|
|
public record UpdateReviewRequest(ReviewRating Rating, string? Text);
|
|
|
|
public record ReviewPromptDto(string Prompt, DateTime? UpdatedAt);
|
|
|
|
public record UpdateReviewPromptRequest(string Prompt);
|