Files
meezi/src/Meezi.API/Models/Public/ReviewDtos.cs
T

23 lines
518 B
C#
Raw Normal View History

2026-05-27 21:33:48 +03:30
namespace Meezi.API.Models.Public;
public record CafeReviewDto(
string Id,
string AuthorName,
int Rating,
string? Comment,
string? OwnerReply,
DateTime CreatedAt,
IReadOnlyList<string> PhotoUrls,
bool IsHidden = false);
public record CreateCafeReviewRequest(
string AuthorName,
string? AuthorPhone,
int Rating,
string? Comment,
string? CaptchaToken = null);
public record ReplyCafeReviewRequest(string Reply);
public record HideCafeReviewRequest(bool IsHidden);