parent
bfda337488
commit
0cd3d4c95a
@ -1,40 +0,0 @@ |
||||
<?php |
||||
|
||||
/** |
||||
* This file is part of the <name> project. |
||||
* |
||||
* (c) <yourname> <youremail> |
||||
* |
||||
* For the full copyright and license information, please view the LICENSE |
||||
* file that was distributed with this source code. |
||||
*/ |
||||
|
||||
namespace Application\Sonata\ClassificationBundle\Entity; |
||||
|
||||
use Sonata\ClassificationBundle\Entity\BaseContext as BaseContext; |
||||
|
||||
/** |
||||
* This file has been generated by the Sonata EasyExtends bundle ( http://sonata-project.org/bundles/easy-extends ) |
||||
* |
||||
* References : |
||||
* working with object : http://www.doctrine-project.org/projects/orm/2.0/docs/reference/working-with-objects/en |
||||
* |
||||
* @author <yourname> <youremail> |
||||
*/ |
||||
class Context extends BaseContext |
||||
{ |
||||
/** |
||||
* @var integer $id |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* Get id |
||||
* |
||||
* @return integer $id |
||||
*/ |
||||
public function getId() |
||||
{ |
||||
return $this->id; |
||||
} |
||||
} |
@ -1,21 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xsi="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> |
||||
<!-- |
||||
This file has been generated by the EasyExtends bundle ( http://sonata-project.org/easy-extends ) |
||||
|
||||
References : |
||||
xsd : https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd |
||||
xml mapping : http://www.doctrine-project.org/projects/orm/2.0/docs/reference/xml-mapping/en |
||||
association mapping : http://www.doctrine-project.org/projects/orm/2.0/docs/reference/association-mapping/en |
||||
--> |
||||
<entity |
||||
name="Application\Sonata\ClassificationBundle\Entity\Context" |
||||
table="classification__context" |
||||
repository-class="Doctrine\ORM\EntityRepository"> |
||||
|
||||
<id name="id" type="string" column="id"> |
||||
<generator strategy="NONE"/> |
||||
</id> |
||||
|
||||
</entity> |
||||
</doctrine-mapping> |
Loading…
Reference in new issue