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

Open in your IDE?
  1. <?php
  2. namespace Aviatur\GeneralBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Name Blacklist Activity Log.
  6.  *
  7.  * @ORM\Table(name="name_blacklist_activity_log")
  8.  * @ORM\Entity(repositoryClass="Aviatur\GeneralBundle\Entity\NameBlacklistActivityLogRepository")
  9.  */
  10. class NameBlacklistActivityLog
  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="nameBlacklistActivityLog")
  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="oldName", type="string", length=20)
  42.      */
  43.     private $oldname;
  44.     /**
  45.      * @var string
  46.      *
  47.      * @ORM\Column(name="newName", type="string", length=20)
  48.      */
  49.     private $newname;
  50.     /**
  51.      * Get id.
  52.      *
  53.      * @return int
  54.      */
  55.     public function getId()
  56.     {
  57.         return $this->id;
  58.     }
  59.     /**
  60.      * Set old Name.
  61.      *
  62.      * @param string $oldName
  63.      *
  64.      * @return NameBlacklistActivityLog
  65.      */
  66.     public function setOldname($oldname)
  67.     {
  68.         $this->oldname $oldname;
  69.         return $this;
  70.     }
  71.     /**
  72.      * Get old name.
  73.      *
  74.      * @return string
  75.      */
  76.     public function getOldname()
  77.     {
  78.         return $this->oldname;
  79.     }
  80.     /**
  81.      * Set new Name.
  82.      *
  83.      * @param string $newName
  84.      *
  85.      * @return NameBlacklistActivityLog
  86.      */
  87.     public function setNewname($newname)
  88.     {
  89.         $this->newname $newname;
  90.         return $this;
  91.     }
  92.     /**
  93.      * Get new name.
  94.      *
  95.      * @return string
  96.      */
  97.     public function getNewname()
  98.     {
  99.         return $this->newname;
  100.     }
  101.     /**
  102.      * Set fos_user_user.
  103.      *
  104.      * @param \Aviatur\AdminBundle\Entity\AdminUser $fosUserUser
  105.      *
  106.      * @return NameBlacklistActivityLog
  107.      */
  108.     public function setFosUserUser(\Aviatur\AdminBundle\Entity\AdminUser $fosUserUser null)
  109.     {
  110.         $this->fosUserUser $fosUserUser;
  111.         return $this;
  112.     }
  113.     /**
  114.      * Get fos_user_user.
  115.      *
  116.      * @return \Aviatur\AdminBundle\Entity\AdminUser
  117.      */
  118.     public function getFosUserUser()
  119.     {
  120.         return $this->fosUserUser;
  121.     }
  122.     /**
  123.      * Set updatingdate.
  124.      *
  125.      * @return NameBlacklistActivityLog
  126.      */
  127.     public function setUpdatingdate(\DateTime $updatingdate)
  128.     {
  129.         $this->updatingdate $updatingdate;
  130.         return $this;
  131.     }
  132.     /**
  133.      * Get updatingdate.
  134.      *
  135.      * @return \DateTime
  136.      */
  137.     public function getUpdatingdate()
  138.     {
  139.         return $this->updatingdate;
  140.     }
  141.     /**
  142.      * Set operation mode.
  143.      *
  144.      * @param string $operationMode
  145.      *
  146.      * @return NameBlacklistActivityLog
  147.      */
  148.     public function setOperationmode($operationmode)
  149.     {
  150.         $this->operationmode $operationmode;
  151.         return $this;
  152.     }
  153.     /**
  154.      * Get operation mode.
  155.      *
  156.      * @return string
  157.      */
  158.     public function getOperationmode()
  159.     {
  160.         return $this->operationmode;
  161.     }
  162. }