ores.iam.account_type
Table of Contents
Reference data table defining valid account type classifications. Examples: 'user', 'service', 'algorithm', 'llm'.
Account types are managed by the system tenant and are used to categorise accounts for different purposes. User accounts can login with passwords, while service accounts authenticate via sessions only.
Flags
Primary key
Unique type code.
Examples: 'user', 'service', 'algorithm', 'llm'.
Natural keys
name
Human-readable name for the type.
std::string(faker::word::adjective()) + " Account"
Columns
description
Detailed description of the account type.
std::string(faker::lorem::sentence())
display_order
Order for UI display purposes.
faker::number::integer(1, 100)
SQL
Flags
C++
Flags
Repository
Domain includes
#include <chrono> #include <string>
Entity includes
#include <string> #include "sqlgen/Timestamp.hpp"
Conventions
Table display
| column | header |
|---|---|
| type | Type |
| name | Name |
| description | Description |
| display_order | Order |
| modified_by | Modified By |
| version | Version |
Qt
Detail fields
| field | label | widget | type | is_key | is_required | placeholder |
|---|---|---|---|---|---|---|
| type | Type | codeEdit | line_edit | true | true | Enter account type code |
| name | Name | nameEdit | line_edit | true | Enter display name | |
| description | Description | descriptionEdit | text_edit | Enter a description |
Columns (Qt model)
| enum_name | field | header | type | width |
|---|---|---|---|---|
| Type | type | Type | string | 120 |
| Name | name | Name | string | 200 |
| Description | description | Description | string | 300 |
| DisplayOrder | display_order | Order | int | 80 |
| Version | version | Version | int | 80 |
| ModifiedBy | modified_by | Modified By | string | 120 |
| RecordedAt | recorded_at | Recorded At | timestamp | 150 |
Custom repository methods
See also
- ores.iam — component group overview.