//------------------------------------------------------------------------------
// <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.Orders
{
	[System.CodeDom.Compiler.GeneratedCode("Havit.Data.EntityFrameworkCore.CodeGenerator", "1.0")]
	public class OrderStateEntries : DataEntries<DiplomovaPrace.Model.Orders.OrderState>, IOrderStateEntries 
	{
		public DiplomovaPrace.Model.Orders.OrderState Accepted
        {
            get
            {
				if (accepted == null)
				{
					accepted = GetEntry(DiplomovaPrace.Model.Orders.OrderState.Entry.Accepted);
				}
				return accepted;
            }
        }
		private DiplomovaPrace.Model.Orders.OrderState accepted;

		public DiplomovaPrace.Model.Orders.OrderState Cancelled
        {
            get
            {
				if (cancelled == null)
				{
					cancelled = GetEntry(DiplomovaPrace.Model.Orders.OrderState.Entry.Cancelled);
				}
				return cancelled;
            }
        }
		private DiplomovaPrace.Model.Orders.OrderState cancelled;

		public DiplomovaPrace.Model.Orders.OrderState Delivered
        {
            get
            {
				if (delivered == null)
				{
					delivered = GetEntry(DiplomovaPrace.Model.Orders.OrderState.Entry.Delivered);
				}
				return delivered;
            }
        }
		private DiplomovaPrace.Model.Orders.OrderState delivered;

		public DiplomovaPrace.Model.Orders.OrderState Paid
        {
            get
            {
				if (paid == null)
				{
					paid = GetEntry(DiplomovaPrace.Model.Orders.OrderState.Entry.Paid);
				}
				return paid;
            }
        }
		private DiplomovaPrace.Model.Orders.OrderState paid;

		public DiplomovaPrace.Model.Orders.OrderState Sent
        {
            get
            {
				if (sent == null)
				{
					sent = GetEntry(DiplomovaPrace.Model.Orders.OrderState.Entry.Sent);
				}
				return sent;
            }
        }
		private DiplomovaPrace.Model.Orders.OrderState sent;

		public DiplomovaPrace.Model.Orders.OrderState ShoppingCart
        {
            get
            {
				if (shoppingCart == null)
				{
					shoppingCart = GetEntry(DiplomovaPrace.Model.Orders.OrderState.Entry.ShoppingCart);
				}
				return shoppingCart;
            }
        }
		private DiplomovaPrace.Model.Orders.OrderState shoppingCart;

		public DiplomovaPrace.Model.Orders.OrderState WaitingForPayment
        {
            get
            {
				if (waitingForPayment == null)
				{
					waitingForPayment = GetEntry(DiplomovaPrace.Model.Orders.OrderState.Entry.WaitingForPayment);
				}
				return waitingForPayment;
            }
        }
		private DiplomovaPrace.Model.Orders.OrderState waitingForPayment;

		public OrderStateEntries(DiplomovaPrace.DataLayer.Repositories.Orders.IOrderStateRepository repository)
			: base(repository)
		{
		}
	}
}