You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
217 lines
3.2 KiB
217 lines
3.2 KiB
<?php
|
|
|
|
namespace Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
*
|
|
* @license see /license.txt
|
|
* @author autogenerated
|
|
*/
|
|
class Legal extends \Entity
|
|
{
|
|
/**
|
|
* @return \Entity\Repository\LegalRepository
|
|
*/
|
|
public static function repository(){
|
|
return \Entity\Repository\LegalRepository::instance();
|
|
}
|
|
|
|
/**
|
|
* @return \Entity\Legal
|
|
*/
|
|
public static function create(){
|
|
return new self();
|
|
}
|
|
|
|
/**
|
|
* @var integer $legal_id
|
|
*/
|
|
protected $legal_id;
|
|
|
|
/**
|
|
* @var integer $language_id
|
|
*/
|
|
protected $language_id;
|
|
|
|
/**
|
|
* @var integer $date
|
|
*/
|
|
protected $date;
|
|
|
|
/**
|
|
* @var text $content
|
|
*/
|
|
protected $content;
|
|
|
|
/**
|
|
* @var integer $type
|
|
*/
|
|
protected $type;
|
|
|
|
/**
|
|
* @var text $changes
|
|
*/
|
|
protected $changes;
|
|
|
|
/**
|
|
* @var integer $version
|
|
*/
|
|
protected $version;
|
|
|
|
|
|
/**
|
|
* Set legal_id
|
|
*
|
|
* @param integer $value
|
|
* @return Legal
|
|
*/
|
|
public function set_legal_id($value)
|
|
{
|
|
$this->legal_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get legal_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_legal_id()
|
|
{
|
|
return $this->legal_id;
|
|
}
|
|
|
|
/**
|
|
* Set language_id
|
|
*
|
|
* @param integer $value
|
|
* @return Legal
|
|
*/
|
|
public function set_language_id($value)
|
|
{
|
|
$this->language_id = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get language_id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_language_id()
|
|
{
|
|
return $this->language_id;
|
|
}
|
|
|
|
/**
|
|
* Set date
|
|
*
|
|
* @param integer $value
|
|
* @return Legal
|
|
*/
|
|
public function set_date($value)
|
|
{
|
|
$this->date = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get date
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_date()
|
|
{
|
|
return $this->date;
|
|
}
|
|
|
|
/**
|
|
* Set content
|
|
*
|
|
* @param text $value
|
|
* @return Legal
|
|
*/
|
|
public function set_content($value)
|
|
{
|
|
$this->content = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get content
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_content()
|
|
{
|
|
return $this->content;
|
|
}
|
|
|
|
/**
|
|
* Set type
|
|
*
|
|
* @param integer $value
|
|
* @return Legal
|
|
*/
|
|
public function set_type($value)
|
|
{
|
|
$this->type = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get type
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_type()
|
|
{
|
|
return $this->type;
|
|
}
|
|
|
|
/**
|
|
* Set changes
|
|
*
|
|
* @param text $value
|
|
* @return Legal
|
|
*/
|
|
public function set_changes($value)
|
|
{
|
|
$this->changes = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get changes
|
|
*
|
|
* @return text
|
|
*/
|
|
public function get_changes()
|
|
{
|
|
return $this->changes;
|
|
}
|
|
|
|
/**
|
|
* Set version
|
|
*
|
|
* @param integer $value
|
|
* @return Legal
|
|
*/
|
|
public function set_version($value)
|
|
{
|
|
$this->version = $value;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get version
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function get_version()
|
|
{
|
|
return $this->version;
|
|
}
|
|
} |