petani lahan tanaman update

This commit is contained in:
2026-07-01 15:38:15 +07:00
parent 839e9aa572
commit c4ff20facd
14 changed files with 656 additions and 44 deletions
+10
View File
@@ -0,0 +1,10 @@
<?php
namespace App\Enums;
enum KeparahanSerangan: string
{
case RINGAN = 'ringan';
case SEDANG = 'sedang';
case BERAT = 'berat';
}
+4 -5
View File
@@ -4,9 +4,8 @@ namespace App\Enums;
enum KondisiTanaman: string
{
case PRODUKTIF = 'productive';
case KURANG_PRODUKTIF = 'less_productive';
case TIDAK_PRODUKTIF = 'not_productive';
case SAKIT = 'sick';
case MATI = 'dead';
case BAIK = 'baik';
case SEDANG = 'sedang';
case BURUK = 'buruk';
case MATI = 'mati';
}
+11
View File
@@ -0,0 +1,11 @@
<?php
namespace App\Enums;
enum PenyakitTanaman: string
{
case BUSUK_BUAH = 'busuk_buah';
case DAUN_MENGUNING = 'daun_menguning';
case DAUN_BERCAK = 'daun_bercak';
case TANAMAN_LAYU = 'tanaman_layu';
}
+10
View File
@@ -0,0 +1,10 @@
<?php
namespace App\Enums;
enum SeranganHama: string
{
case ULAT = 'ulat';
case BELALANG = 'belalang';
case KUTU = 'kutu';
}