You've already forked Atomcms-edit
Initial commit
This commit is contained in:
Executable
+32
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Database\Factories\RadioRankFactory;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class RadioRank extends Model
|
||||
{
|
||||
/** @use HasFactory<RadioRankFactory> */
|
||||
use HasFactory;
|
||||
|
||||
#[\Override]
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'description',
|
||||
'badge_code',
|
||||
'accepts_applications',
|
||||
'application_rank',
|
||||
];
|
||||
|
||||
#[\Override]
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'accepts_applications' => 'boolean',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user