Entity\RoleGroup:
  type: entity
  table: c_role_group
  repositoryClass: Entity\Repository\RoleGroupRepository
  fields:
    id:
      id: true
      type: integer
      unsigned: false
      nullable: false
    c_id:
      id: true
      type: integer
      unsigned: false
      nullable: false
    group_id:
      id: true
      type: integer
      unsigned: false
      nullable: false
    role_id:
      type: integer
      unsigned: false
      nullable: false
    scope:
      type: string
      length: 20
      fixed: false
      nullable: false
  lifecycleCallbacks:
    prePersist:
      - before_save
