EmployeeDegree.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace GreenTree.Strohrmann.ERP.Core.Domain.Business
  5. {
  6. public class EmployeeDegree
  7. {
  8. #region Properties
  9. /// <summary>
  10. /// Degree Id
  11. /// </summary>
  12. public int Id { get; set; }
  13. /// <summary>
  14. /// Degree name
  15. /// </summary>
  16. public string Name { get; set; }
  17. /// <summary>
  18. /// Degree value
  19. /// </summary>
  20. public float Value { get; set; }
  21. /// <summary>
  22. /// Degree order
  23. /// </summary>
  24. public int Order { get; set; }
  25. /// <summary>
  26. /// Employees with that degree
  27. /// </summary>
  28. public virtual ICollection<Employee> Employees { get; set; }
  29. #endregion
  30. #region Ctor
  31. /// <summary>
  32. /// Initializes a new instance of the EmployeeDegree class
  33. /// </summary>
  34. public EmployeeDegree() { }
  35. /// <summary>
  36. /// Initializes a new instance of the EmployeeDegree class
  37. /// </summary>
  38. /// <param name="id">The id.</param>
  39. /// <param name="name">The name.</param>
  40. /// <param name="value">The base value.</param>
  41. /// <param name="order">The ordering value.</param>
  42. public EmployeeDegree(int id, string name, float value, int order)
  43. {
  44. Id = id;
  45. Name = name;
  46. Value = value;
  47. Order = order;
  48. }
  49. #endregion
  50. }
  51. }