﻿using System;

namespace E2Print.Domain.Entities
{
    public class OrderLine
    {
        public Guid Id { get; set; }
        public Order Order { get; set; }
        public Product Product { get; set; }
        public int Quantity { get; set; }
        public decimal Price { get; set; }

        public  decimal LineTotal => Price*Quantity;
    }
}
