Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use Doctrine\ORM\Mapping as ORM;
- /**
- * @ORM\Entity
- * @ORM\Table(name="product")
- */
- class Page
- {
- /**
- * @ORM\Id
- * @ORM\Column(type="integer")
- * @ORM\GeneratedValue(strategy="AUTO")
- */
- protected $id;
- /**
- * @ORM\Column(type="string", length=100)
- */
- protected $name;
- /**
- * @ORM\Column(type="string", length=100)
- */
- protected $slug;
- /**
- * @ORM\Column(type="string", length=200)
- */
- protected $description;
- /**
- * @ORM\Column(type="string", length=100)
- */
- protected $title;
- /**
- * @ORM\Column(type="text")
- */
- protected $body;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement