mirror of
https://codeberg.org/vlw/vlw.se.git
synced 2025-09-13 21:13:40 +02:00
The PR is a huge refactor of all Reflect and Vegvisir code. I've merged the API and "Front-end" codebases together into the same root, this will allow for both Reflect and Vegvisir to use the same resources. Not only that, but I've also added proper database modeling with actual OOP inheritance for database tables. Reviewed-on: https://codeberg.org/vlw/vlw.se/pulls/23
25 lines
No EOL
510 B
PHP
25 lines
No EOL
510 B
PHP
<?php
|
|
|
|
namespace VLW\Database\Tables\Battlestation\Config;
|
|
|
|
use vlw\xEnum;
|
|
|
|
enum MbStorageSlotFormfactorEnum: string {
|
|
use xEnum;
|
|
|
|
case TWODOTFIVE = "2.5";
|
|
case THREEDOTFIVE = "3.5";
|
|
case MDOTTWO = "M.2";
|
|
case EXTERNAL = "EXTERNAL";
|
|
}
|
|
|
|
enum MbStorageTable: string {
|
|
use xEnum;
|
|
|
|
const NAME = "config_mb_storage";
|
|
|
|
case REF_MB_ID = "ref_mb_id";
|
|
case REF_STORAGE_ID = "ref_storage_id";
|
|
case INTERFACE = "interface";
|
|
case SLOT_FORMFACTOR = "slot_formfactor";
|
|
} |