Gina Next Generation
 All Classes Namespaces Files Functions Variables
ContactType.php
Go to the documentation of this file.
00001 <?php
00002 
00003 namespace Etrali\GinangBundle\Entity;
00004 use Symfony\Component\Validator\Constraints as Assert;
00005 use Doctrine\ORM\Mapping as ORM;
00006 
00007 /**
00008  * ContactType
00009  *
00010  * @ORM\Table(name="contact_type")
00011  * @ORM\Entity
00012  */
00013 class ContactType
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_contact_type", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="IDENTITY")
00021      */
00022     private $idContactType;
00023 
00024     /**
00025      * @var string
00026      *
00027      * @ORM\Column(name="cd_contact_type", type="string", length=15, nullable=false)
00028      * @Assert\NotBlank()
00029      * @Assert\MaxLength(15)
00030      */
00031     private $cdContactType;
00032 
00033     /**
00034      * @var string
00035      *
00036      * @ORM\Column(name="lb_contact_type", type="string", length=100, nullable=false)
00037      * @Assert\NotBlank()
00038      * @Assert\MaxLength(30)
00039      */
00040     private $lbContactType;
00041 
00042     /**
00043      * @var boolean
00044      *
00045      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00046      */
00047     private $blDeactivated=true;
00048 
00049     /**
00050      * @var \DateTime
00051      *
00052      * @ORM\Column(name="dt_create", type="datetime", nullable=true)
00053      * @Assert\DateTime()
00054      */
00055     private $dtCreate;
00056 
00057     /**
00058      * @var \DateTime
00059      *
00060      * @ORM\Column(name="dt_update", type="datetime", nullable=true)
00061      * @Assert\DateTime()
00062      */
00063     private $dtUpdate;
00064 
00065     /**
00066      * @var \User
00067      *
00068      * @ORM\ManyToOne(targetEntity="User")
00069      * @ORM\JoinColumns({
00070      *   @ORM\JoinColumn(name="id_user_create_by", referencedColumnName="id_user")
00071      * })
00072      */
00073     private $idUserCreateBy;
00074 
00075     /**
00076      * @var \User
00077      *
00078      * @ORM\ManyToOne(targetEntity="User")
00079      * @ORM\JoinColumns({
00080      *   @ORM\JoinColumn(name="id_user_update_by", referencedColumnName="id_user")
00081      * })
00082      */
00083     private $idUserUpdateBy;
00084 
00085 
00086 
00087     /**
00088      * Get idContactType
00089      *
00090      * @return integer 
00091      */
00092     public function getIdContactType()
00093     {
00094         return $this->idContactType;
00095     }
00096 
00097     /**
00098      * Set cdContactType
00099      *
00100      * @param string $cdContactType
00101      * @return ContactType
00102      */
00103     public function setCdContactType($cdContactType)
00104     {
00105         $this->cdContactType = $cdContactType;
00106     
00107         return $this;
00108     }
00109 
00110     /**
00111      * Get cdContactType
00112      *
00113      * @return string 
00114      */
00115     public function getCdContactType()
00116     {
00117         return $this->cdContactType;
00118     }
00119 
00120     /**
00121      * Set lbContactType
00122      *
00123      * @param string $lbContactType
00124      * @return ContactType
00125      */
00126     public function setLbContactType($lbContactType)
00127     {
00128         $this->lbContactType = $lbContactType;
00129     
00130         return $this;
00131     }
00132 
00133     /**
00134      * Get lbContactType
00135      *
00136      * @return string 
00137      */
00138     public function getLbContactType()
00139     {
00140         return $this->lbContactType;
00141     }
00142 
00143     /**
00144      * Set blDeactivated
00145      *
00146      * @param boolean $blDeactivated
00147      * @return ContactType
00148      */
00149     public function setBlDeactivated($blDeactivated)
00150     {
00151         $this->blDeactivated = $blDeactivated;
00152     
00153         return $this;
00154     }
00155 
00156     /**
00157      * Get blDeactivated
00158      *
00159      * @return boolean 
00160      */
00161     public function getBlDeactivated()
00162     {
00163         return $this->blDeactivated;
00164     }
00165 
00166     /**
00167      * Set dtCreate
00168      *
00169      * @param \DateTime $dtCreate
00170      * @return ContactType
00171      */
00172     public function setDtCreate($dtCreate)
00173     {
00174         $this->dtCreate = $dtCreate;
00175     
00176         return $this;
00177     }
00178 
00179     /**
00180      * Get dtCreate
00181      *
00182      * @return \DateTime 
00183      */
00184     public function getDtCreate()
00185     {
00186         return $this->dtCreate;
00187     }
00188 
00189     /**
00190      * Set dtUpdate
00191      *
00192      * @param \DateTime $dtUpdate
00193      * @return ContactType
00194      */
00195     public function setDtUpdate($dtUpdate)
00196     {
00197         $this->dtUpdate = $dtUpdate;
00198     
00199         return $this;
00200     }
00201 
00202     /**
00203      * Get dtUpdate
00204      *
00205      * @return \DateTime 
00206      */
00207     public function getDtUpdate()
00208     {
00209         return $this->dtUpdate;
00210     }
00211 
00212     /**
00213      * Set idUserCreateBy
00214      *
00215      * @param \Etrali\GinangBundle\Entity\User $idUserCreateBy
00216      * @return ContactType
00217      */
00218     public function setIdUserCreateBy(\Etrali\GinangBundle\Entity\User $idUserCreateBy = null)
00219     {
00220         $this->idUserCreateBy = $idUserCreateBy;
00221     
00222         return $this;
00223     }
00224 
00225     /**
00226      * Get idUserCreateBy
00227      *
00228      * @return \Etrali\GinangBundle\Entity\User 
00229      */
00230     public function getIdUserCreateBy()
00231     {
00232         return $this->idUserCreateBy;
00233     }
00234 
00235     /**
00236      * Set idUserUpdateBy
00237      *
00238      * @param \Etrali\GinangBundle\Entity\User $idUserUpdateBy
00239      * @return ContactType
00240      */
00241     public function setIdUserUpdateBy(\Etrali\GinangBundle\Entity\User $idUserUpdateBy = null)
00242     {
00243         $this->idUserUpdateBy = $idUserUpdateBy;
00244     
00245         return $this;
00246     }
00247 
00248     /**
00249      * Get idUserUpdateBy
00250      *
00251      * @return \Etrali\GinangBundle\Entity\User 
00252      */
00253     public function getIdUserUpdateBy()
00254     {
00255         return $this->idUserUpdateBy;
00256     }
00257 }
 All Classes Namespaces Files Functions Variables