aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Models/Role.cs
blob: 63e6c7c50690867a9d7df2500d2948c18545b868 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;

namespace DevHive.Data.Models
{
	[Table("Roles")]
	public class Role : IdentityRole<Guid>
	{
		public const string DefaultRole = "User";
		public const string AdminRole = "Admin";

		public List<User> Users { get; set; }
	}
}