<?php


namespace App\Models;

use Illuminate\Database\Eloquent\Model;
/**
 * App\Models\kidActiveRoute
 *
 * @property int $id
 * @property int $route_log_id
 * @property int $estado_nino_ruta
 * @property String $id_kid
 * @property String $updated_at
 * @property String $created_at

 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute whereCapacity($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute whereCarModel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute whereCarPlate($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute whereLicenseType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute whereRating($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute whereUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute whereValidation($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\kidActiveRoute whereWorkingDay($value)
 * @mixin \Eloquent
 */

 class kidActiveRoute extends Model
 {
 
     protected $table = 'kid_active_route';
 
     protected $fillable = ['id', 'route_log_id', 'estado_nino_ruta', 'id_kid','updated_at','created_at'];
 
     public function routeLog()
     {
         return  $this->belongsTo(RouteLog::class);
     }
 
 
 }