Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/src/CoreBundle/Entity/Legal.php

150 lines
2.6 KiB

<?php
declare(strict_types=1);
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Legal.
*/
#[ORM\Table(name: 'legal')]
#[ORM\Entity(repositoryClass: \Chamilo\CoreBundle\Repository\LegalRepository::class)]
class Legal
{
#[ORM\Column(name: 'id', type: 'integer')]
#[ORM\Id]
#[ORM\GeneratedValue]
protected ?int $id = null;
#[ORM\Column(name: 'date', type: 'integer', nullable: false)]
protected int $date;
#[ORM\Column(name: 'content', type: 'text', nullable: true)]
protected ?string $content = null;
#[ORM\Column(name: 'type', type: 'integer', nullable: false)]
protected int $type;
#[ORM\Column(name: 'changes', type: 'text', nullable: false)]
protected string $changes;
#[ORM\Column(name: 'version', type: 'integer', nullable: true)]
protected ?int $version = null;
#[ORM\Column(name: 'language_id', type: 'integer')]
protected int $languageId;
/**
* @return int
*/
public function getId()
{
return $this->id;
}
public function setDate(int $date): self
{
$this->date = $date;
return $this;
}
/**
* Get date.
*
* @return int
*/
public function getDate()
{
return $this->date;
}
public function setContent(string $content): self
{
$this->content = $content;
return $this;
}
/**
* Get content.
*
* @return string
*/
public function getContent()
{
return $this->content;
}
public function setType(int $type): self
{
$this->type = $type;
return $this;
}
/**
* Get type.
*
* @return int
*/
public function getType()
{
return $this->type;
}
public function setChanges(string $changes): self
{
$this->changes = $changes;
return $this;
}
/**
* Get changes.
*
* @return string
*/
public function getChanges()
{
return $this->changes;
}
public function setVersion(int $version): self
{
$this->version = $version;
return $this;
}
/**
* Get version.
*
* @return int
*/
public function getVersion()
{
return $this->version;
}
public function setLanguageId(int $languageId): self
{
$this->languageId = $languageId;
return $this;
}
/**
* Get languageId.
*
* @return int
*/
public function getLanguageId()
{
return $this->languageId;
}
}