<?php

use Illuminate\Support\Facades\Route;
use App\Modules\SeedFarming\Http\Controllers\SeedFarmingController;

Route::prefix('seedfarming')->group(function () {
    Route::get('/', [SeedFarmingController::class, 'index']);        // list farming data
    Route::post('/plant', [SeedFarmingController::class, 'plant']);  // plant seeds
    Route::post('/harvest', [SeedFarmingController::class, 'harvest']); // harvest crops
    Route::get('/test', [SeedFarmingController::class, 'test']);     // test route
});
