aboutsummaryrefslogtreecommitdiff
path: root/src/Data/DevHive.Data/RelationModels/RatedPost.cs
blob: 7001d920f8a15312fa168bb7494dc73d5f7df80a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Reflection.Metadata.Ecma335;
using DevHive.Data.Models;
using Microsoft.EntityFrameworkCore;

namespace DevHive.Data.RelationModels
{
	[Table("RatedPosts")]
	public class RatedPost
	{
		public Guid UserId { get; set; }
		public User User { get; set; }

		public Guid PostId { get; set; }
		public Post Post { get; set; }
	}
}