You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
981 B

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class StudyTour extends Model
{
use HasFactory;
protected $fillable = [
'name',
'tags',
'venue_ids',
'venue_items',
'org_name',
'seasons',
'suitable_count',
'suitable_audience',
'duration',
'contact_person',
'contact_phones',
'cover_image',
'gallery_media',
'intro_html',
'route_plans',
'courses',
'fee_html',
'implementation_html',
'sort',
'is_on_shelf',
];
protected $casts = [
'tags' => 'array',
'venue_ids' => 'array',
'venue_items' => 'array',
'seasons' => 'array',
'gallery_media' => 'array',
'route_plans' => 'array',
'courses' => 'array',
'is_on_shelf' => 'boolean',
'sort' => 'integer',
];
}