LogEntry.php 778 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace Gedmo\Loggable\Entity;
  3. use Doctrine\ORM\Mapping\Table;
  4. use Doctrine\ORM\Mapping\Index;
  5. use Doctrine\ORM\Mapping\Entity;
  6. /**
  7. * Gedmo\Loggable\Entity\LogEntry
  8. *
  9. * @Table(
  10. * name="ext_log_entries",
  11. * indexes={
  12. * @index(name="log_class_lookup_idx", columns={"object_class"}),
  13. * @index(name="log_date_lookup_idx", columns={"logged_at"}),
  14. * @index(name="log_user_lookup_idx", columns={"username"}),
  15. * @index(name="log_version_lookup_idx", columns={"object_id", "object_class", "version"})
  16. * }
  17. * )
  18. * @Entity(repositoryClass="Gedmo\Loggable\Entity\Repository\LogEntryRepository")
  19. */
  20. class LogEntry extends MappedSuperclass\AbstractLogEntry
  21. {
  22. /**
  23. * All required columns are mapped through inherited superclass
  24. */
  25. }