OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
|
[USER_RENTAL_ITEM] User rental item More...
Public Types | |
using | BinderType = full_binder::UserRentalItem |
Static Public Member Functions | |
static const std::string & | TableName () |
Returns the table name. | |
static const std::unordered_set< std::string > & | ColumnNames () |
Returns a set of column names for the table. | |
static const std::vector< std::string > & | OrderedColumnNames () |
Returns an ordered vector of column names for the table. | |
static const std::unordered_set< std::string > & | BlobColumns () |
Returns a set of blob column names for the table. | |
static const modelUtil::DbType | DbType () |
Returns the associated database type for the table. | |
static const std::vector< std::string > & | PrimaryKey () |
Returns the columns associated with the table's Primary Key. | |
Public Attributes | |
std::string | UserId |
Column [strUserID]: User identifier. | |
std::string | AccountId |
Column [strAccountID]: Account identifier. | |
uint8_t | RentalType = {} |
Column [byRentalType]: Rental type. | |
uint8_t | RegTime = {} |
Column [byRegType]: Reg time. | |
int32_t | RentalIndex = {} |
Column [nRentalIndex]: Rental index. | |
int32_t | ItemIndex = {} |
Column [nItemIndex]: Item index. | |
int16_t | Durability = {} |
Column [sDurability]: Durability. | |
int64_t | SerialNumber = {} |
Column [nSerialNumber]: Serial number. | |
int32_t | RentalMoney = {} |
Column [nRentalMoney]: Rental money. | |
int16_t | RentalTime = {} |
Column [sRentalTime]: Rental time. | |
int16_t | DuringTime = {} |
Column [sDuringTime]: During time. | |
std::optional< std::time_t > | RentalTimestamp |
Column [timeRental]: Rental time. | |
std::optional< std::time_t > | RegisterTime |
Column [timeRegister]: Registration time. | |
[USER_RENTAL_ITEM] User rental item