first commit
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
Kevin Adametz 2025-10-20 17:53:02 +02:00
commit 405df0a122
3083 changed files with 69203 additions and 0 deletions

View file

@ -0,0 +1,50 @@
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class CategoryTranslation
*
* @property int $id
* @property string $name
* @property string|null $description
* @property string $lang
* @property string|null $slug
* @property Category $category
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|CategoryTranslation newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|CategoryTranslation newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|CategoryTranslation query()
* @method static \Illuminate\Database\Eloquent\Builder|CategoryTranslation whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|CategoryTranslation whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|CategoryTranslation whereLang($value)
* @method static \Illuminate\Database\Eloquent\Builder|CategoryTranslation whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|CategoryTranslation whereSlug($value)
* @mixin \Eloquent
*/
class CategoryTranslation extends Model
{
protected $table = 'category_translation';
public $incrementing = false;
public $timestamps = false;
protected $casts = [
'id' => 'int'
];
protected $fillable = [
'id',
'description'
];
public function category()
{
return $this->belongsTo(Category::class, 'id');
}
}