aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/RelationModels/UserRate.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-02-01 16:03:38 +0200
committertranstrike <transtrike@gmail.com>2021-02-01 16:03:38 +0200
commitb41f887712ef8f2f0b602da3042261a78c5f492a (patch)
treefb6437ea34896da7c7db3a292bbdb8ee7d14e889 /src/DevHive.Data/RelationModels/UserRate.cs
parentaa342542789b22f24ce3ecbfcb7888d4ff12d30c (diff)
downloadDevHive-b41f887712ef8f2f0b602da3042261a78c5f492a.tar
DevHive-b41f887712ef8f2f0b602da3042261a78c5f492a.tar.gz
DevHive-b41f887712ef8f2f0b602da3042261a78c5f492a.zip
Commented out implementation of Rating; Bug fixes
Diffstat (limited to 'src/DevHive.Data/RelationModels/UserRate.cs')
-rw-r--r--src/DevHive.Data/RelationModels/UserRate.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/DevHive.Data/RelationModels/UserRate.cs b/src/DevHive.Data/RelationModels/UserRate.cs
new file mode 100644
index 0000000..06e9ab5
--- /dev/null
+++ b/src/DevHive.Data/RelationModels/UserRate.cs
@@ -0,0 +1,16 @@
+using System;
+using System.ComponentModel.DataAnnotations.Schema;
+using DevHive.Data.Models;
+
+namespace DevHive.Data.RelationModels
+{
+ [Table("UserRates")]
+ public class UserRate
+ {
+ public Guid Id { get; set; }
+
+ public User User { get; set; }
+
+ public bool Rate { get; set; }
+ }
+}