ActivityCharge.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using InABox.Core;
  3. namespace Comal.Classes
  4. {
  5. public class ActivityCharge : EnclosedEntity
  6. {
  7. [EditorSequence(1)]
  8. [Caption(nameof(Chargeable), IncludePath = false)]
  9. public bool Chargeable { get; set; }
  10. [EditorSequence(2)]
  11. [CurrencyEditor]
  12. [Caption(nameof(FixedCharge), IncludePath = false)]
  13. public double FixedCharge { get; set; }
  14. [EditorSequence(3)]
  15. [CurrencyEditor]
  16. [Caption(nameof(ChargeRate), IncludePath = false)]
  17. public double ChargeRate { get; set; }
  18. [EditorSequence(4)]
  19. [DurationEditor]
  20. [Caption(nameof(ChargePeriod), IncludePath = false)]
  21. public TimeSpan ChargePeriod { get; set; }
  22. [EditorSequence(5)]
  23. [CurrencyEditor()]
  24. [Caption(nameof(MinimumCharge), IncludePath = false)]
  25. public double MinimumCharge { get; set; }
  26. [EditorSequence(6)]
  27. [Caption(nameof(TaxCode), IncludePath = false)]
  28. public TaxCodeLink TaxCode { get; set; }
  29. }
  30. }