| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | 
							- using System;
 
- using InABox.Core;
 
- using Newtonsoft.Json.Serialization;
 
- namespace Comal.Classes
 
- {
 
-     public class ActivityCharge : EnclosedEntity
 
-     {
 
-         public ActivityCharge() { }
 
-         public ActivityCharge(Func<BaseObject>? entity) : base(entity) { }
 
-         [EditorSequence(1)]
 
-         [Caption(nameof(Chargeable), IncludePath = false)]
 
-         public bool Chargeable { get; set; }
 
-         
 
-         [EditorSequence(2)]
 
-         [CurrencyEditor]
 
-         [Caption(nameof(FixedCharge), IncludePath = false)]
 
-         public double FixedCharge { get; set; }
 
-         
 
-         [EditorSequence(3)]
 
-         [CurrencyEditor]
 
-         [Caption(nameof(ChargeRate), IncludePath = false)]
 
-         public double ChargeRate { get; set; }
 
-         
 
-         [EditorSequence(4)]
 
-         [DurationEditor]
 
-         [Caption(nameof(ChargePeriod), IncludePath = false)]
 
-         public TimeSpan ChargePeriod { get; set; }
 
-         
 
-         [EditorSequence(5)]
 
-         [CurrencyEditor()]
 
-         [Caption(nameof(MinimumCharge), IncludePath = false)]
 
-         public double MinimumCharge { get; set; }
 
-         
 
-         [EditorSequence(6)]
 
-         [Caption(nameof(TaxCode), IncludePath = false)]
 
-         public TaxCodeLink TaxCode { get; set; }
 
-         protected override void Init()
 
-         {
 
-             base.Init();
 
-             TaxCode = new TaxCodeLink(() => LinkedEntity());
 
-         }
 
-     }
 
- }
 
 
  |