*/ final class PromotionAttributeValueMapper extends DataMapperFactory { /** * Columns. * * @var array * @since 1.0.0 */ public const COLUMNS = [ 'marketing_promotion_attr_value_id' => ['name' => 'marketing_promotion_attr_value_id', 'type' => 'int', 'internal' => 'id'], 'marketing_promotion_attr_value_default' => ['name' => 'marketing_promotion_attr_value_default', 'type' => 'bool', 'internal' => 'isDefault'], 'marketing_promotion_attr_value_valueStr' => ['name' => 'marketing_promotion_attr_value_valueStr', 'type' => 'string', 'internal' => 'valueStr'], 'marketing_promotion_attr_value_valueInt' => ['name' => 'marketing_promotion_attr_value_valueInt', 'type' => 'int', 'internal' => 'valueInt'], 'marketing_promotion_attr_value_valueDec' => ['name' => 'marketing_promotion_attr_value_valueDec', 'type' => 'float', 'internal' => 'valueDec'], 'marketing_promotion_attr_value_valueDat' => ['name' => 'marketing_promotion_attr_value_valueDat', 'type' => 'DateTime', 'internal' => 'valueDat'], ]; /** * Has many relation. * * @var array * @since 1.0.0 */ /* public const HAS_MANY = [ 'l11n' => [ 'mapper' => EventAttributeValueL11nMapper::class, 'table' => 'task_attr_value_l11n', 'self' => 'task_attr_value_l11n_value', 'column' => 'content', 'external' => null, ], ]; */ /** * Primary table. * * @var string * @since 1.0.0 */ public const TABLE = 'marketing_promotion_attr_value'; /** * Primary field name. * * @var string * @since 1.0.0 */ public const PRIMARYFIELD = 'marketing_promotion_attr_value_id'; }