using GreenTree.Strohrmann.ERP.Core.Domain.Shared;
using System;
using System.Collections.Generic;
using System.Text;

namespace GreenTree.Strohrmann.ERP.Core.Domain.Business
{
    public class Material : TrackedEntity
    {
        /// <summary>
        /// Material id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// Material name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Material item number
        /// </summary>
        public string ItemNumber { get; set; }

        /// <summary>
        /// Material description
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// Material net value
        /// </summary>
        public decimal NetValue { get; set; }

        /// <summary>
        /// Material height
        /// </summary>
        public decimal Height { get; set; }

        /// <summary>
        /// Material width
        /// </summary>
        public decimal Width { get; set; }

        /// <summary>
        /// Material depth
        /// </summary>
        public decimal Depth { get; set; }

        /// <summary>
        /// Material default unit
        /// </summary>
        public virtual Unit DefaultUnit { get; set; }

        /// <summary>
        /// The amount of items per package
        /// </summary>
        public decimal PackageSize { get; set; }

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