🌈 Skin Chromas

This commit is contained in:
Rico van Zelst
2023-10-27 10:20:17 +02:00
parent bb771faf25
commit 021eae9bf4
11 changed files with 297 additions and 9 deletions

24
app/Models/SkinChroma.php Normal file
View File

@@ -0,0 +1,24 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class SkinChroma extends Model
{
use HasFactory;
protected $fillable = [
'full_skin_id',
'skin_name',
'chroma_name',
'chroma_colors',
'chroma_image',
];
public function skin()
{
return $this->belongsTo(Skin::class);
}
}