using System;
using System.Collections.Generic;
using BeWo.Service.Plugins;
using BS.Shared.Core;
using BS.Shared.DataContracts;

namespace BeWo.Report.VereinLebensgestaltung
{
	public class CustomGroupDurationCalculator : GroupDurationCalculator
	{
		public override GroupDurationDC CalculateGroupDuration(int personCount, int employeeCount, decimal totalDuration)
		{
			return new GroupDurationDC()
			{
				SingleDuration = ((totalDuration*employeeCount)/personCount),
				TotalDuration = totalDuration
			};
		}
	}
}
