<commit_before><?php

namespace JwPersistentUserDoctrine\Model;

use Doctrine\ORM\Mapping as ORM;

use JwPersistentUser\Model\SerieTokenInterface;

/**
 * @ORM\Entity
 * @ORM\Table(name="userSerieToken")
 */
class SerieToken implements SerieTokenInterface
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     *
     * @var int
     */
    protected $userId;

    /**
     * @ORM\Id
     * @ORM\Column(type="string", length=10)
     *
     * @var string
     */
    protected $serie;

    /**
     * @ORM\Column(type="string", length=10)
     *
     * @var string
     */
    protected $token;

    /**
     * @ORM\Column(type="datetime")
     *
     * @var \DateTime
     */
    protected $expiresAt;

    /**
     * @ORM\Column(type="string", length=45, nullable=true)
     *
     * @var string|null
     */
    protected $ipAddress;

    /**
     * @ORM\Column(type="text", nullable=true)
     *
     * @var string|null
     */
    protected $userAgent;

    public function getSerie()
    {
        return $this->serie;
    }

    public function setSerie($serie)
    {
        $this->serie = $serie;
    }

    public function getToken()
    {
        return $this->token;
    }

    public function setToken($token)
    {
        $this->token = $token;
    }

    public function getUserId()
    {
        return $this->userId;
    }

    public function setUserId($userId)
    {
        $this->userId = $userId;
    }

    public function getExpiresAt()
    {
        return $this->expiresAt;
    }

    public function setExpiresAt($expiresAt)
    {
        $this->expiresAt = $expiresAt;
    }

    public function getIpAddress()
    {
        return $this->ipAddress;
    }

    public function setIpAddress($ipAddress)
    {
        $this->ipAddress = $ipAddress;
    }

    public function setUserAgent($userAgent)
    {
        $this->userAgent = $userAgent;
    }

    public function getUserAgent()
    {
        return $this->userAgent;
    }
}<commit_msg>Drop user agent and IP adress.<commit_after><?php

namespace JwPersistentUserDoctrine\Model;

use Doctrine\ORM\Mapping as ORM;

use JwPersistentUser\Model\SerieTokenInterface;

/**
 * @ORM\Entity
 * @ORM\Table(name="userSerieToken")
 */
class SerieToken implements SerieTokenInterface
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     *
     * @var int
     */
    protected $userId;

    /**
     * @ORM\Id
     * @ORM\Column(type="string", length=10)
     *
     * @var string
     */
    protected $serie;

    /**
     * @ORM\Column(type="string", length=10)
     *
     * @var string
     */
    protected $token;

    /**
     * @ORM\Column(type="datetime")
     *
     * @var \DateTime
     */
    protected $expiresAt;

    public function getSerie()
    {
        return $this->serie;
    }

    public function setSerie($serie)
    {
        $this->serie = $serie;
    }

    public function getToken()
    {
        return $this->token;
    }

    public function setToken($token)
    {
        $this->token = $token;
    }

    public function getUserId()
    {
        return $this->userId;
    }

    public function setUserId($userId)
    {
        $this->userId = $userId;
    }

    public function getExpiresAt()
    {
        return $this->expiresAt;
    }

    public function setExpiresAt($expiresAt)
    {
        $this->expiresAt = $expiresAt;
    }
}
{'fraction_non_alphanumeric': 0.13730723606168446, 'fraction_numerical': 0.0029655990510083037, 'mean_word_length': 1.9902482269503545, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, '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': '7583130', 'n_tokens_mistral': 1116, 'n_tokens_neox': 1111, 'n_words': 196}