<commit_before><?php

namespace PROCERGS\LoginCidadao\CoreBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use PROCERGS\OAuthBundle\Entity\Client;

/**
 * @ORM\Entity
 * @ORM\Table(name="`authorization`",uniqueConstraints={@ORM\UniqueConstraint(name="unique_person_client", columns={"person_id", "client_id"})})
 */
class Authorization
{

    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;

    /**
     * @ORM\Column(type="array")
     * @var array<commit_msg>here some usefull migration sql: ``` ALTER TABLE authcode RENAME TO auth_code; ALTER SEQUENCE authcode_id_seq RENAME TO auth_code_id_seq; ALTER TABLE authcode_audit RENAME TO auth_code_audit; ALTER TABLE accesstoken RENAME TO access_token; ALTER SEQUENCE accesstoken_id_seq RENAME TO access_token_id_seq; ALTER TABLE accesstoken_audit RENAME TO access_token_audit; ALTER TABLE refreshtoken RENAME TO refresh_token; ALTER SEQUENCE refreshtoken_id_seq RENAME TO refresh_token_id_seq; ALTER TABLE refreshtoken_audit RENAME TO refresh_token_audit; ALTER TABLE accesssession RENAME TO access_session; ALTER SEQUENCE accesssession_id_seq RENAME TO access_session_id_seq; ALTER TABLE accesssession_audit RENAME TO access_session_audit; ALTER TABLE personnotificationoption RENAME TO person_notification_option; ALTER SEQUENCE personnotificationoption_id_seq RENAME TO person_notification_option_id_seq; ALTER TABLE notificationtoken RENAME TO notification_token; ALTER SEQUENCE notificationtoken_id_seq RENAME TO notification_token_id_seq; ALTER TABLE notificationtoken_audit RENAME TO notification_token_audit; ALTER TABLE backgroundimage RENAME TO background_image; ALTER SEQUENCE backgroundimage_id_seq RENAME TO background_image_id_seq; ALTER TABLE sentemail RENAME TO sent_email; ALTER SEQUENCE sentemail_id_seq RENAME TO sent_email_id_seq; ALTER TABLE sentemail_audit RENAME TO sent_email_audit; ALTER TABLE "authorization" RENAME TO auth; ALTER SEQUENCE authorization_id_seq RENAME TO auth_id_seq; ALTER TABLE authorization_audit RENAME TO auth_audit; ```<commit_after><?php

namespace PROCERGS\LoginCidadao\CoreBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use PROCERGS\OAuthBundle\Entity\Client;

/**
 * @ORM\Entity
 * @ORM\Table(name="auth",uniqueConstraints={@ORM\UniqueConstraint(name="unique_person_client", columns={"person_id", "client_id"})})
 */
class Authorization
{

    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;

    /**
     * @ORM\Column(type="array")
     * @var array
{'fraction_non_alphanumeric': 0.08432349559218091, 'fraction_numerical': 0.0, 'mean_word_length': 6.111716621253406, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5215916', 'n_tokens_mistral': 855, 'n_tokens_neox': 815, 'n_words': 200}