This commit is contained in:
2026-08-15 13:37:07 +03:30
commit ed719317f3
76 changed files with 14009 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
/**
* Class TravelType
*
* @property int $id
* @property string $title
* @property string $slug
* @property int $status
* @property Carbon $created_at
* @property Carbon $updated_at
*
* @property Collection|Tour[] $tours
*
* @package App\Models
*/
class TravelType extends Model
{
protected $table = 'travel_types';
public static $snakeAttributes = false;
protected $casts = [
'status' => 'int'
];
protected $fillable = [
'title',
'slug',
'status'
];
public function tours()
{
return $this->hasMany(Tour::class);
}
}