*/ final class ModuleMapper extends DataMapperFactory { /** * Columns. * * @var array * @since 1.0.0 */ public const COLUMNS = [ 'module_id' => ['name' => 'module_id', 'type' => 'string', 'internal' => 'id'], 'module_name' => ['name' => 'module_name', 'type' => 'string', 'internal' => 'name'], 'module_path' => ['name' => 'module_path', 'type' => 'string', 'internal' => 'path'], 'module_theme' => ['name' => 'module_theme', 'type' => 'string', 'internal' => 'theme'], 'module_version' => ['name' => 'module_version', 'type' => 'string', 'internal' => 'version'], 'module_status' => ['name' => 'module_status', 'type' => 'int', 'internal' => 'status'], ]; /** * Primary table. * * @var string * @since 1.0.0 */ public const TABLE = 'module'; /** * Primary field name. * * @var string * @since 1.0.0 */ public const PRIMARYFIELD = 'module_id'; public const AUTOINCREMENT = false; }