Update Koperasi

This commit is contained in:
2026-11-06 22:38:45 +07:00
parent 6232b28e11
commit cb36682d9e
79 changed files with 4639 additions and 1378 deletions
@@ -0,0 +1,21 @@
<?php
namespace App\Enums\Koperasi;
enum PraktikFermentasiKoperasi: string
{
case RUTIN = 'Ya rutin';
case PERNAH = 'Pernah coba';
case DIRENCANAKAN = 'Belum, direncakan';
case TIDAK_DIRENCANAKAN = 'Belum, tidak';
public function label(): string
{
return match ($this) {
self::RUTIN => 'Ya, rutin',
self::PERNAH => 'Pernah mencoba',
self::DIRENCANAKAN => 'Belum pernah, direncanakan',
self::TIDAK_DIRENCANAKAN => 'Belum pernah, tidak direncanakan',
};
}
}