Добавил слой Application
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user