using DiplomovaPrace.Model.Orders;
using Havit.Data.Patterns.DataSeeds;
using Havit.Data.Patterns.DataSeeds.Profiles;

namespace DiplomovaPrace.DataLayer.Seeds
{
	public class PaymentStateSeed : DataSeed<DefaultProfile>
	{
		public override void SeedData()
		{
			PaymentState[] data = new PaymentState[]
			{
				new PaymentState
				{
					Name = "Neuhrazeno"
				},
				new PaymentState
				{
					Name = "Uhrazeno"
				}
			};

			Seed(For(data).PairBy(i => i.Name).WithoutUpdate());
		}
	}
}
