//------------------------------------------------------------------------------
// <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 AddressTypeEntries : DataEntries<DiplomovaPrace.Model.Orders.AddressType>, IAddressTypeEntries 
	{
		public DiplomovaPrace.Model.Orders.AddressType DeliveryAddress
        {
            get
            {
				if (deliveryAddress == null)
				{
					deliveryAddress = GetEntry(DiplomovaPrace.Model.Orders.AddressType.Entry.DeliveryAddress);
				}
				return deliveryAddress;
            }
        }
		private DiplomovaPrace.Model.Orders.AddressType deliveryAddress;

		public DiplomovaPrace.Model.Orders.AddressType InvoicingAddress
        {
            get
            {
				if (invoicingAddress == null)
				{
					invoicingAddress = GetEntry(DiplomovaPrace.Model.Orders.AddressType.Entry.InvoicingAddress);
				}
				return invoicingAddress;
            }
        }
		private DiplomovaPrace.Model.Orders.AddressType invoicingAddress;

		public AddressTypeEntries(DiplomovaPrace.DataLayer.Repositories.Orders.IAddressTypeRepository repository)
			: base(repository)
		{
		}
	}
}