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
35 lines
821 B
C#
35 lines
821 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,
|
|
string? LlmRawOutput,
|
|
DateTime CreatedAt
|
|
);
|
|
|
|
public record CreateReviewRequest(int LectureId, ReviewRating Rating, string? Text);
|
|
|
|
public record UpdateReviewRequest(ReviewRating Rating, string? Text);
|
|
|
|
public record ReviewFilterRequest(
|
|
ReviewLlmStatus? LlmStatus,
|
|
int Page = 1,
|
|
int PageSize = 20
|
|
);
|
|
|
|
public record ReviewPromptDto(string Prompt, DateTime? UpdatedAt);
|
|
|
|
public record UpdateReviewPromptRequest(string Prompt);
|