mirror of
https://codeberg.org/vlw/vlw.se.git
synced 2025-09-14 13:23:41 +02:00
* wip: 2024-06-19T13:31:53+0200 (1718796713) * fix: final touchups with bugfixes * fix: typo in widlcardsearch function * wip: 2024-07-05T14:14:12+0200 (1720181652) * wip: 2024-07-07T11:22:34+0200 (1720344154) * wip: 2024-07-07T11:22:34+0200 (1720344154)
45 lines
No EOL
832 B
PHP
45 lines
No EOL
832 B
PHP
<?php
|
|
|
|
namespace VLW\API\Databases\VLWdb\Models\Battlestation;
|
|
|
|
use victorwesterlund\xEnum;
|
|
|
|
enum StorageDiskTypeEnum {
|
|
use xEnum;
|
|
|
|
case SSD;
|
|
case HDD;
|
|
}
|
|
|
|
enum StorageDiskInterfaceEnum {
|
|
use xEnum;
|
|
|
|
case SATA;
|
|
case NVME;
|
|
case USB;
|
|
}
|
|
|
|
enum StorageDiskFormfactorEnum{
|
|
use xEnum;
|
|
|
|
case TWODOTFIVE;
|
|
case THREEDOTFIVE;
|
|
case MDOTTWO;
|
|
}
|
|
|
|
enum StorageModel: string {
|
|
use xEnum;
|
|
|
|
const TABLE = "storage";
|
|
|
|
case ID = "id";
|
|
case DISK_TYPE = "disk_type";
|
|
case DISK_SIZE = "disk_size";
|
|
case DISK_SECTORS = "disk_sectors";
|
|
case DISK_INTERFACE = "disk_interface";
|
|
case DISK_FORMFACTOR = "disk_formfactor";
|
|
case VENDOR_NAME = "vendor_name";
|
|
case VENDOR_MODEL = "vendor_model";
|
|
case DATE_AQUIRED = "date_aquired";
|
|
case IS_RETIRED = "is_retired";
|
|
} |