Guest User

Child Bundle - Before Generation

a guest
Aug 7th, 2013
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1. <?php
  2.  
  3. namespace Company\ChildBundle\Entity;
  4.  
  5. use Doctrine\ORM\Mapping as ORM;
  6. use Company\CoreBundle\Entity as Core;
  7.  
  8. /**
  9.  * Package
  10.  *
  11.  * @ORM\Table()
  12.  * @ORM\Entity
  13.  */
  14. class ChildPackage extends Core\Package
  15. {
  16.     /**
  17.      * @var land
  18.      *
  19.      * @ORM\ManyToOne(targetEntity="ChildLand")
  20.      * @ORM\JoinColumn(name="land_id", referencedColumnName="id")
  21.      */
  22.     private $land;
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment