ProductCharge.cs 753 B

1234567891011121314151617181920212223242526
  1. using InABox.Core;
  2. namespace Comal.Classes
  3. {
  4. public class ProductCharge : EnclosedEntity
  5. {
  6. [CheckBoxEditor]
  7. [EditorSequence(1)]
  8. [Caption(nameof(Chargeable), IncludePath = false)]
  9. public bool Chargeable { get; set; }
  10. [EnumLookupEditor(typeof(ProductPriceType))]
  11. [EditorSequence(2)]
  12. [Caption(nameof(PriceType), IncludePath = false)]
  13. public ProductPriceType PriceType { get; set; }
  14. [CurrencyEditor]
  15. [EditorSequence(3)]
  16. [Caption(nameof(Price), IncludePath = false)]
  17. public double Price { get; set; }
  18. [EditorSequence(4)]
  19. [Caption(nameof(Markup), IncludePath = false)]
  20. public double Markup { get; set; }
  21. }
  22. }