Public Access
zwischencommit
This commit is contained in:
1 parent
bdb62a6ce2
commit
ed07d3ef70
8 files changed
+263
-5
No files matched your search
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Band extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'email',
|
||||
'phone',
|
||||
'city',
|
||||
'website',
|
||||
'spotify',
|
||||
'instagram',
|
||||
'youtube',
|
||||
'about',
|
||||
'tech_rider_path',
|
||||
'stage_plan_path',
|
||||
];
|
||||
|
||||
public function applications()
|
||||
{
|
||||
return $this->hasMany(BandApplication::class);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user