Entity\UsergroupRelCourse:
  type: entity
  table: usergroup_rel_course
  repositoryClass: Entity\Repository\UsergroupRelCourseRepository
  fields:
    id:
      id: true
      type: integer
      unsigned: false
      nullable: false
      generator:
        strategy: IDENTITY
    usergroup_id:
      type: integer
      unsigned: false
      nullable: false
    course_id:
      type: integer
      unsigned: false
      nullable: false
  lifecycleCallbacks:
    prePersist:
      - before_save
