aboutsummaryrefslogtreecommitdiff
path: root/src/Data/DevHive.Data.Models/Rating.cs
blob: 8743a3e4d92d64697ff8eb5b3a8c4cd3080d276d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Collections.Generic;
using DevHive.Data.Models.Interfaces;

namespace DevHive.Data.Models
{
	public class Rating : IRating
	{
		//if adding rating to comments change Post for intreface IRatable!
		public Guid Id { get; set; }

		public User User { get; set; }

		public Post Post { get; set; }

		public bool IsLike { get; set; }
	}
}