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

namespace GreenTree.Strohrmann.ERP.Core.Domain.Business
{
    public class EmployeeDegree
    {
        #region Properties

        /// <summary>
        /// Degree Id
        /// </summary>
        public int Id { get; set; }

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

        /// <summary>
        /// Degree value
        /// </summary>
        public decimal Value { get; set; }

        /// <summary>
        /// Degree order
        /// </summary>
        public int Order { get; set; }

        /// <summary>
        /// Employees with that degree
        /// </summary>
        public virtual ICollection<Employee> Employees { get; set; }

        #endregion

        #region Ctor

        /// <summary>
        /// Initializes a new instance of the EmployeeDegree class
        /// </summary>
        public EmployeeDegree() {  }

        /// <summary>
        /// Initializes a new instance of the EmployeeDegree class
        /// </summary>
        /// <param name="id">The id.</param>
        /// <param name="name">The name.</param>
        /// <param name="value">The base value.</param>
        /// <param name="order">The ordering value.</param>
        public EmployeeDegree(int id, string name, decimal value, int order)
        {
            Id = id;
            Name = name;
            Value = value;
            Order = order;
        }

        #endregion
    }
}
