17 lines
554 B
C#
17 lines
554 B
C#
|
|
namespace Meezi.Core.Entities;
|
||
|
|
|
||
|
|
public class CafeReview : BaseEntity
|
||
|
|
{
|
||
|
|
public string CafeId { get; set; } = string.Empty;
|
||
|
|
public string AuthorName { get; set; } = string.Empty;
|
||
|
|
public string? AuthorPhone { get; set; }
|
||
|
|
public int Rating { get; set; }
|
||
|
|
public string? Comment { get; set; }
|
||
|
|
public string? OwnerReply { get; set; }
|
||
|
|
public DateTime? OwnerRepliedAt { get; set; }
|
||
|
|
public bool IsHidden { get; set; }
|
||
|
|
|
||
|
|
public Cafe Cafe { get; set; } = null!;
|
||
|
|
public ICollection<CafeReviewPhoto> Photos { get; set; } = [];
|
||
|
|
}
|