src/JanusHercules/IndeedCampaignManagement/Domain/Entity/SyncConfigOtherCampaignPoolSizeEntry.php line 12

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace JanusHercules\IndeedCampaignManagement\Domain\Entity;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity]
  7. #[ORM\Table(name: 'icm_sync_config_other_campaign_pool_size_entries')]
  8. class SyncConfigOtherCampaignPoolSizeEntry
  9. {
  10. public function __construct(
  11. int $otherCampaignPoolSize
  12. ) {
  13. $this->otherCampaignPoolSize = $otherCampaignPoolSize;
  14. }
  15. #[ORM\Id]
  16. #[ORM\Column(
  17. type: Types::SMALLINT
  18. )]
  19. private int $otherCampaignPoolSize;
  20. public function getOtherCampaignPoolSize(): int
  21. {
  22. return $this->otherCampaignPoolSize;
  23. }
  24. }