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 Craft : TrackedEntity
    {
        /// <summary>
        /// Craft id
        /// </summary>
        public int Id { get; set; }

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

        /// <summary>
        /// Craft creation date
        /// </summary>
        public DateTime CreationDate { get; set; }

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

        /// <summary>
        /// Craft comment
        /// </summary>
        public string Comment { get; set; }

        /// <summary>
        /// Craft employees
        /// </summary>
        public virtual ICollection<CraftEmployee> CraftEmployees { get; set; }

        /// <summary>
        /// Craft materials
        /// </summary>
        public virtual ICollection<CraftMaterial> CraftMaterials { get; set; }
    }
}
