Entity\RoleUser:
  type: entity
  table: c_role_user
  repositoryClass: Entity\Repository\RoleUserRepository
  fields:
    c_id:
      id: true
      type: integer
      unsigned: false
      nullable: false
    role_id:
      id: true
      type: integer
      unsigned: false
      nullable: false
    user_id:
      id: true
      type: integer
      unsigned: false
      nullable: false
    scope:
      type: string
      length: 20
      fixed: false
      nullable: false
  lifecycleCallbacks:
    prePersist:
      - before_save
