using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cashier
{
    class RootDataOfProductInOrder
    {
        public RootDataOfProductInStore ProductInStore { get; set; }
        public int AmountProduct { get; set; }

        public decimal Cost {
            get
            {
                return ProductInStore.PriceOfOne * AmountProduct;
            }

        }
    }
}
