23 lines
518 B
C#
23 lines
518 B
C#
|
|
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);
|