src/Entity/Gos/WatermarkingOrderFile.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use App\Entity\Gos\VirtualCurrency\VirtualCurrencyOrder;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass="App\Repository\Gos\WatermarkingOrderFileRepository")
  7.  */
  8. class WatermarkingOrderFile
  9. {
  10.     /**
  11.      * @ORM\Id()
  12.      * @ORM\GeneratedValue()
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity="App\Entity\Gos\Orders")
  18.      * @ORM\JoinColumn()
  19.      */
  20.     private $order;
  21.     /**
  22.      * @ORM\ManyToOne(targetEntity="App\Entity\Gos\VirtualCurrency\VirtualCurrencyOrder")
  23.      * @ORM\JoinColumn()
  24.      */
  25.     private $virtualCurrencyOrder;
  26.     /**
  27.      * @ORM\ManyToOne(targetEntity="App\Entity\Gos\File")
  28.      * @ORM\JoinColumn()
  29.      */
  30.     private $file;
  31.     /**
  32.      * @ORM\ManyToOne(targetEntity="App\Entity\Gos\User")
  33.      * @ORM\JoinColumn()
  34.      */
  35.     private $user;
  36.     /**
  37.      * @ORM\Column(type="datetime" )
  38.      */
  39.     private $creation_date;
  40.     /**
  41.      * @ORM\Column(type="datetime", nullable=true)
  42.      */
  43.     private $edit_date;
  44.     /**
  45.      * @ORM\Column(type="datetime", nullable=true)
  46.      */
  47.     private $delete_date;
  48.     /**
  49.      * @ORM\Column(type="boolean")
  50.      */
  51.     private $isDeleted;
  52.     /**
  53.      * @ORM\Column(type="boolean")
  54.      */
  55.     private $isGenerated;
  56.     /**
  57.      * @ORM\Column(type="integer" , nullable=true)
  58.      */
  59.     private $responseCode;
  60.     /**
  61.      * @ORM\Column(type="text", nullable=true)
  62.      */
  63.     private $responseContent;
  64.     /**
  65.      * @ORM\Column(type="string", length=255, nullable=true)
  66.      */
  67.     private $baseUrl;
  68.     /**
  69.      * @ORM\Column(type="boolean")
  70.      */
  71.     private $isReadyToServe;
  72.     /**
  73.      * @ORM\Column(type="boolean")
  74.      */
  75.     private $isForce;
  76.     public function __construct()
  77.     {
  78.         $this->creation_date = new \DateTime();
  79.         $this->isDeleted false;
  80.         $this->isGenerated false;
  81.         $this->isReadyToServe false;
  82.     }
  83.     /** @ORM\PreUpdate() */
  84.     public function preUpdate(): void
  85.     {
  86.         $this->edit_date = new \DateTime();
  87.     }
  88.     public function getId(): ?int
  89.     {
  90.         return $this->id;
  91.     }
  92.     public function getOrder(): ?Orders
  93.     {
  94.         return $this->order;
  95.     }
  96.     public function setOrders(Orders $order): self
  97.     {
  98.         $this->order $order;
  99.         return $this;
  100.     }
  101.     public function getVirtualCurrencyOrder(): ?VirtualCurrencyOrder
  102.     {
  103.         return $this->virtualCurrencyOrder;
  104.     }
  105.     public function setVirtualCurrencyOrder(VirtualCurrencyOrder $virtualCurrencyOrder): self
  106.     {
  107.         $this->virtualCurrencyOrder $virtualCurrencyOrder;
  108.         return $this;
  109.     }
  110.     public function getFile(): ?File
  111.     {
  112.         return $this->file;
  113.     }
  114.     public function setFile(File $file): self
  115.     {
  116.         $this->file $file;
  117.         return $this;
  118.     }
  119.     public function getUser(): ?User
  120.     {
  121.         return $this->user;
  122.     }
  123.     public function setUser(User $user): self
  124.     {
  125.         $this->user $user;
  126.         return $this;
  127.     }
  128.     public function getIsDeleted(): ?bool
  129.     {
  130.         return $this->isDeleted;
  131.     }
  132.     public function setIsDeleted(bool $isDeleted): self
  133.     {
  134.         $this->isDeleted $isDeleted;
  135.         return $this;
  136.     }
  137.     public function getCreationDate(): ?\DateTimeInterface
  138.     {
  139.         return $this->creation_date;
  140.     }
  141.     public function setCreationDate(\DateTimeInterface $creation_date): self
  142.     {
  143.         $this->creation_date $creation_date;
  144.         return $this;
  145.     }
  146.     public function getEditDate(): ?\DateTimeInterface
  147.     {
  148.         return $this->edit_date;
  149.     }
  150.     public function setEditDate(?\DateTimeInterface $edit_date): self
  151.     {
  152.         $this->edit_date $edit_date;
  153.         return $this;
  154.     }
  155.     public function getDeleteDate(): ?\DateTimeInterface
  156.     {
  157.         return $this->delete_date;
  158.     }
  159.     public function setDeleteDate(?\DateTimeInterface $delete_date): self
  160.     {
  161.         $this->delete_date $delete_date;
  162.         return $this;
  163.     }
  164.     public function getIsGenerated(): ?bool
  165.     {
  166.         return $this->isGenerated;
  167.     }
  168.     public function setIsGenerated(bool $isGenerated): self
  169.     {
  170.         $this->isGenerated $isGenerated;
  171.         return $this;
  172.     }
  173.     public function getResponseCode(): ?int
  174.     {
  175.         return $this->responseCode;
  176.     }
  177.     public function setResponseCode(int $responseCode): self
  178.     {
  179.         $this->responseCode $responseCode;
  180.         return $this;
  181.     }
  182.     public function getResponseContent(): ?string
  183.     {
  184.         return $this->responseContent;
  185.     }
  186.     public function setResponseContent(string $responseContent): self
  187.     {
  188.         $this->responseContent $responseContent;
  189.         return $this;
  190.     }
  191.     public function getBaseUrl(): ?string
  192.     {
  193.         return $this->baseUrl;
  194.     }
  195.     public function setBaseUrl(string $baseUrl): self
  196.     {
  197.         $this->baseUrl $baseUrl;
  198.         return $this;
  199.     }
  200.     public function getIsReadyToServe(): ?bool
  201.     {
  202.         return $this->isReadyToServe;
  203.     }
  204.     public function setIsReadyToServe(bool $isReadyToServe): self
  205.     {
  206.         $this->isReadyToServe $isReadyToServe;
  207.         return $this;
  208.     }
  209.     public function getIsForce(): ?bool
  210.     {
  211.         return $this->isForce;
  212.     }
  213.     public function setIsForce(bool $isForce): self
  214.     {
  215.         $this->isForce $isForce;
  216.         return $this;
  217.     }
  218. }