Entity.Groups.dcm.yml 932 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Entity\Groups:
  2. type: entity
  3. table: groups
  4. repositoryClass: Entity\Repository\GroupsRepository
  5. fields:
  6. id:
  7. id: true
  8. type: integer
  9. unsigned: false
  10. nullable: false
  11. generator:
  12. strategy: IDENTITY
  13. name:
  14. type: string
  15. length: 255
  16. fixed: false
  17. nullable: false
  18. description:
  19. type: string
  20. length: 255
  21. fixed: false
  22. nullable: false
  23. picture_uri:
  24. type: string
  25. length: 255
  26. fixed: false
  27. nullable: false
  28. url:
  29. type: string
  30. length: 255
  31. fixed: false
  32. nullable: false
  33. visibility:
  34. type: integer
  35. unsigned: false
  36. nullable: false
  37. updated_on:
  38. type: string
  39. length: 255
  40. fixed: false
  41. nullable: false
  42. created_on:
  43. type: string
  44. length: 255
  45. fixed: false
  46. nullable: false
  47. lifecycleCallbacks:
  48. prePersist:
  49. - before_save