//------------------------------------------------------------------------------
// <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 PaymentStateEntries : DataEntries<DiplomovaPrace.Model.Orders.PaymentState>, IPaymentStateEntries 
	{
		public DiplomovaPrace.Model.Orders.PaymentState NotPaid
        {
            get
            {
				if (notPaid == null)
				{
					notPaid = GetEntry(DiplomovaPrace.Model.Orders.PaymentState.Entry.NotPaid);
				}
				return notPaid;
            }
        }
		private DiplomovaPrace.Model.Orders.PaymentState notPaid;

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

		public PaymentStateEntries(DiplomovaPrace.DataLayer.Repositories.Orders.IPaymentStateRepository repository)
			: base(repository)
		{
		}
	}
}