init without trunk

This commit is contained in:
Kevin Adametz 2020-07-09 12:49:32 +02:00
parent ed24ac4994
commit bb809e7233
14652 changed files with 177862 additions and 94817 deletions

View file

@ -0,0 +1,60 @@
<?php
namespace Gedmo\Translator\Entity;
use Gedmo\Translator\Translation as BaseTranslation;
use Doctrine\ORM\Mapping\Column;
use Doctrine\ORM\Mapping\MappedSuperclass;
use Doctrine\ORM\Mapping\Id;
use Doctrine\ORM\Mapping\GeneratedValue;
/**
* Entity translation class.
*
* @author Konstantin Kudryashov <ever.zet@gmail.com>
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*
* @MappedSuperclass
*/
abstract class Translation extends BaseTranslation
{
/**
* @var integer $id
*
* @Column(type="integer")
* @Id
* @GeneratedValue
*/
protected $id;
/**
* @var string $locale
*
* @Column(type="string", length=8)
*/
protected $locale;
/**
* @var string $property
*
* @Column(type="string", length=32)
*/
protected $property;
/**
* @var string $value
*
* @Column(type="text", nullable=true)
*/
protected $value;
/**
* Get id
*
* @return integer $id
*/
public function getId()
{
return $this->id;
}
}