Entity\SearchEngineRef:
  type: entity
  table: search_engine_ref
  repositoryClass: Entity\Repository\SearchEngineRefRepository
  fields:
    id:
      id: true
      type: integer
      unsigned: false
      nullable: false
      generator:
        strategy: IDENTITY
    course_code:
      type: string
      length: 40
      fixed: false
      nullable: false
    tool_id:
      type: string
      length: 100
      fixed: false
      nullable: false
    ref_id_high_level:
      type: integer
      unsigned: false
      nullable: false
    ref_id_second_level:
      type: integer
      unsigned: false
      nullable: true
    search_did:
      type: integer
      unsigned: false
      nullable: false
  lifecycleCallbacks:
    prePersist:
      - before_save
