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

namespace ExamTemplate.Data.Models
{
	[Table("Roles")]
	public class Role : IdentityRole<Guid>
	{
		public static string UserRole = "User";
		public static string AdminRole = "Administrator";

		public List<User> Users { get; set; } = new List<User>();
	}
}