/**
  * Override to cast booleans properly
  */
 public function setAttributes($values, $safeOnly = true)
 {
     parent::setAttributes($values, $safeOnly);
     $this->updateLatestActivityDateTimeWhenATaskIsCompleted = (bool) $this->updateLatestActivityDateTimeWhenATaskIsCompleted;
     $this->updateLatestActivityDateTimeWhenANoteIsCreated = (bool) $this->updateLatestActivityDateTimeWhenANoteIsCreated;
     $this->updateLatestActivityDateTimeWhenAnEmailIsSentOrArchived = (bool) $this->updateLatestActivityDateTimeWhenAnEmailIsSentOrArchived;
     $this->updateLatestActivityDateTimeWhenAMeetingIsInThePast = (bool) $this->updateLatestActivityDateTimeWhenAMeetingIsInThePast;
 }
 /**
  * Override to casting automaticProbabilityMappingDisabled to integer
  */
 public function setAttributes($values, $safeOnly = true)
 {
     parent::setAttributes($values, $safeOnly);
     $this->automaticProbabilityMappingDisabled = (int) $this->automaticProbabilityMappingDisabled;
 }