---
Mapping\Fixture\Yaml\User:
  type: entity
  gedmo:
    translation:
      entity: Translatable\Fixture\PersonTranslation
      locale: localeField
  table: users
  id:
    id:
      type: integer
      generator:
        strategy: AUTO
  fields:
    password:
      type: string
      length: 32
      gedmo:
        - translatable
    username:
      type: string
      length: 128
      gedmo:
        - translatable
    company:
      type: string
      length: 128
      nullable: true
      gedmo:
          translatable:
              fallback: true
  indexes:
    search_idx:
      columns: username
