public static AdditionalChargeModel ToHydratedModel(this AddlCharge anAdditionalChargeEntity)
        {
            var result = anAdditionalChargeEntity.ToModel();

            result.ChargeType = anAdditionalChargeEntity.ChargeType.ToModel();

            return(result);
        }
 public static AdditionalChargeModel ToModel(this AddlCharge anAdditionalChargeEntity)
 {
     return(new AdditionalChargeModel()
     {
         ChargeId = anAdditionalChargeEntity.ChargeId,
         Code = anAdditionalChargeEntity.Code,
         ChargeTypeId = anAdditionalChargeEntity.ChargeTypeId,
         DefaultAmount = anAdditionalChargeEntity.DefaultAmount
     });
 }