src/Aviatur/FlightBundle/Entity/ConfigFlightAgencyActivityLog.php line 13

Open in your IDE?
  1. <?php
  2. namespace Aviatur\FlightBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ConfigFlightAgencyActivityLog.
  6.  *
  7.  * @ORM\Table(name="config_flight_agency_activity_log", indexes={@ORM\Index(name="fos_user_user_id", columns={"fos_user_user_id"}), @ORM\Index(name="agency_id", columns={"agency_id"}), @ORM\Index(name="provider_id", columns={"provider_id"})})
  8.  * @ORM\Entity(repositoryClass="Aviatur\FlightBundle\Entity\ConfigFlightAgencyActivityLogRepository")
  9.  */
  10. class ConfigFlightAgencyActivityLog
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="related_id", type="integer", nullable=true)
  24.      */
  25.     private $relatedId;
  26.     /**
  27.      * @ORM\Column(name="updatingDate", type="datetime", nullable=false)
  28.      */
  29.     private ?\DateTime $updatingdate null;
  30.     /**
  31.      * @var string
  32.      *
  33.      * @ORM\Column(name="operationMode", type="string", length=10)
  34.      */
  35.     private $operationmode;
  36.     /**
  37.      * @var string
  38.      *
  39.      * @ORM\Column(name="wsUrl", type="string", length=255, nullable=true)
  40.      */
  41.     private $wsurl;
  42.     /**
  43.      * @var string
  44.      *
  45.      * @ORM\Column(name="message", type="string", length=255, nullable=true)
  46.      */
  47.     private $message;
  48.     /**
  49.      * @var string
  50.      *
  51.      * @ORM\Column(name="officeId", type="string", length=255, nullable=true)
  52.      */
  53.     private $officeid;
  54.     /**
  55.      * @var string
  56.      *
  57.      * @ORM\Column(name="externalId", type="string", length=255, nullable=true)
  58.      */
  59.     private $externalid;
  60.     /**
  61.      * @var int
  62.      *
  63.      * @ORM\Column(name="preference", type="integer", nullable=true)
  64.      */
  65.     private $preference;
  66.     /**
  67.      * @var bool
  68.      *
  69.      * @ORM\Column(name="isActive", type="boolean", nullable=true)
  70.      */
  71.     private $isactive;
  72.     /**
  73.      * @var int
  74.      *
  75.      * @ORM\Column(name="maxTime", type="integer", nullable=true)
  76.      */
  77.     private $maxtime;
  78.     /**
  79.      * @var bool
  80.      *
  81.      * @ORM\Column(name="hasCombination", type="boolean", nullable=true)
  82.      */
  83.     private $hascombination;
  84.     /**
  85.      * @var int
  86.      *
  87.      * @ORM\Column(name="errorCount", type="integer", nullable=true)
  88.      */
  89.     private $errorcount;
  90.     /**
  91.      * @ORM\Column(name="errorDatetime", type="datetime", nullable=true)
  92.      */
  93.     private ?\DateTime $errordatetime null;
  94.     /**
  95.      *
  96.      * @ORM\ManyToOne(targetEntity="Aviatur\MpaBundle\Entity\Provider", inversedBy="configFlightAgency")
  97.      * @ORM\JoinColumns({
  98.      *   @ORM\JoinColumn(name="provider_id", referencedColumnName="id")
  99.      * })
  100.      */
  101.     private ?\Aviatur\MpaBundle\Entity\Provider $provider null;
  102.     /**
  103.      *
  104.      * @ORM\ManyToOne(targetEntity="Aviatur\AgencyBundle\Entity\Agency", inversedBy="configFlightAgency")
  105.      * @ORM\JoinColumns({
  106.      *   @ORM\JoinColumn(name="agency_id", referencedColumnName="id")
  107.      * })
  108.      */
  109.     private ?\Aviatur\AgencyBundle\Entity\Agency $agency null;
  110.     /**
  111.      *
  112.      * @ORM\ManyToOne(targetEntity="Aviatur\AdminBundle\Entity\AdminUser", inversedBy="configFlightAgency")
  113.      * @ORM\JoinColumns({
  114.      *   @ORM\JoinColumn(name="fos_user_user_id", referencedColumnName="id")
  115.      * })
  116.      */
  117.     private ?\Aviatur\AdminBundle\Entity\AdminUser $fosUserUser null;
  118.     /**
  119.      * Get id.
  120.      *
  121.      * @return int
  122.      */
  123.     public function getId()
  124.     {
  125.         return $this->id;
  126.     }
  127.     /**
  128.      * Set relatedId.
  129.      *
  130.      * @param int $relatedId
  131.      *
  132.      * @return ConfigFlightAgencyActivityLog
  133.      */
  134.     public function setRelatedid($relatedId)
  135.     {
  136.         $this->relatedId $relatedId;
  137.         return $this;
  138.     }
  139.     /**
  140.      * Get relatedId.
  141.      *
  142.      * @return string
  143.      */
  144.     public function getRelatedid()
  145.     {
  146.         return $this->relatedId;
  147.     }
  148.     /**
  149.      * Set wsurl.
  150.      *
  151.      * @param string $wsurl
  152.      *
  153.      * @return ConfigFlightAgencyActivityLog
  154.      */
  155.     public function setWsurl($wsurl)
  156.     {
  157.         $this->wsurl $wsurl;
  158.         return $this;
  159.     }
  160.     /**
  161.      * Get wsurl.
  162.      *
  163.      * @return string
  164.      */
  165.     public function getWsurl()
  166.     {
  167.         return $this->wsurl;
  168.     }
  169.     /**
  170.      * Set message.
  171.      *
  172.      * @param string $message
  173.      *
  174.      * @return ConfigFlightAgencyActivityLog
  175.      */
  176.     public function setMessage($message)
  177.     {
  178.         $this->message $message;
  179.         return $this;
  180.     }
  181.     /**
  182.      * Get message.
  183.      *
  184.      * @return string
  185.      */
  186.     public function getMessage()
  187.     {
  188.         return $this->message;
  189.     }
  190.     /**
  191.      * Set officeid.
  192.      *
  193.      * @param string $officeid
  194.      *
  195.      * @return ConfigFlightAgencyActivityLog
  196.      */
  197.     public function setOfficeid($officeid)
  198.     {
  199.         $this->officeid $officeid;
  200.         return $this;
  201.     }
  202.     /**
  203.      * Get officeid.
  204.      *
  205.      * @return string
  206.      */
  207.     public function getOfficeid()
  208.     {
  209.         return $this->officeid;
  210.     }
  211.     /**
  212.      * Set externalid.
  213.      *
  214.      * @param string $externalid
  215.      *
  216.      * @return ConfigFlightAgencyActivityLog
  217.      */
  218.     public function setExternalid($externalid)
  219.     {
  220.         $this->externalid $externalid;
  221.         return $this;
  222.     }
  223.     /**
  224.      * Get externalid.
  225.      *
  226.      * @return string
  227.      */
  228.     public function getExternalid()
  229.     {
  230.         return $this->externalid;
  231.     }
  232.     /**
  233.      * Set preference.
  234.      *
  235.      * @param bool $preference
  236.      *
  237.      * @return ConfigFlightAgencyActivityLog
  238.      */
  239.     public function setPreference($preference)
  240.     {
  241.         $this->preference $preference;
  242.         return $this;
  243.     }
  244.     /**
  245.      * Get preference.
  246.      *
  247.      * @return bool
  248.      */
  249.     public function getPreference()
  250.     {
  251.         return $this->preference;
  252.     }
  253.     /**
  254.      * Set isactive.
  255.      *
  256.      * @param bool $isactive
  257.      *
  258.      * @return ConfigFlightAgencyActivityLog
  259.      */
  260.     public function setIsactive($isactive)
  261.     {
  262.         $this->isactive $isactive;
  263.         return $this;
  264.     }
  265.     /**
  266.      * Get isactive.
  267.      *
  268.      * @return bool
  269.      */
  270.     public function getIsactive()
  271.     {
  272.         return $this->isactive;
  273.     }
  274.     /**
  275.      * Set hascombination.
  276.      *
  277.      * @param bool $hascombination
  278.      *
  279.      * @return ConfigFlightAgencyActivityLog
  280.      */
  281.     public function setHascombination($hascombination)
  282.     {
  283.         $this->hascombination $hascombination;
  284.         return $this;
  285.     }
  286.     /**
  287.      * Get hascombination.
  288.      *
  289.      * @return bool
  290.      */
  291.     public function getHascombination()
  292.     {
  293.         return $this->hascombination;
  294.     }
  295.     /**
  296.      * Set maxtime.
  297.      *
  298.      * @param int $maxtime
  299.      *
  300.      * @return ConfigFlightAgencyActivityLog
  301.      */
  302.     public function setMaxtime($maxtime)
  303.     {
  304.         $this->maxtime $maxtime;
  305.         return $this;
  306.     }
  307.     /**
  308.      * Get maxtime.
  309.      *
  310.      * @return int
  311.      */
  312.     public function getMaxtime()
  313.     {
  314.         return $this->maxtime;
  315.     }
  316.     /**
  317.      * Set errorcount.
  318.      *
  319.      * @param int $errorcount
  320.      *
  321.      * @return ConfigFlightAgencyActivityLog
  322.      */
  323.     public function setErrorcount($errorcount)
  324.     {
  325.         $this->errorcount $errorcount;
  326.         return $this;
  327.     }
  328.     /**
  329.      * Get errorcount.
  330.      *
  331.      * @return int
  332.      */
  333.     public function getErrorcount()
  334.     {
  335.         return $this->errorcount;
  336.     }
  337.     /**
  338.      * Set errordatetime.
  339.      *
  340.      * @return ConfigFlightAgencyActivityLog
  341.      */
  342.     public function setErrordatetime(\DateTime $errordatetime null)
  343.     {
  344.         $this->errordatetime $errordatetime;
  345.         return $this;
  346.     }
  347.     /**
  348.      * Get errordatetime.
  349.      *
  350.      * @return \DateTime|null
  351.      */
  352.     public function getErrordatetime()
  353.     {
  354.         return $this->errordatetime;
  355.     }
  356.     /**
  357.      * Set provider.
  358.      *
  359.      * @param \Aviatur\MpaBundle\Entity\Provider $provider
  360.      *
  361.      * @return ConfigFlightAgencyActivityLog
  362.      */
  363.     public function setProvider(\Aviatur\MpaBundle\Entity\Provider $provider null)
  364.     {
  365.         $this->provider $provider;
  366.         return $this;
  367.     }
  368.     /**
  369.      * Get provider.
  370.      *
  371.      * @return \Aviatur\MpaBundle\Entity\Provider
  372.      */
  373.     public function getProvider()
  374.     {
  375.         return $this->provider;
  376.     }
  377.     /**
  378.      * Set agency.
  379.      *
  380.      * @param \Aviatur\AgencyBundle\Entity\Agency $agency
  381.      *
  382.      * @return ConfigFlightAgencyActivityLog
  383.      */
  384.     public function setAgency(\Aviatur\AgencyBundle\Entity\Agency $agency null)
  385.     {
  386.         $this->agency $agency;
  387.         return $this;
  388.     }
  389.     /**
  390.      * Get agency.
  391.      *
  392.      * @return \Aviatur\AgencyBundle\Entity\Agency
  393.      */
  394.     public function getAgency()
  395.     {
  396.         return $this->agency;
  397.     }
  398.     /**
  399.      * Set fos_user_user.
  400.      *
  401.      * @param \Aviatur\AdminBundle\Entity\AdminUser $fosUserUser
  402.      *
  403.      * @return ConfigFlightAgencyActivityLogActivityLog
  404.      */
  405.     public function setFosUserUser(\Aviatur\AdminBundle\Entity\AdminUser $fosUserUser null)
  406.     {
  407.         $this->fosUserUser $fosUserUser;
  408.         return $this;
  409.     }
  410.     /**
  411.      * Get fos_user_user.
  412.      *
  413.      * @return \Aviatur\AdminBundle\Entity\AdminUser
  414.      */
  415.     public function getFosUserUser()
  416.     {
  417.         return $this->fosUserUser;
  418.     }
  419.     /**
  420.      * Set updatingdate.
  421.      *
  422.      * @return ConfigFlightAgencyActivityLogActivityLog
  423.      */
  424.     public function setUpdatingdate(\DateTime $updatingdate)
  425.     {
  426.         $this->updatingdate $updatingdate;
  427.         return $this;
  428.     }
  429.     /**
  430.      * Get updatingdate.
  431.      *
  432.      * @return \DateTime
  433.      */
  434.     public function getUpdatingdate()
  435.     {
  436.         return $this->updatingdate;
  437.     }
  438.     /**
  439.      * Set operation mode.
  440.      *
  441.      * @param string $operationMode
  442.      *
  443.      * @return ConfigFlightAgencyActivityLogActivityLog
  444.      */
  445.     public function setOperationmode($operationmode)
  446.     {
  447.         $this->operationmode $operationmode;
  448.         return $this;
  449.     }
  450.     /**
  451.      * Get operation mode.
  452.      *
  453.      * @return string
  454.      */
  455.     public function getOperationmode()
  456.     {
  457.         return $this->operationmode;
  458.     }
  459. }