Entity.TrackCCountries.dcm.yml 582 B

1234567891011121314151617181920212223242526272829
  1. Entity\TrackCCountries:
  2. type: entity
  3. table: track_c_countries
  4. repositoryClass: Entity\Repository\TrackCCountriesRepository
  5. fields:
  6. id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. code:
  14. type: string
  15. length: 40
  16. fixed: false
  17. nullable: false
  18. country:
  19. type: string
  20. length: 50
  21. fixed: false
  22. nullable: false
  23. counter:
  24. type: integer
  25. unsigned: false
  26. nullable: false
  27. lifecycleCallbacks:
  28. prePersist:
  29. - before_save