Gina Next Generation
 All Classes Namespaces Files Functions Variables
Contact.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  * Contact
00009  *
00010  * @ORM\Table(name="contact")
00011  * @ORM\Entity
00012  */
00013 class Contact
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_contact", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idContact;
00023 
00024     /**
00025      * @var string
00026      *
00027      * @ORM\Column(name="lb_title", type="string", length=255, nullable=true)
00028      */
00029     private $lbTitle;
00030 
00031     /**
00032      * @var string
00033      *
00034      * @ORM\Column(name="lb_firstname", type="string", length=50, nullable=true)
00035      */
00036     private $lbFirstname;
00037 
00038     /**
00039      * @var string
00040      *
00041      * @ORM\Column(name="lb_lastname", type="string", length=50, nullable=true)
00042      */
00043     private $lbLastname;
00044 
00045     /**
00046      * @var string
00047      *
00048      * @ORM\Column(name="lb_email", type="string", length=100, nullable=true)
00049      */
00050     private $lbEmail;
00051 
00052     /**
00053      * @var string
00054      *
00055      * @ORM\Column(name="lb_phone", type="string", length=20, nullable=true)
00056      */
00057     private $lbPhone;
00058 
00059     /**
00060      * @var string
00061      *
00062      * @ORM\Column(name="lb_mobile", type="string", length=20, nullable=true)
00063      */
00064     private $lbMobile;
00065 
00066     /**
00067      * @var string
00068      *
00069      * @ORM\Column(name="lb_fax", type="string", length=20, nullable=true)
00070      */
00071     private $lbFax;
00072 
00073     /**
00074      * @var boolean
00075      *
00076      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00077      */
00078     private $blDeactivated;
00079 
00080     /**
00081      * @var \DateTime
00082      *
00083      * @ORM\Column(name="dt_create", type="datetime", nullable=true)
00084      */
00085     private $dtCreate;
00086 
00087     /**
00088      * @var \DateTime
00089      *
00090      * @ORM\Column(name="dt_update", type="datetime", nullable=true)
00091      */
00092     private $dtUpdate;
00093 
00094     /**
00095      * @var \DateTime
00096      *
00097      * @ORM\Column(name="dt_deactived", type="datetime", nullable=true)
00098      */
00099     private $dtDeactived;
00100 
00101     /**
00102      * @var boolean
00103      *
00104      * @ORM\Column(name="bl_default", type="boolean", nullable=true)
00105      */
00106     private $blDefault;
00107 
00108     /**
00109      * @var string
00110      *
00111      * @ORM\Column(name="comment", type="text", nullable=true)
00112      */
00113     private $comment;
00114 
00115     /**
00116      * @var \User
00117      *
00118      * @ORM\ManyToOne(targetEntity="User")
00119      * @ORM\JoinColumns({
00120      *   @ORM\JoinColumn(name="id_user_update_by", referencedColumnName="id_user")
00121      * })
00122      */
00123     private $idUserUpdateBy;
00124 
00125     /**
00126      * @var \ContactType
00127      *
00128      * @ORM\ManyToOne(targetEntity="ContactType")
00129      * @ORM\JoinColumns({
00130      *   @ORM\JoinColumn(name="id_contact_type", referencedColumnName="id_contact_type")
00131      * })
00132      */
00133     private $idContactType;
00134 
00135     /**
00136      * @var \User
00137      *
00138      * @ORM\ManyToOne(targetEntity="User")
00139      * @ORM\JoinColumns({
00140      *   @ORM\JoinColumn(name="id_user_create_by", referencedColumnName="id_user")
00141      * })
00142      */
00143     private $idUserCreateBy;
00144 
00145     /**
00146      * @var \Customer
00147      *
00148      * @ORM\ManyToOne(targetEntity="Customer")
00149      * @ORM\JoinColumns({
00150      *   @ORM\JoinColumn(name="id_customer", referencedColumnName="id_customer")
00151      * })
00152      */
00153     private $idCustomer;
00154 
00155     /**
00156      * @var \Address
00157      *
00158      * @ORM\ManyToOne(targetEntity="Address")
00159      * @ORM\JoinColumns({
00160      *   @ORM\JoinColumn(name="id_address", referencedColumnName="id_address")
00161      * })
00162      */
00163     private $idAddress;
00164 
00165     /**
00166      * @var \Civility
00167      *
00168      * @ORM\ManyToOne(targetEntity="Civility")
00169      * @ORM\JoinColumns({
00170      *   @ORM\JoinColumn(name="id_civility", referencedColumnName="id_civility")
00171      * })
00172      */
00173     private $idCivility;
00174 
00175     /**
00176      * @var \Nature
00177      *
00178      * @ORM\ManyToOne(targetEntity="Nature")
00179      * @ORM\JoinColumns({
00180      *   @ORM\JoinColumn(name="id_nature", referencedColumnName="id_nature")
00181      * })
00182      */
00183     private $idNature;
00184 
00185 
00186 
00187     /**
00188      * Get idContact
00189      *
00190      * @return integer 
00191      */
00192     public function getIdContact()
00193     {
00194         return $this->idContact;
00195     }
00196 
00197     /**
00198      * Set lbTitle
00199      *
00200      * @param string $lbTitle
00201      * @return Contact
00202      */
00203     public function setLbTitle($lbTitle)
00204     {
00205         $this->lbTitle = $lbTitle;
00206     
00207         return $this;
00208     }
00209 
00210     /**
00211      * Get lbTitle
00212      *
00213      * @return string 
00214      */
00215     public function getLbTitle()
00216     {
00217         return $this->lbTitle;
00218     }
00219 
00220     /**
00221      * Set lbFirstname
00222      *
00223      * @param string $lbFirstname
00224      * @return Contact
00225      */
00226     public function setLbFirstname($lbFirstname)
00227     {
00228         $this->lbFirstname = $lbFirstname;
00229     
00230         return $this;
00231     }
00232 
00233     /**
00234      * Get lbFirstname
00235      *
00236      * @return string 
00237      */
00238     public function getLbFirstname()
00239     {
00240         return $this->lbFirstname;
00241     }
00242 
00243     /**
00244      * Set lbLastname
00245      *
00246      * @param string $lbLastname
00247      * @return Contact
00248      */
00249     public function setLbLastname($lbLastname)
00250     {
00251         $this->lbLastname = $lbLastname;
00252     
00253         return $this;
00254     }
00255 
00256     /**
00257      * Get lbLastname
00258      *
00259      * @return string 
00260      */
00261     public function getLbLastname()
00262     {
00263         return $this->lbLastname;
00264     }
00265 
00266     /**
00267      * Set lbEmail
00268      *
00269      * @param string $lbEmail
00270      * @return Contact
00271      */
00272     public function setLbEmail($lbEmail)
00273     {
00274         $this->lbEmail = $lbEmail;
00275     
00276         return $this;
00277     }
00278 
00279     /**
00280      * Get lbEmail
00281      *
00282      * @return string 
00283      */
00284     public function getLbEmail()
00285     {
00286         return $this->lbEmail;
00287     }
00288 
00289     /**
00290      * Set lbPhone
00291      *
00292      * @param string $lbPhone
00293      * @return Contact
00294      */
00295     public function setLbPhone($lbPhone)
00296     {
00297         $this->lbPhone = $lbPhone;
00298     
00299         return $this;
00300     }
00301 
00302     /**
00303      * Get lbPhone
00304      *
00305      * @return string 
00306      */
00307     public function getLbPhone()
00308     {
00309         return $this->lbPhone;
00310     }
00311 
00312     /**
00313      * Set lbMobile
00314      *
00315      * @param string $lbMobile
00316      * @return Contact
00317      */
00318     public function setLbMobile($lbMobile)
00319     {
00320         $this->lbMobile = $lbMobile;
00321     
00322         return $this;
00323     }
00324 
00325     /**
00326      * Get lbMobile
00327      *
00328      * @return string 
00329      */
00330     public function getLbMobile()
00331     {
00332         return $this->lbMobile;
00333     }
00334 
00335     /**
00336      * Set lbFax
00337      *
00338      * @param string $lbFax
00339      * @return Contact
00340      */
00341     public function setLbFax($lbFax)
00342     {
00343         $this->lbFax = $lbFax;
00344     
00345         return $this;
00346     }
00347 
00348     /**
00349      * Get lbFax
00350      *
00351      * @return string 
00352      */
00353     public function getLbFax()
00354     {
00355         return $this->lbFax;
00356     }
00357 
00358     /**
00359      * Set blDeactivated
00360      *
00361      * @param boolean $blDeactivated
00362      * @return Contact
00363      */
00364     public function setBlDeactivated($blDeactivated)
00365     {
00366         $this->blDeactivated = $blDeactivated;
00367     
00368         return $this;
00369     }
00370 
00371     /**
00372      * Get blDeactivated
00373      *
00374      * @return boolean 
00375      */
00376     public function getBlDeactivated()
00377     {
00378         return $this->blDeactivated;
00379     }
00380 
00381     /**
00382      * Set dtCreate
00383      *
00384      * @param \DateTime $dtCreate
00385      * @return Contact
00386      */
00387     public function setDtCreate($dtCreate)
00388     {
00389         $this->dtCreate = $dtCreate;
00390     
00391         return $this;
00392     }
00393 
00394     /**
00395      * Get dtCreate
00396      *
00397      * @return \DateTime 
00398      */
00399     public function getDtCreate()
00400     {
00401         return $this->dtCreate;
00402     }
00403 
00404     /**
00405      * Set dtUpdate
00406      *
00407      * @param \DateTime $dtUpdate
00408      * @return Contact
00409      */
00410     public function setDtUpdate($dtUpdate)
00411     {
00412         $this->dtUpdate = $dtUpdate;
00413     
00414         return $this;
00415     }
00416 
00417     /**
00418      * Get dtUpdate
00419      *
00420      * @return \DateTime 
00421      */
00422     public function getDtUpdate()
00423     {
00424         return $this->dtUpdate;
00425     }
00426 
00427     /**
00428      * Set dtDeactived
00429      *
00430      * @param \DateTime $dtDeactived
00431      * @return Contact
00432      */
00433     public function setDtDeactived($dtDeactived)
00434     {
00435         $this->dtDeactived = $dtDeactived;
00436     
00437         return $this;
00438     }
00439 
00440     /**
00441      * Get dtDeactived
00442      *
00443      * @return \DateTime 
00444      */
00445     public function getDtDeactived()
00446     {
00447         return $this->dtDeactived;
00448     }
00449 
00450     /**
00451      * Set blDefault
00452      *
00453      * @param boolean $blDefault
00454      * @return Contact
00455      */
00456     public function setBlDefault($blDefault)
00457     {
00458         $this->blDefault = $blDefault;
00459     
00460         return $this;
00461     }
00462 
00463     /**
00464      * Get blDefault
00465      *
00466      * @return boolean 
00467      */
00468     public function getBlDefault()
00469     {
00470         return $this->blDefault;
00471     }
00472 
00473     /**
00474      * Set comment
00475      *
00476      * @param string $comment
00477      * @return Contact
00478      */
00479     public function setComment($comment)
00480     {
00481         $this->comment = $comment;
00482     
00483         return $this;
00484     }
00485 
00486     /**
00487      * Get comment
00488      *
00489      * @return string 
00490      */
00491     public function getComment()
00492     {
00493         return $this->comment;
00494     }
00495 
00496     /**
00497      * Set idUserUpdateBy
00498      *
00499      * @param \Etrali\GinangBundle\Entity\User $idUserUpdateBy
00500      * @return Contact
00501      */
00502     public function setIdUserUpdateBy(\Etrali\GinangBundle\Entity\User $idUserUpdateBy = null)
00503     {
00504         $this->idUserUpdateBy = $idUserUpdateBy;
00505     
00506         return $this;
00507     }
00508 
00509     /**
00510      * Get idUserUpdateBy
00511      *
00512      * @return \Etrali\GinangBundle\Entity\User 
00513      */
00514     public function getIdUserUpdateBy()
00515     {
00516         return $this->idUserUpdateBy;
00517     }
00518 
00519     /**
00520      * Set idContactType
00521      *
00522      * @param \Etrali\GinangBundle\Entity\ContactType $idContactType
00523      * @return Contact
00524      */
00525     public function setIdContactType(\Etrali\GinangBundle\Entity\ContactType $idContactType = null)
00526     {
00527         $this->idContactType = $idContactType;
00528     
00529         return $this;
00530     }
00531 
00532     /**
00533      * Get idContactType
00534      *
00535      * @return \Etrali\GinangBundle\Entity\ContactType 
00536      */
00537     public function getIdContactType()
00538     {
00539         return $this->idContactType;
00540     }
00541 
00542     /**
00543      * Set idUserCreateBy
00544      *
00545      * @param \Etrali\GinangBundle\Entity\User $idUserCreateBy
00546      * @return Contact
00547      */
00548     public function setIdUserCreateBy(\Etrali\GinangBundle\Entity\User $idUserCreateBy = null)
00549     {
00550         $this->idUserCreateBy = $idUserCreateBy;
00551     
00552         return $this;
00553     }
00554 
00555     /**
00556      * Get idUserCreateBy
00557      *
00558      * @return \Etrali\GinangBundle\Entity\User 
00559      */
00560     public function getIdUserCreateBy()
00561     {
00562         return $this->idUserCreateBy;
00563     }
00564 
00565     /**
00566      * Set idCustomer
00567      *
00568      * @param \Etrali\GinangBundle\Entity\Customer $idCustomer
00569      * @return Contact
00570      */
00571     public function setIdCustomer(\Etrali\GinangBundle\Entity\Customer $idCustomer = null)
00572     {
00573         $this->idCustomer = $idCustomer;
00574     
00575         return $this;
00576     }
00577 
00578     /**
00579      * Get idCustomer
00580      *
00581      * @return \Etrali\GinangBundle\Entity\Customer 
00582      */
00583     public function getIdCustomer()
00584     {
00585         return $this->idCustomer;
00586     }
00587 
00588     /**
00589      * Set idAddress
00590      *
00591      * @param \Etrali\GinangBundle\Entity\Address $idAddress
00592      * @return Contact
00593      */
00594     public function setIdAddress(\Etrali\GinangBundle\Entity\Address $idAddress = null)
00595     {
00596         $this->idAddress = $idAddress;
00597     
00598         return $this;
00599     }
00600 
00601     /**
00602      * Get idAddress
00603      *
00604      * @return \Etrali\GinangBundle\Entity\Address 
00605      */
00606     public function getIdAddress()
00607     {
00608         return $this->idAddress;
00609     }
00610 
00611     /**
00612      * Set idCivility
00613      *
00614      * @param \Etrali\GinangBundle\Entity\Civility $idCivility
00615      * @return Contact
00616      */
00617     public function setIdCivility(\Etrali\GinangBundle\Entity\Civility $idCivility = null)
00618     {
00619         $this->idCivility = $idCivility;
00620     
00621         return $this;
00622     }
00623 
00624     /**
00625      * Get idCivility
00626      *
00627      * @return \Etrali\GinangBundle\Entity\Civility 
00628      */
00629     public function getIdCivility()
00630     {
00631         return $this->idCivility;
00632     }
00633 
00634     /**
00635      * Set idNature
00636      *
00637      * @param \Etrali\GinangBundle\Entity\Nature $idNature
00638      * @return Contact
00639      */
00640     public function setIdNature(\Etrali\GinangBundle\Entity\Nature $idNature = null)
00641     {
00642         $this->idNature = $idNature;
00643     
00644         return $this;
00645     }
00646 
00647     /**
00648      * Get idNature
00649      *
00650      * @return \Etrali\GinangBundle\Entity\Nature 
00651      */
00652     public function getIdNature()
00653     {
00654         return $this->idNature;
00655     }
00656 }
 All Classes Namespaces Files Functions Variables