aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Models/Rating.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Data/Models/Rating.cs')
-rw-r--r--src/DevHive.Data/Models/Rating.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/DevHive.Data/Models/Rating.cs b/src/DevHive.Data/Models/Rating.cs
index 8ebde9a..d07692d 100644
--- a/src/DevHive.Data/Models/Rating.cs
+++ b/src/DevHive.Data/Models/Rating.cs
@@ -1,5 +1,7 @@
using System;
+using System.Collections.Generic;
using DevHive.Data.Interfaces.Models;
+using DevHive.Data.RelationModels;
namespace DevHive.Data.Models
{
@@ -7,10 +9,11 @@ namespace DevHive.Data.Models
{
public Guid Id { get; set; }
- public Post Post { get; set; }
+ // public Guid PostId { get; set; }
+ // public Post Post { get; set; }
- public int Likes { get; set; }
+ public int Rate { get; set; }
- public int Dislikes { get; set; }
+ // public HashSet<User> UsersThatRated { get; set; } = new();
}
}