<commit_before><?php

namespace LifeLab\RestBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Allergy
 *
 * @ORM\Table()
 * @ORM\Entity
 */
class Allergy
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string")
     */
    private $name;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set name
     *
     * @param string $name
     * @return Allergy
     */
    public function setName($name)
    {<commit_msg>Tagged Allergy entity fields for JMS serialization<commit_after><?php

namespace LifeLab\RestBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

use JMS\Serializer\Annotation\Type;

/**
 * Allergy
 *
 * @ORM\Table()
 * @ORM\Entity
 */
class Allergy
{
    /**
     * @var integer
     * @Type("integer")
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     * @Type("string")
     *
     * @ORM\Column(name="name", type="string")
     */
    private $name;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set name
     *
     * @param string $name
     * @return Allergy
     */
    public function setName($name)
    {
{'fraction_non_alphanumeric': 0.16005204944697463, 'fraction_numerical': 0.0, 'mean_word_length': 1.832412523020258, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6528503', 'n_tokens_mistral': 538, 'n_tokens_neox': 522, 'n_words': 100}