hasMany(ProjectTranslation::class, 'project_id'); } public function category() { return $this->belongsTo(ProjectCategory::class, 'category_id'); } }