Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Data / RelationModels / UserFriend.cs
blob: 32a00d41070cf2d6fe65f700938af16ff1a19fec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using DevHive.Data.Models;

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

		public Guid FriendId { get; set; }
		public User Friend { get; set; }
	}
}