public function auditCreation()
{
// Check if the event is auditable
if ($this->isEventAuditable('created')) {
$this->newData = [];
foreach ($this->updatedData as $attribute => $value) {
if ($this->isAttributeAuditable($attribute)) {
$this->newData[$attribute] = $value;
}
}
$this->audit();
}
}