OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
Loading...
Searching...
No Matches
ModelUtil.h
1#ifndef MODELUTIL_MODELUTIL_H
2#define MODELUTIL_MODELUTIL_H
3
4#pragma once
5
6#include <cstdint>
7#include <string>
8
10namespace modelUtil
11{
13 enum class DbType : int8_t
14 {
15 INVALID = -1,
16 ACCOUNT = 0,
17 GAME = 1,
18 LOG = 2
19 };
20
22 const std::string& DbTypeString(DbType db);
23}
24
25#endif // MODELUTIL_MODELUTIL_H
Collection of hand-written utilities and types.
Definition ModelUtil.cpp:5
DbType
Database type identifier.
Definition ModelUtil.h:14
const std::string & DbTypeString(DbType db)
Returns the string equivalent of a DbType.
Definition ModelUtil.cpp:12