123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- <?php
- use Doctrine\ORM\Mapping as ORM;
- /**
- * EntityLegal
- *
- * @Table(name="legal")
- * @Entity
- */
- class EntityLegal
- {
- /**
- * @var integer
- *
- * @Column(name="legal_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="NONE")
- */
- private $legalId;
- /**
- * @var integer
- *
- * @Column(name="language_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="NONE")
- */
- private $languageId;
- /**
- * @var integer
- *
- * @Column(name="date", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $date;
- /**
- * @var string
- *
- * @Column(name="content", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $content;
- /**
- * @var integer
- *
- * @Column(name="type", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $type;
- /**
- * @var string
- *
- * @Column(name="changes", type="text", precision=0, scale=0, nullable=false, unique=false)
- */
- private $changes;
- /**
- * @var integer
- *
- * @Column(name="version", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $version;
- /**
- * Set legalId
- *
- * @param integer $legalId
- * @return EntityLegal
- */
- public function setLegalId($legalId)
- {
- $this->legalId = $legalId;
- return $this;
- }
- /**
- * Get legalId
- *
- * @return integer
- */
- public function getLegalId()
- {
- return $this->legalId;
- }
- /**
- * Set languageId
- *
- * @param integer $languageId
- * @return EntityLegal
- */
- public function setLanguageId($languageId)
- {
- $this->languageId = $languageId;
- return $this;
- }
- /**
- * Get languageId
- *
- * @return integer
- */
- public function getLanguageId()
- {
- return $this->languageId;
- }
- /**
- * Set date
- *
- * @param integer $date
- * @return EntityLegal
- */
- public function setDate($date)
- {
- $this->date = $date;
- return $this;
- }
- /**
- * Get date
- *
- * @return integer
- */
- public function getDate()
- {
- return $this->date;
- }
- /**
- * Set content
- *
- * @param string $content
- * @return EntityLegal
- */
- public function setContent($content)
- {
- $this->content = $content;
- return $this;
- }
- /**
- * Get content
- *
- * @return string
- */
- public function getContent()
- {
- return $this->content;
- }
- /**
- * Set type
- *
- * @param integer $type
- * @return EntityLegal
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
- /**
- * Get type
- *
- * @return integer
- */
- public function getType()
- {
- return $this->type;
- }
- /**
- * Set changes
- *
- * @param string $changes
- * @return EntityLegal
- */
- public function setChanges($changes)
- {
- $this->changes = $changes;
- return $this;
- }
- /**
- * Get changes
- *
- * @return string
- */
- public function getChanges()
- {
- return $this->changes;
- }
- /**
- * Set version
- *
- * @param integer $version
- * @return EntityLegal
- */
- public function setVersion($version)
- {
- $this->version = $version;
- return $this;
- }
- /**
- * Get version
- *
- * @return integer
- */
- public function getVersion()
- {
- return $this->version;
- }
- }
|