'date', ]; /** * The profile that owns the work hour entry. */ public function user(): BelongsTo { return $this->belongsTo(SmartdokProfile::class, 'user_id', 'id'); } /** * The project linked to this work hour entry. */ public function project(): BelongsTo { return $this->belongsTo(Project::class, 'project_id'); } }