src/Aviatur/GeneralBundle/Entity/DocumentBlacklistActivityLog.php line 13

Open in your IDE?
  1. <?php
  2. namespace Aviatur\GeneralBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * DocumentBlacklistActivityLog
  6.  *
  7.  * @ORM\Table(name="document_blacklist_activity_log")
  8.  * @ORM\Entity(repositoryClass="Aviatur\GeneralBundle\Entity\DocumentBlacklistActivityLogRepository")
  9.  */
  10. class DocumentBlacklistActivityLog
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      *
  22.      * @ORM\ManyToOne(targetEntity="Aviatur\AdminBundle\Entity\AdminUser", inversedBy="documentBlacklistActivityLog")
  23.      * @ORM\JoinColumns({
  24.      *   @ORM\JoinColumn(name="fos_user_user_id", referencedColumnName="id")
  25.      * })
  26.      */
  27.     private ?\Aviatur\AdminBundle\Entity\AdminUser $fosUserUser null;
  28.     /**
  29.      * @ORM\Column(name="updatingDate", type="datetime", nullable=false)
  30.      */
  31.     private ?\DateTime $updatingdate null;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="operationMode", type="string", length=6)
  36.      */
  37.     private $operationmode;
  38.     /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="old_document_number", type="string", length=50, nullable=true)
  42.      */
  43.     private $olddocumentnumber;
  44.     /**
  45.      * @var string
  46.      *
  47.      * @ORM\Column(name="new_document_number", type="string", length=50, nullable=true)
  48.      */
  49.     private $newdocumentnumber;
  50.     /**
  51.      * @var string
  52.      *
  53.      * @ORM\Column(name="type", type="string", length=20, nullable=true)
  54.      */
  55.     private $type;
  56.     /**
  57.      * @var string|null
  58.      *
  59.      * @ORM\Column(name="reason", type="string", length=255, nullable=true)
  60.      */
  61.     private $reason;
  62.     /**
  63.      * @var bool
  64.      *
  65.      * @ORM\Column(name="is_active", type="boolean", nullable=true)
  66.      */
  67.     private $isactive;
  68.     // Getters and Setters
  69.     public function getId(): int
  70.     {
  71.         return $this->id;
  72.     }
  73.     public function getOlddocumentnumber(): string
  74.     {
  75.         return $this->olddocumentnumber;
  76.     }
  77.     public function setOlddocumentnumber(string $olddocumentnumber): self
  78.     {
  79.         $this->olddocumentnumber $olddocumentnumber;
  80.         return $this;
  81.     }
  82.     public function getNewdocumentnumber(): string
  83.     {
  84.         return $this->newdocumentnumber;
  85.     }
  86.     public function setNewdocumentnumber(string $newdocumentnumber): self
  87.     {
  88.         $this->newdocumentnumber $newdocumentnumber;
  89.         return $this;
  90.     }
  91.     public function getType(): string
  92.     {
  93.         return $this->type;
  94.     }
  95.     public function setType(string $type): self
  96.     {
  97.         $this->type $type;
  98.         return $this;
  99.     }
  100.     public function getReason(): ?string
  101.     {
  102.         return $this->reason;
  103.     }
  104.     public function setReason(?string $reason): self
  105.     {
  106.         $this->reason $reason;
  107.         return $this;
  108.     }
  109.     public function setIsactive(bool $isactive): self
  110.     {
  111.         $this->isactive $isactive;
  112.         return $this;
  113.     }
  114.     public function getIsactive(): bool
  115.     {
  116.         return $this->isactive;
  117.     }
  118.     /**
  119.      * Set fos_user_user.
  120.      *
  121.      * @param \Aviatur\AdminBundle\Entity\AdminUser $fosUserUser
  122.      *
  123.      * @return DocumentBlacklistActivityLog
  124.      */
  125.     public function setFosUserUser(\Aviatur\AdminBundle\Entity\AdminUser $fosUserUser null)
  126.     {
  127.         $this->fosUserUser $fosUserUser;
  128.         return $this;
  129.     }
  130.     /**
  131.      * Get fos_user_user.
  132.      *
  133.      * @return \Aviatur\AdminBundle\Entity\AdminUser
  134.      */
  135.     public function getFosUserUser()
  136.     {
  137.         return $this->fosUserUser;
  138.     }
  139.     /**
  140.      * Set updatingdate.
  141.      *
  142.      * @return DocumentBlacklistActivityLog
  143.      */
  144.     public function setUpdatingdate(\DateTime $updatingdate)
  145.     {
  146.         $this->updatingdate $updatingdate;
  147.         return $this;
  148.     }
  149.     /**
  150.      * Get updatingdate.
  151.      *
  152.      * @return \DateTime
  153.      */
  154.     public function getUpdatingdate()
  155.     {
  156.         return $this->updatingdate;
  157.     }
  158.     /**
  159.      * Set operation mode.
  160.      *
  161.      * @param string $operationMode
  162.      *
  163.      * @return DocumentBlacklistActivityLog
  164.      */
  165.     public function setOperationmode($operationmode)
  166.     {
  167.         $this->operationmode $operationmode;
  168.         return $this;
  169.     }
  170.     /**
  171.      * Get operation mode.
  172.      *
  173.      * @return string
  174.      */
  175.     public function getOperationmode()
  176.     {
  177.         return $this->operationmode;
  178.     }
  179. }