Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Data / RelationModels / UserFriends.cs
blob: dec366d4b1d02959523d16891ae21029fc0bd9f9 (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 DevHive.Data.Models;

namespace DevHive.Data.RelationModels
{
	public class UserFriends
	{
		[Key]
		public Guid UserId { get; set; }
		public User User { get; set; }

		[Key]
		public Guid FriendId { get; set; }
		public User Friend { get; set; }
	}
}