Compare commits
	
		
			2 Commits 
		
	
	
		
			616d4d9a85
			...
			d3a3f02c4b
		
	
	| Author | SHA1 | Date | 
|---|---|---|
|  | d3a3f02c4b | 8 months ago | 
|  | 1d41b37cc0 | 8 months ago | 
				 6 changed files with 149 additions and 0 deletions
			
			
		| @ -0,0 +1,65 @@ | |||||
|  | <?php | ||||
|  | 
 | ||||
|  | namespace App\Http\Controllers; | ||||
|  | 
 | ||||
|  | use App\Models\Tipo_de_Gasolina; | ||||
|  | use Illuminate\Http\Request; | ||||
|  | 
 | ||||
|  | class TipoDeGasolinaController extends Controller | ||||
|  | { | ||||
|  |     /** | ||||
|  |      * Display a listing of the resource. | ||||
|  |      */ | ||||
|  |     public function index() | ||||
|  |     { | ||||
|  |         // | ||||
|  |     } | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * Show the form for creating a new resource. | ||||
|  |      */ | ||||
|  |     public function create() | ||||
|  |     { | ||||
|  |         // | ||||
|  |     } | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * Store a newly created resource in storage. | ||||
|  |      */ | ||||
|  |     public function store(Request $request) | ||||
|  |     { | ||||
|  |         // | ||||
|  |     } | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * Display the specified resource. | ||||
|  |      */ | ||||
|  |     public function show(Tipo_de_Gasolina $tipo_de_Gasolina) | ||||
|  |     { | ||||
|  |         // | ||||
|  |     } | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * Show the form for editing the specified resource. | ||||
|  |      */ | ||||
|  |     public function edit(Tipo_de_Gasolina $tipo_de_Gasolina) | ||||
|  |     { | ||||
|  |         // | ||||
|  |     } | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * Update the specified resource in storage. | ||||
|  |      */ | ||||
|  |     public function update(Request $request, Tipo_de_Gasolina $tipo_de_Gasolina) | ||||
|  |     { | ||||
|  |         // | ||||
|  |     } | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * Remove the specified resource from storage. | ||||
|  |      */ | ||||
|  |     public function destroy(Tipo_de_Gasolina $tipo_de_Gasolina) | ||||
|  |     { | ||||
|  |         // | ||||
|  |     } | ||||
|  | } | ||||
| @ -0,0 +1,11 @@ | |||||
|  | <?php | ||||
|  | 
 | ||||
|  | namespace App\Models; | ||||
|  | 
 | ||||
|  | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||||
|  | use Illuminate\Database\Eloquent\Model; | ||||
|  | 
 | ||||
|  | class Tipo_de_Gasolina extends Model | ||||
|  | { | ||||
|  |     use HasFactory; | ||||
|  | } | ||||
| @ -0,0 +1,23 @@ | |||||
|  | <?php | ||||
|  | 
 | ||||
|  | namespace Database\Factories; | ||||
|  | 
 | ||||
|  | use Illuminate\Database\Eloquent\Factories\Factory; | ||||
|  | 
 | ||||
|  | /** | ||||
|  |  * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Tipo_de_Gasolina> | ||||
|  |  */ | ||||
|  | class TipoDeGasolinaFactory extends Factory | ||||
|  | { | ||||
|  |     /** | ||||
|  |      * Define the model's default state. | ||||
|  |      * | ||||
|  |      * @return array<string, mixed> | ||||
|  |      */ | ||||
|  |     public function definition(): array | ||||
|  |     { | ||||
|  |         return [ | ||||
|  |             // | ||||
|  |         ]; | ||||
|  |     } | ||||
|  | } | ||||
| @ -0,0 +1,27 @@ | |||||
|  | <?php | ||||
|  | 
 | ||||
|  | use Illuminate\Database\Migrations\Migration; | ||||
|  | use Illuminate\Database\Schema\Blueprint; | ||||
|  | use Illuminate\Support\Facades\Schema; | ||||
|  | 
 | ||||
|  | return new class extends Migration | ||||
|  | { | ||||
|  |     /** | ||||
|  |      * Run the migrations. | ||||
|  |      */ | ||||
|  |     public function up(): void | ||||
|  |     { | ||||
|  |         Schema::create('tipo_de__gasolinas', function (Blueprint $table) { | ||||
|  |             $table->id(); | ||||
|  |             $table->timestamps(); | ||||
|  |         }); | ||||
|  |     } | ||||
|  | 
 | ||||
|  |     /** | ||||
|  |      * Reverse the migrations. | ||||
|  |      */ | ||||
|  |     public function down(): void | ||||
|  |     { | ||||
|  |         Schema::dropIfExists('tipo_de__gasolinas'); | ||||
|  |     } | ||||
|  | }; | ||||
| @ -0,0 +1,17 @@ | |||||
|  | <?php | ||||
|  | 
 | ||||
|  | namespace Database\Seeders; | ||||
|  | 
 | ||||
|  | use Illuminate\Database\Console\Seeds\WithoutModelEvents; | ||||
|  | use Illuminate\Database\Seeder; | ||||
|  | 
 | ||||
|  | class TipoDeGasolinaSeeder extends Seeder | ||||
|  | { | ||||
|  |     /** | ||||
|  |      * Run the database seeds. | ||||
|  |      */ | ||||
|  |     public function run(): void | ||||
|  |     { | ||||
|  |         // | ||||
|  |     } | ||||
|  | } | ||||
					Loading…
					
					
				
		Reference in new issue