namespace RealEstateTransactions.Entities
{
    public class ServicesDeal
    {
        public int Services_ID { get; private set; }

        public int Deal_ID { get; private set; }

        public double Execution_time { get; private set; }

        public static ServicesDeal CreateServicesDeal(int servicesId, int dealId, double executionTime)
        {
            return new ServicesDeal
            {
                Services_ID = servicesId,
                Deal_ID = dealId,
                Execution_time = executionTime
            };
        }
    }
}