belongsTo(User::class, 'created_by'); } /** * Relation for the user that updated this entity. */ public function updatedBy(): BelongsTo { return $this->belongsTo(User::class, 'updated_by'); } }