Initial commit

This commit is contained in:
Ronald Huynen
2026-03-23 21:37:59 +01:00
commit 2547717edb
2193 changed files with 972171 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class CategoryTranslation extends Model
{
use HasFactory;
protected $fillable = ['category_id', 'locale', 'slug', 'name'];
/**
* Get related category for this translation
*
* @return void
*/
public function category()
{
return $this->belongsTo(Category::class);
}
}