<commit_before># This file belongs to Kreta.
# The source code of application includes a LICENSE file
# with all information about license.
#
# @author benatespina <<EMAIL>>
# @author gorkalaucirica <<EMAIL>>

Kreta\Component\User\Model\User:
    type: entity
    repositoryClass: Kreta\Component\User\Repository\UserRepository
    table: user
    id:
        id:
            type: string
            generator:
                strategy: UUID
    fields:
        createdAt:
            column: created_at
            type: datetime
        firstName:
            column: first_name
            type: string
            length: 100
            nullable: true
        lastName:
            column: last_name
            type: string
            length: 100
            nullable: true
    oneToOne:
        photo:
            targetEntity: Kreta\Component\Media\Model\Interfaces\MediaInterface
            joinColumn:
                name: photo
                referencedColumnName: id
            cascade: ['persist', 'remove']
    attributeOverride:
        email:
            type: string
            length: 255
            nullable: true
        emailCanonical:
            column: email_canonical
            type: string
            length: 255
            nullable: true
        username:
            type: string
            length: 255
            nullable: true
        usernameCanonical:
            column: username_canonical
            type: string
            length: 255
            nullable: true<commit_msg>Removed unnecessary override User mappings<commit_after># This file belongs to Kreta.
# The source code of application includes a LICENSE file
# with all information about license.
#
# @author benatespina <<EMAIL>>
# @author gorkalaucirica <<EMAIL>>

Kreta\Component\User\Model\User:
    type: entity
    repositoryClass: Kreta\Component\User\Repository\UserRepository
    table: user
    id:
        id:
            type: string
            generator:
                strategy: UUID
    fields:
        createdAt:
            column: created_at
            type: datetime
        firstName:
            column: first_name
            type: string
            length: 100
            nullable: true
        lastName:
            column: last_name
            type: string
            length: 100
            nullable: true
    oneToOne:
        photo:
            targetEntity: Kreta\Component\Media\Model\Interfaces\MediaInterface
            joinColumn:
                name: photo
                referencedColumnName: id
            cascade: ['persist', 'remove']
{'fraction_non_alphanumeric': 0.062138170590505595, 'fraction_numerical': 0.009262832883056734, 'mean_word_length': 1.5461689587426326, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4906480', 'n_tokens_mistral': 668, 'n_tokens_neox': 634, 'n_words': 188}