using System.ComponentModel.DataAnnotations;

namespace DiplomovaPrace.Model.Security
{
	public class Role
	{
		public int ID { get; set; }

		[Required]
		[MaxLength(50)]
		public string Name { get; set; }

		public enum Entry
		{
			Admin = 1,
			User = 2
		}
	}
}
