forked from LittleBigRefresh/Refresh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRateReviewRelation.cs
More file actions
25 lines (20 loc) · 787 Bytes
/
Copy pathRateReviewRelation.cs
File metadata and controls
25 lines (20 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using Refresh.Database.Models.Comments;
using Refresh.Database.Models.Users;
namespace Refresh.Database.Models.Relations;
#nullable disable
public partial class RateReviewRelation : IRealmObject
{
// we could just reuse RatingType from GameLevel rating logic
[Ignored]
public RatingType RatingType
{
get => (RatingType)this._ReviewRatingType;
set => this._ReviewRatingType = (int)value;
}
// ReSharper disable once InconsistentNaming
public int _ReviewRatingType { get; set; }
public GameReview Review { get; set; }
// for the purposes of checking if a positive/negative rating on a review has already been submitted by the user
public GameUser User { get; set; }
public DateTimeOffset Timestamp { get; set; }
}