* @since 1.0.0 */ protected static array $columns = [ 'itemmgmt_item_l11n_id' => ['name' => 'itemmgmt_item_l11n_id', 'type' => 'int', 'internal' => 'id'], 'itemmgmt_item_l11n_description' => ['name' => 'itemmgmt_item_l11n_description', 'type' => 'string', 'internal' => 'description', 'autocomplete' => true], 'itemmgmt_item_l11n_item' => ['name' => 'itemmgmt_item_l11n_item', 'type' => 'int', 'internal' => 'item'], 'itemmgmt_item_l11n_lang' => ['name' => 'itemmgmt_item_l11n_lang', 'type' => 'string', 'internal' => 'language'], 'itemmgmt_item_l11n_typeref' => ['name' => 'itemmgmt_item_l11n_typeref', 'type' => 'int', 'internal' => 'type'], ]; /** * Has one relation. * * @var array * @since 1.0.0 */ protected static array $ownsOne = [ 'language' => [ 'mapper' => LanguageMapper::class, 'external' => 'itemmgmt_item_l11n_lang', 'by' => 'code2', 'column' => 'code2', 'conditional' => true, ], 'type' => [ 'mapper' => ItemL11nTypeMapper::class, 'external' => 'itemmgmt_item_l11n_typeref', ], ]; /** * Primary table. * * @var string * @since 1.0.0 */ protected static string $table = 'itemmgmt_item_l11n'; /** * Primary field name. * * @var string * @since 1.0.0 */ protected static string $primaryField = 'itemmgmt_item_l11n_id'; }