SerializationModel.php 432B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace Doctrine\Tests\Models\Generic;
  3. /**
  4. * @Entity
  5. * @Table(name="serialize_model")
  6. */
  7. class SerializationModel
  8. {
  9. /**
  10. * @Id @Column(type="integer")
  11. * @GeneratedValue(strategy="AUTO")
  12. */
  13. public $id;
  14. /**
  15. * @Column(name="the_array", type="array", nullable=true)
  16. */
  17. public $array;
  18. /**
  19. * @Column(name="the_obj", type="object", nullable=true)
  20. */
  21. public $object;
  22. }