*/ final class WikiAppMapper extends DataMapperFactory { /** * Columns. * * @var array * @since 1.0.0 */ public const COLUMNS = [ 'wiki_app_id' => ['name' => 'wiki_app_id', 'type' => 'int', 'internal' => 'id'], 'wiki_app_unit' => ['name' => 'wiki_app_unit', 'type' => 'int', 'internal' => 'unit'], 'wiki_app_name' => ['name' => 'wiki_app_name', 'type' => 'string', 'internal' => 'name'], ]; /** * Primary table. * * @var string * @since 1.0.0 */ public const TABLE = 'wiki_app'; /** * Primary field name. * * @var string * @since 1.0.0 */ public const PRIMARYFIELD = 'wiki_app_id'; }