//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file will be lost if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Havit.Data.EntityFrameworkCore.Patterns;
using Havit.Data.Patterns.DataEntries;
using Havit.Data.Patterns.Repositories;

namespace DiplomovaPrace.DataLayer.DataEntries.Security
{
	[System.CodeDom.Compiler.GeneratedCode("Havit.Data.EntityFrameworkCore.CodeGenerator", "1.0")]
	public class RoleEntries : DataEntries<DiplomovaPrace.Model.Security.Role>, IRoleEntries 
	{
		public DiplomovaPrace.Model.Security.Role Admin
        {
            get
            {
				if (admin == null)
				{
					admin = GetEntry(DiplomovaPrace.Model.Security.Role.Entry.Admin);
				}
				return admin;
            }
        }
		private DiplomovaPrace.Model.Security.Role admin;

		public DiplomovaPrace.Model.Security.Role User
        {
            get
            {
				if (user == null)
				{
					user = GetEntry(DiplomovaPrace.Model.Security.Role.Entry.User);
				}
				return user;
            }
        }
		private DiplomovaPrace.Model.Security.Role user;

		public RoleEntries(DiplomovaPrace.DataLayer.Repositories.Security.IRoleRepository repository)
			: base(repository)
		{
		}
	}
}