Commit 12257088 authored by Mat's avatar Mat
Browse files

doctrine:generate:entity: Info et Lettre

parent b2af2d78
File mode changed from 100644 to 100755
<?php
namespace PotageBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Info
*
* @ORM\Table(name="info")
* @ORM\Entity(repositoryClass="PotageBundle\Repository\InfoRepository")
*/
class Info
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
}
<?php
namespace PotageBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Lettre
*
* @ORM\Table(name="lettre")
* @ORM\Entity(repositoryClass="PotageBundle\Repository\LettreRepository")
*/
class Lettre
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
}
<?php
namespace PotageBundle\Repository;
/**
* InfoRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class InfoRepository extends \Doctrine\ORM\EntityRepository
{
}
<?php
namespace PotageBundle\Repository;
/**
* LettreRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class LettreRepository extends \Doctrine\ORM\EntityRepository
{
}
File mode changed from 100644 to 100755
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment