using System;
using System.Collections.Generic;
using System.Text;

namespace GreenTree.Strohrmann.ERP.Core.Domain.Business
{
    public class CraftMaterial
    {
        /// <summary>
        /// Craft id
        /// </summary>
        public int CraftId { get; set; }

        /// <summary>
        /// Craft
        /// </summary>
        public virtual Craft Craft { get; set; }

        /// <summary>
        /// Material id
        /// </summary>
        public int MaterialId { get; set; }

        /// <summary>
        /// Material
        /// </summary>
        public virtual Material Material { get; set; }

        /// <summary>
        /// The amount of the material
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// The material calculation factor
        /// </summary>
        public decimal CalculationFactor { get; set; }

        /// <summary>
        /// The craft material value
        /// </summary>
        public decimal Value { get; set; }
    }
}
