appand new position for 3 position in harim and need dependency

This commit is contained in:
2025-11-08 16:34:32 +03:30
parent 143b5c1542
commit a619efb123
17 changed files with 373 additions and 27 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace App\Enums;
enum HarimTraffic : string
{
case SABOK = 'سبک';
case MOTEVASET = 'متوسط';
case SANGIN = 'سنگین';
public function amount(): float
{
return match ($this) {
self::SABOK => 1.0,
self::MOTEVASET => 1.5,
self::SANGIN => 2.0,
};
}
}