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.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/DevHive.Data/Models/Rating.cs b/src/DevHive.Data/Models/Rating.cs
new file mode 100644
index 0000000..8ebde9a
--- /dev/null
+++ b/src/DevHive.Data/Models/Rating.cs
@@ -0,0 +1,16 @@
+using System;
+using DevHive.Data.Interfaces.Models;
+
+namespace DevHive.Data.Models
+{
+ public class Rating : IRating
+ {
+ public Guid Id { get; set; }
+
+ public Post Post { get; set; }
+
+ public int Likes { get; set; }
+
+ public int Dislikes { get; set; }
+ }
+}