src/Entity/ApidaeCacheConfiguration.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ApidaeCacheConfiguration
  6.  *
  7.  * @ORM\Table(name="apidae_cacheconfiguration")
  8.  * @ORM\Entity(repositoryClass="App\Repository\ApidaeCacheConfigurationRepository")
  9.  */
  10. class ApidaeCacheConfiguration
  11. {
  12.     /**
  13.      * @var integer
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="SEQUENCE")
  18.      * @ORM\SequenceGenerator(sequenceName="apidae_cacheconfiguration_id_seq", allocationSize=1, initialValue=1)
  19.      */
  20.     private $id;
  21.     /**
  22.      * @ORM\Column(type="string", length=255, nullable=true)
  23.      */
  24.     private $name;
  25.     /**
  26.      * @var string
  27.      * @ORM\Column(name="project_id",type="string", length=255, nullable=true)
  28.      */
  29.     private $projectId;
  30.     /**
  31.      * @var string
  32.      * @ORM\Column(name="api_key",type="string", length=255, nullable=true)
  33.      */
  34.     private $apiKey;
  35.     /**
  36.      * @var string
  37.      * @ORM\Column(name="base_url",type="string", length=1500, nullable=true)
  38.      */
  39.     private $baseUrl;
  40.     /**
  41.      * @var string
  42.      * @ORM\Column(name="selection_id",type="string", length=1000, nullable=true)
  43.      */
  44.     private $selectionId;
  45.     /**
  46.      * @var string
  47.      * @ORM\Column(name="selection_name",type="string", length=1000, nullable=true)
  48.      */
  49.     private $selectionName;
  50.     
  51.     /**
  52.      * @var \DateTime
  53.      * @ORM\Column(name="updated_at", type="datetime", nullable=true)
  54.      */
  55.     private $updatedAt;
  56.     /**
  57.      * @ORM\Column(type="integer", nullable=true)
  58.      */
  59.     private $ordering;
  60.     /**
  61.      * @ORM\ManyToOne(targetEntity="App\Entity\DnsitEntity", inversedBy="apidaeConfigurations")
  62.      * @ORM\JoinColumns({
  63.      *   @ORM\JoinColumn(name="entity_id", referencedColumnName="id")
  64.      * })
  65.      */
  66.     private $entity;
  67.     /**
  68.      * Set projectId
  69.      *
  70.      * @param string $projectId
  71.      *
  72.      * @return ApidaeCacheConfiguration
  73.      */
  74.     public function setProjectId($projectId)
  75.     {
  76.         $this->projectId $projectId;
  77.         return $this;
  78.     }
  79.     /**
  80.      * Get projectId
  81.      *
  82.      * @return string
  83.      */
  84.     public function getProjectId()
  85.     {
  86.         return $this->projectId;
  87.     }
  88.     /**
  89.      * Set apiKey
  90.      *
  91.      * @param string $apiKey
  92.      *
  93.      * @return ApidaeCacheConfiguration
  94.      */
  95.     public function setApiKey($apiKey)
  96.     {
  97.         $this->apiKey $apiKey;
  98.         return $this;
  99.     }
  100.     /**
  101.      * Get apiKey
  102.      *
  103.      * @return string
  104.      */
  105.     public function getApiKey()
  106.     {
  107.         return $this->apiKey;
  108.     }
  109.     public function getEntity(): ?DnsitEntity
  110.     {
  111.         return $this->entity;
  112.     }
  113.     public function setEntity(?DnsitEntity $entity): self
  114.     {
  115.         $this->entity $entity;
  116.         return $this;
  117.     }
  118.     /**
  119.      * Set baseUrl
  120.      *
  121.      * @param string $baseUrl
  122.      *
  123.      * @return ApidaeCacheConfiguration
  124.      */
  125.     public function setBaseUrl($baseUrl)
  126.     {
  127.         $this->baseUrl $baseUrl;
  128.         return $this;
  129.     }
  130.     /**
  131.      * Get baseUrl
  132.      *
  133.      * @return string
  134.      */
  135.     public function getBaseUrl()
  136.     {
  137.         return $this->baseUrl;
  138.     }
  139.     /**
  140.      * Set selectionId
  141.      *
  142.      * @param string $selectionId
  143.      *
  144.      * @return ApidaeCacheConfiguration
  145.      */
  146.     public function setSelectionId($selectionId)
  147.     {
  148.         $this->selectionId $selectionId;
  149.         return $this;
  150.     }
  151.     /**
  152.      * Get selectionId
  153.      *
  154.      * @return string
  155.      */
  156.     public function getSelectionId()
  157.     {
  158.         return $this->selectionId;
  159.     }
  160.     /**
  161.      * Set selectionName
  162.      *
  163.      * @param string $selectionName
  164.      *
  165.      * @return ApidaeCacheConfiguration
  166.      */
  167.     public function setSelectionName($selectionName)
  168.     {
  169.         $this->selectionName $selectionName;
  170.         return $this;
  171.     }
  172.     /**
  173.      * Get selectionName
  174.      *
  175.      * @return string
  176.      */
  177.     public function getSelectionName()
  178.     {
  179.         return $this->selectionName;
  180.     }
  181.     /**
  182.      * Set updatedAt
  183.      *
  184.      * @param \DateTime $updatedAt
  185.      *
  186.      * @return ApidaeCacheConfiguration
  187.      */
  188.     public function setUpdatedAt($updatedAt)
  189.     {
  190.         $this->updatedAt $updatedAt;
  191.         return $this;
  192.     }
  193.     /**
  194.      * Get updatedAt
  195.      *
  196.      * @return \DateTime
  197.      */
  198.     public function getUpdatedAt()
  199.     {
  200.         return $this->updatedAt;
  201.     }
  202.     /**
  203.      * Get id
  204.      *
  205.      * @return integer
  206.      */
  207.     public function getId()
  208.     {
  209.         return $this->id;
  210.     }
  211.     public function getName(): ?string
  212.     {
  213.         return $this->name;
  214.     }
  215.     public function setName(?string $name): self
  216.     {
  217.         $this->name $name;
  218.         return $this;
  219.     }
  220.     public function getOrdering(): ?int
  221.     {
  222.         return $this->ordering;
  223.     }
  224.     public function setOrdering(?int $ordering): self
  225.     {
  226.         $this->ordering $ordering;
  227.         return $this;
  228.     }
  229. }