Entity.Admin.dcm.yml 373 B

12345678910111213141516171819
  1. Entity\Admin:
  2. type: entity
  3. table: admin
  4. repositoryClass: Entity\Repository\AdminRepository
  5. fields:
  6. id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. user_id:
  14. type: integer
  15. unsigned: false
  16. nullable: false
  17. lifecycleCallbacks:
  18. prePersist:
  19. - before_save