<?php

	class RecursoController extends RecursoModel {
		private $idCarro;
		private $ar;
		private $assentoInfantil;
		private $gps;
		private $bagagem;
		private $som;
		private $triangulo;
		private $extintor;
		private $macaco;
		private $chaves;
		private $luvas;
		private $lanterna;
		private $documentos;

		public function __construct($idCarro, $ar, $assentoInfantil, $gps, $bagagem, $som, $triangulo, $extintor, $macaco, $chaves, $luvas, $lanterna, $documentos){
			$this->idCarro = $idCarro;
			$this->ar = $ar;
			$this->assentoInfantil = $assentoInfantil;
			$this->gps = $gps;
			$this->bagagem = $bagagem;
			$this->som = $som;
			$this->triangulo = $triangulo;
			$this->extintor = $extintor;
			$this->macaco = $macaco;
			$this->chaves = $chaves;
			$this->luvas = $luvas;
			$this->lanterna = $lanterna;
			$this->documentos = $documentos;
		}

		public function createRecurso(){
			$this->insertRecurso($this->idCarro, $this->ar, $this->assentoInfantil, $this->gps, $this->bagagem, $this->som, $this->triangulo, $this->extintor, $this->macaco, $this->chaves, $this->luvas, $this->lanterna, $this->documentos);
		}
	}