* @since 1.0.0 */ public const COLUMNS = [ 'attribute_attr_id' => ['name' => 'attribute_attr_id', 'type' => 'int', 'internal' => 'id'], 'attribute_attr_ref' => ['name' => 'attribute_attr_ref', 'type' => 'int', 'internal' => 'ref'], 'attribute_attr_type' => ['name' => 'attribute_attr_type', 'type' => 'int', 'internal' => 'type'], 'attribute_attr_value' => ['name' => 'attribute_attr_value', 'type' => 'int', 'internal' => 'value'], ]; /** * Has one relation. * * @var array * @since 1.0.0 */ public const OWNS_ONE = [ 'type' => [ 'mapper' => AttributeTypeMapper::class, 'external' => 'attribute_attr_type', ], 'value' => [ 'mapper' => AttributeValueMapper::class, 'external' => 'attribute_attr_value', ], ]; /** * Primary table. * * @var string * @since 1.0.0 */ public const TABLE = 'attribute_attr'; /** * Primary field name. * * @var string * @since 1.0.0 */ public const PRIMARYFIELD = 'attribute_attr_id'; }