Gina Next Generation
 All Classes Namespaces Files Functions Variables
ServiceNotes.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  * ServiceNotes
00009  *
00010  * @ORM\Table(name="service_notes")
00011  * @ORM\Entity
00012  */
00013 class ServiceNotes
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_service_notes", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idServiceNotes;
00023 
00024     /**
00025      * @var string
00026      *
00027      * @ORM\Column(name="note", type="text", nullable=true)
00028      */
00029     private $note;
00030 
00031     /**
00032      * @var \DateTime
00033      *
00034      * @ORM\Column(name="dt_note", type="datetime", nullable=true)
00035      */
00036     private $dtNote;
00037 
00038     /**
00039      * @var \User
00040      *
00041      * @ORM\ManyToOne(targetEntity="User")
00042      * @ORM\JoinColumns({
00043      *   @ORM\JoinColumn(name="id_user", referencedColumnName="id_user")
00044      * })
00045      */
00046     private $idUser;
00047 
00048 
00049 
00050     /**
00051      * Get idServiceNotes
00052      *
00053      * @return integer 
00054      */
00055     public function getIdServiceNotes()
00056     {
00057         return $this->idServiceNotes;
00058     }
00059 
00060     /**
00061      * Set note
00062      *
00063      * @param string $note
00064      * @return ServiceNotes
00065      */
00066     public function setNote($note)
00067     {
00068         $this->note = $note;
00069     
00070         return $this;
00071     }
00072 
00073     /**
00074      * Get note
00075      *
00076      * @return string 
00077      */
00078     public function getNote()
00079     {
00080         return $this->note;
00081     }
00082 
00083     /**
00084      * Set dtNote
00085      *
00086      * @param \DateTime $dtNote
00087      * @return ServiceNotes
00088      */
00089     public function setDtNote($dtNote)
00090     {
00091         $this->dtNote = $dtNote;
00092     
00093         return $this;
00094     }
00095 
00096     /**
00097      * Get dtNote
00098      *
00099      * @return \DateTime 
00100      */
00101     public function getDtNote()
00102     {
00103         return $this->dtNote;
00104     }
00105 
00106     /**
00107      * Set idUser
00108      *
00109      * @param \Etrali\GinangBundle\Entity\User $idUser
00110      * @return ServiceNotes
00111      */
00112     public function setIdUser(\Etrali\GinangBundle\Entity\User $idUser = null)
00113     {
00114         $this->idUser = $idUser;
00115     
00116         return $this;
00117     }
00118 
00119     /**
00120      * Get idUser
00121      *
00122      * @return \Etrali\GinangBundle\Entity\User 
00123      */
00124     public function getIdUser()
00125     {
00126         return $this->idUser;
00127     }
00128 }
 All Classes Namespaces Files Functions Variables