* @since 1.0.0 */ protected static array $columns = [ 'marketing_promotion_accountrel_id' => ['name' => 'marketing_promotion_accountrel_id', 'type' => 'int', 'internal' => 'id'], 'marketing_promotion_accountrel_promotion' => ['name' => 'marketing_promotion_accountrel_promotion', 'type' => 'int', 'internal' => 'promotion'], 'marketing_promotion_accountrel_type' => ['name' => 'marketing_promotion_accountrel_type', 'type' => 'int', 'internal' => 'type'], ]; /** * Has one relation. * * @var array * @since 1.0.0 */ protected static array $ownsOne = [ 'account' => [ 'mapper' => AccountMapper::class, 'external' => 'marketing_promotion_accountrel_account', ], ]; /** * Primary table. * * @var string * @since 1.0.0 */ protected static string $table = 'marketing_promotion_accountrel'; /** * Primary field name. * * @var string * @since 1.0.0 */ protected static string $primaryField = 'marketing_promotion_accountrel_id'; }