File: /var/www/vhost/disk-apps/agile-selling-orl/app/Ticket.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Ticket extends Model
{
    protected $guarded  = ['id','created_at','updated_at'];
    public function seat(){
        return $this->belongsTo(Seat::class)->with(['letter', 'zone']);
    }
    public function match_event(){
        return $this->belongsTo(MatchEvent::class)->with('team','tournament');
    }
    public function ticket_type(){
        return $this->belongsTo(TicketType::class);
    }
    public function zone(){
        return $this->belongsTo(Zone::class)->with('door');
    }
    public function user(){
        return $this->belongsTo(User::class);
    }
    public function ticket_status(){
        return $this->belongsTo(TicketStatus::class);
    }
    public function ticket_main(){
        return $this->belongsTo(TicketMain::class);
    }
}