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

namespace DiplomovaPrace.DataLayer.Seeds
{
	public class PaymentTypeSeed : DataSeed<DefaultProfile>
	{
		public override void SeedData()
		{
			PaymentType[] data = new PaymentType[]
			{
				//new PaymentType
				//{
				//	Name = "Dobírka",
				//	Fee = 20
				//},
				new PaymentType
				{
					Name = "Bankovní převod",
					Fee = 0
				},
				new PaymentType
				{
					Name = "Na prodejně",
					Fee = 0
				}
			};

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