debug the report tables

This commit is contained in:
2025-03-03 15:38:06 +03:30
parent 3326ab326e
commit 9f08804454
14 changed files with 229 additions and 58 deletions

26
app/Enums/AxisTypes.php Normal file
View File

@@ -0,0 +1,26 @@
<?php
namespace App\Enums;
enum AxisTypes: int
{
case AZADRAH= 1;
case BOZORGRAH = 2;
case ASLI = 3;
case FARYI = 4;
case ROSTAYI = 5;
public static function name(int $state): string
{
$mapArray = [
1 => 'آزادراه',
2 => 'بزرگراه',
3 => 'اصلی',
4 => 'فرعی',
5 => 'روستایی',
];
return $mapArray[$state];
}
}