Gina Next Generation
 All Classes Namespaces Files Functions Variables
Event.php
Go to the documentation of this file.
00001 <?php
00002 
00003 namespace Etrali\GinangBundle\Entity;
00004 
00005 use Doctrine\ORM\Mapping as ORM;
00006 
00007 /**
00008  * Event
00009  *
00010  * @ORM\Table(name="event")
00011  * @ORM\Entity
00012  */
00013 class Event
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_event", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idEvent;
00023 
00024     /**
00025      * @var integer
00026      *
00027      * @ORM\Column(name="id_object_parent", type="integer", nullable=true)
00028      */
00029     private $idObjectParent;
00030 
00031     /**
00032      * @var integer
00033      *
00034      * @ORM\Column(name="id_object", type="integer", nullable=true)
00035      */
00036     private $idObject;
00037 
00038     /**
00039      * @var \DateTime
00040      *
00041      * @ORM\Column(name="dt_order", type="datetime", nullable=true)
00042      */
00043     private $dtOrder;
00044 
00045     /**
00046      * @var \DateTime
00047      *
00048      * @ORM\Column(name="dt_delivery", type="datetime", nullable=true)
00049      */
00050     private $dtDelivery;
00051 
00052     /**
00053      * @var \DateTime
00054      *
00055      * @ORM\Column(name="dt_delivery_requested", type="datetime", nullable=true)
00056      */
00057     private $dtDeliveryRequested;
00058 
00059     /**
00060      * @var \DateTime
00061      *
00062      * @ORM\Column(name="dt_due", type="datetime", nullable=true)
00063      */
00064     private $dtDue;
00065 
00066     /**
00067      * @var \DateTime
00068      *
00069      * @ORM\Column(name="dt_planned", type="datetime", nullable=true)
00070      */
00071     private $dtPlanned;
00072 
00073     /**
00074      * @var \DateTime
00075      *
00076      * @ORM\Column(name="dt_acceptance_sent", type="datetime", nullable=true)
00077      */
00078     private $dtAcceptanceSent;
00079 
00080     /**
00081      * @var \DateTime
00082      *
00083      * @ORM\Column(name="dt_acceptance_received", type="datetime", nullable=true)
00084      */
00085     private $dtAcceptanceReceived;
00086 
00087     /**
00088      * @var \DateTime
00089      *
00090      * @ORM\Column(name="dt_start", type="datetime", nullable=true)
00091      */
00092     private $dtStart;
00093 
00094     /**
00095      * @var \DateTime
00096      *
00097      * @ORM\Column(name="dt_end", type="datetime", nullable=true)
00098      */
00099     private $dtEnd;
00100 
00101     /**
00102      * @var \EventType
00103      *
00104      * @ORM\ManyToOne(targetEntity="EventType")
00105      * @ORM\JoinColumns({
00106      *   @ORM\JoinColumn(name="id_event_type", referencedColumnName="id_event_type")
00107      * })
00108      */
00109     private $idEventType;
00110 
00111     /**
00112      * @var \ObjectType
00113      *
00114      * @ORM\ManyToOne(targetEntity="ObjectType")
00115      * @ORM\JoinColumns({
00116      *   @ORM\JoinColumn(name="id_object_type", referencedColumnName="id_object_type")
00117      * })
00118      */
00119     private $idObjectType;
00120 
00121     /**
00122      * @var \ObjectType
00123      *
00124      * @ORM\ManyToOne(targetEntity="ObjectType")
00125      * @ORM\JoinColumns({
00126      *   @ORM\JoinColumn(name="id_object_type_parent", referencedColumnName="id_object_type")
00127      * })
00128      */
00129     private $idObjectTypeParent;
00130 
00131 
00132 
00133     /**
00134      * Get idEvent
00135      *
00136      * @return integer 
00137      */
00138     public function getIdEvent()
00139     {
00140         return $this->idEvent;
00141     }
00142 
00143     /**
00144      * Set idObjectParent
00145      *
00146      * @param integer $idObjectParent
00147      * @return Event
00148      */
00149     public function setIdObjectParent($idObjectParent)
00150     {
00151         $this->idObjectParent = $idObjectParent;
00152     
00153         return $this;
00154     }
00155 
00156     /**
00157      * Get idObjectParent
00158      *
00159      * @return integer 
00160      */
00161     public function getIdObjectParent()
00162     {
00163         return $this->idObjectParent;
00164     }
00165 
00166     /**
00167      * Set idObject
00168      *
00169      * @param integer $idObject
00170      * @return Event
00171      */
00172     public function setIdObject($idObject)
00173     {
00174         $this->idObject = $idObject;
00175     
00176         return $this;
00177     }
00178 
00179     /**
00180      * Get idObject
00181      *
00182      * @return integer 
00183      */
00184     public function getIdObject()
00185     {
00186         return $this->idObject;
00187     }
00188 
00189     /**
00190      * Set dtOrder
00191      *
00192      * @param \DateTime $dtOrder
00193      * @return Event
00194      */
00195     public function setDtOrder($dtOrder)
00196     {
00197         $this->dtOrder = $dtOrder;
00198     
00199         return $this;
00200     }
00201 
00202     /**
00203      * Get dtOrder
00204      *
00205      * @return \DateTime 
00206      */
00207     public function getDtOrder()
00208     {
00209         return $this->dtOrder;
00210     }
00211 
00212     /**
00213      * Set dtDelivery
00214      *
00215      * @param \DateTime $dtDelivery
00216      * @return Event
00217      */
00218     public function setDtDelivery($dtDelivery)
00219     {
00220         $this->dtDelivery = $dtDelivery;
00221     
00222         return $this;
00223     }
00224 
00225     /**
00226      * Get dtDelivery
00227      *
00228      * @return \DateTime 
00229      */
00230     public function getDtDelivery()
00231     {
00232         return $this->dtDelivery;
00233     }
00234 
00235     /**
00236      * Set dtDeliveryRequested
00237      *
00238      * @param \DateTime $dtDeliveryRequested
00239      * @return Event
00240      */
00241     public function setDtDeliveryRequested($dtDeliveryRequested)
00242     {
00243         $this->dtDeliveryRequested = $dtDeliveryRequested;
00244     
00245         return $this;
00246     }
00247 
00248     /**
00249      * Get dtDeliveryRequested
00250      *
00251      * @return \DateTime 
00252      */
00253     public function getDtDeliveryRequested()
00254     {
00255         return $this->dtDeliveryRequested;
00256     }
00257 
00258     /**
00259      * Set dtDue
00260      *
00261      * @param \DateTime $dtDue
00262      * @return Event
00263      */
00264     public function setDtDue($dtDue)
00265     {
00266         $this->dtDue = $dtDue;
00267     
00268         return $this;
00269     }
00270 
00271     /**
00272      * Get dtDue
00273      *
00274      * @return \DateTime 
00275      */
00276     public function getDtDue()
00277     {
00278         return $this->dtDue;
00279     }
00280 
00281     /**
00282      * Set dtPlanned
00283      *
00284      * @param \DateTime $dtPlanned
00285      * @return Event
00286      */
00287     public function setDtPlanned($dtPlanned)
00288     {
00289         $this->dtPlanned = $dtPlanned;
00290     
00291         return $this;
00292     }
00293 
00294     /**
00295      * Get dtPlanned
00296      *
00297      * @return \DateTime 
00298      */
00299     public function getDtPlanned()
00300     {
00301         return $this->dtPlanned;
00302     }
00303 
00304     /**
00305      * Set dtAcceptanceSent
00306      *
00307      * @param \DateTime $dtAcceptanceSent
00308      * @return Event
00309      */
00310     public function setDtAcceptanceSent($dtAcceptanceSent)
00311     {
00312         $this->dtAcceptanceSent = $dtAcceptanceSent;
00313     
00314         return $this;
00315     }
00316 
00317     /**
00318      * Get dtAcceptanceSent
00319      *
00320      * @return \DateTime 
00321      */
00322     public function getDtAcceptanceSent()
00323     {
00324         return $this->dtAcceptanceSent;
00325     }
00326 
00327     /**
00328      * Set dtAcceptanceReceived
00329      *
00330      * @param \DateTime $dtAcceptanceReceived
00331      * @return Event
00332      */
00333     public function setDtAcceptanceReceived($dtAcceptanceReceived)
00334     {
00335         $this->dtAcceptanceReceived = $dtAcceptanceReceived;
00336     
00337         return $this;
00338     }
00339 
00340     /**
00341      * Get dtAcceptanceReceived
00342      *
00343      * @return \DateTime 
00344      */
00345     public function getDtAcceptanceReceived()
00346     {
00347         return $this->dtAcceptanceReceived;
00348     }
00349 
00350     /**
00351      * Set dtStart
00352      *
00353      * @param \DateTime $dtStart
00354      * @return Event
00355      */
00356     public function setDtStart($dtStart)
00357     {
00358         $this->dtStart = $dtStart;
00359     
00360         return $this;
00361     }
00362 
00363     /**
00364      * Get dtStart
00365      *
00366      * @return \DateTime 
00367      */
00368     public function getDtStart()
00369     {
00370         return $this->dtStart;
00371     }
00372 
00373     /**
00374      * Set dtEnd
00375      *
00376      * @param \DateTime $dtEnd
00377      * @return Event
00378      */
00379     public function setDtEnd($dtEnd)
00380     {
00381         $this->dtEnd = $dtEnd;
00382     
00383         return $this;
00384     }
00385 
00386     /**
00387      * Get dtEnd
00388      *
00389      * @return \DateTime 
00390      */
00391     public function getDtEnd()
00392     {
00393         return $this->dtEnd;
00394     }
00395 
00396     /**
00397      * Set idEventType
00398      *
00399      * @param \Etrali\GinangBundle\Entity\EventType $idEventType
00400      * @return Event
00401      */
00402     public function setIdEventType(\Etrali\GinangBundle\Entity\EventType $idEventType = null)
00403     {
00404         $this->idEventType = $idEventType;
00405     
00406         return $this;
00407     }
00408 
00409     /**
00410      * Get idEventType
00411      *
00412      * @return \Etrali\GinangBundle\Entity\EventType 
00413      */
00414     public function getIdEventType()
00415     {
00416         return $this->idEventType;
00417     }
00418 
00419     /**
00420      * Set idObjectType
00421      *
00422      * @param \Etrali\GinangBundle\Entity\ObjectType $idObjectType
00423      * @return Event
00424      */
00425     public function setIdObjectType(\Etrali\GinangBundle\Entity\ObjectType $idObjectType = null)
00426     {
00427         $this->idObjectType = $idObjectType;
00428     
00429         return $this;
00430     }
00431 
00432     /**
00433      * Get idObjectType
00434      *
00435      * @return \Etrali\GinangBundle\Entity\ObjectType 
00436      */
00437     public function getIdObjectType()
00438     {
00439         return $this->idObjectType;
00440     }
00441 
00442     /**
00443      * Set idObjectTypeParent
00444      *
00445      * @param \Etrali\GinangBundle\Entity\ObjectType $idObjectTypeParent
00446      * @return Event
00447      */
00448     public function setIdObjectTypeParent(\Etrali\GinangBundle\Entity\ObjectType $idObjectTypeParent = null)
00449     {
00450         $this->idObjectTypeParent = $idObjectTypeParent;
00451     
00452         return $this;
00453     }
00454 
00455     /**
00456      * Get idObjectTypeParent
00457      *
00458      * @return \Etrali\GinangBundle\Entity\ObjectType 
00459      */
00460     public function getIdObjectTypeParent()
00461     {
00462         return $this->idObjectTypeParent;
00463     }
00464 }
 All Classes Namespaces Files Functions Variables