24 lines
559 B
C#
24 lines
559 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);
|