State.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace GreenTree.Nachtragsmanagement.Core.Domain.Appendix
  7. {
  8. public class State : BaseEntity
  9. {
  10. /// <summary>
  11. /// Description
  12. /// </summary>
  13. public string Description { get; set; }
  14. /// <summary>
  15. /// Color Hex-Code
  16. /// </summary>
  17. public string HexColor { get; set; }
  18. /// <summary>
  19. /// Determines if this state sets the value of the appendix to zero
  20. /// </summary>
  21. public bool IsZeroValue { get; set; }
  22. /// <summary>
  23. /// Determines if this state is defaultly selected
  24. /// </summary>
  25. public bool IsDefault { get; set; }
  26. /// <summary>
  27. /// Determines if this state is the final state
  28. /// </summary>
  29. public bool IsFinish { get; set; }
  30. /// <summary>
  31. /// Determines the initial percentage value
  32. /// </summary>
  33. public decimal InitialPercentage { get; set; }
  34. }
  35. }