Gina Next Generation
 All Classes Namespaces Files Functions Variables
Civility.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  * Civility
00009  *
00010  * @ORM\Table(name="civility")
00011  * @ORM\Entity
00012  */
00013 class Civility
00014 {
00015     /**
00016      * @var integer
00017      *
00018      * @ORM\Column(name="id_civility", type="integer", nullable=false)
00019      * @ORM\Id
00020      * @ORM\GeneratedValue(strategy="AUTO")
00021      */
00022     private $idCivility;
00023 
00024     /**
00025      * @var string
00026      *
00027      * @ORM\Column(name="cd_civility", type="string", length=15, nullable=false)
00028      * @Assert\NotBlank()
00029      * @Assert\MaxLength(10)
00030      */
00031     private $cdCivility;
00032 
00033     /**
00034      * @var string
00035      *
00036      * @ORM\Column(name="lb_civility", type="string", length=100, nullable=true)
00037      * @Assert\NotBlank()
00038      * @Assert\MaxLength(30)
00039      */
00040     private $lbCivility;
00041 
00042     /**
00043      * @var boolean
00044      *
00045      * @ORM\Column(name="bl_deactivated", type="boolean", nullable=true)
00046      */
00047     private $blDeactivated=true;
00048 
00049 
00050 
00051     /**
00052      * Get idCivility
00053      *
00054      * @return integer 
00055      */
00056     public function getIdCivility()
00057     {
00058         return $this->idCivility;
00059     }
00060 
00061     /**
00062      * Set cdCivility
00063      *
00064      * @param string $cdCivility
00065      * @return Civility
00066      */
00067     public function setCdCivility($cdCivility)
00068     {
00069         $this->cdCivility = $cdCivility;
00070     
00071         return $this;
00072     }
00073 
00074     /**
00075      * Get cdCivility
00076      *
00077      * @return string 
00078      */
00079     public function getCdCivility()
00080     {
00081         return $this->cdCivility;
00082     }
00083 
00084     /**
00085      * Set lbCivility
00086      *
00087      * @param string $lbCivility
00088      * @return Civility
00089      */
00090     public function setLbCivility($lbCivility)
00091     {
00092         $this->lbCivility = $lbCivility;
00093     
00094         return $this;
00095     }
00096 
00097     /**
00098      * Get lbCivility
00099      *
00100      * @return string 
00101      */
00102     public function getLbCivility()
00103     {
00104         return $this->lbCivility;
00105     }
00106 
00107     /**
00108      * Set blDeactivated
00109      *
00110      * @param boolean $blDeactivated
00111      * @return Civility
00112      */
00113     public function setBlDeactivated($blDeactivated)
00114     {
00115         $this->blDeactivated = $blDeactivated;
00116     
00117         return $this;
00118     }
00119 
00120     /**
00121      * Get blDeactivated
00122      *
00123      * @return boolean 
00124      */
00125     public function getBlDeactivated()
00126     {
00127         return $this->blDeactivated;
00128     }
00129 }
 All Classes Namespaces Files Functions Variables