src/Entity/System/FtpServer.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\System;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\System\FtpServerRepository")
  6.  *
  7.  * @ORM\Table(name="ftp_server")
  8.  */
  9. class FtpServer
  10. {
  11.     public const SERVER_ID_DROPSHIPPERS 2;
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Id
  16.      *
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      *
  19.      * @ORM\Column(type="integer", name="id_ftp_server")
  20.      */
  21.     private $id;
  22.     /**
  23.      * @var string
  24.      *
  25.      * @ORM\Column(type="string")
  26.      */
  27.     private $domain;
  28.     public function getId(): int
  29.     {
  30.         return $this->id;
  31.     }
  32.     public function setId(int $id): FtpServer
  33.     {
  34.         $this->id $id;
  35.         return $this;
  36.     }
  37.     public function getDomain(): string
  38.     {
  39.         return $this->domain;
  40.     }
  41.     public function setDomain(string $domain): FtpServer
  42.     {
  43.         $this->domain $domain;
  44.         return $this;
  45.     }
  46. }