<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Participante extends Model
{
    protected $table = 'participante';

    protected $fillable = [
        'id_evento',
        'dni',
        'nombres',
        'apellidos',
        'email',
        'telefono',
        'pagado'
    ];

    public function usuario()
    {
        return $this->belongsTo('App\Model\User','id_usuario');
    }
}
