<commit_before><?php

namespace Reurbano\DealBundle\Document;

use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;

/**
 * Representa uma Oferta
 *
 * @author   <NAME> <<EMAIL>>
 *
 * @ODM\Document(
 *   collection="offer",
 *   repositoryClass="Reurbano\DealBundle\Document\OfferRepository"
 * )
 */
class Offer
{
    /**
     * ID da Oferta
     *
     * @var string
     * @ODM\Id
     */
    protected $id;
    
    /**
     * Preço original da oferta
     *
     * @ODM\ReferenceOne(targetDocument="Reurbano\DealBundle\Document\Source")
     */
    protected $source;
    
    /**
     * Cidade da oferta
     *
     * @ODM\ReferenceOne(targetDocument="Reurbano\CoreBundle\Document\City")
     */
    protected $city;
    
}<commit_msg>Novo documento que ficará entre o Deal e o Source/City<commit_after><?php

namespace Reurbano\DealBundle\Document;

use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;

/**
 * Representa uma Oferta
 *
 * @author   <NAME> <<EMAIL>>
 *
 * @ODM\EmbeddedDocument
 */
class Offer
{
    /**
     * Preço original da oferta
     *
     * @ODM\ReferenceOne(targetDocument="Reurbano\DealBundle\Document\Source")
     */
    protected $source;
    
    /**
     * Cidade da oferta
     *
     * @ODM\ReferenceOne(targetDocument="Reurbano\CoreBundle\Document\City")
     */
    protected $city;
    

    /**
     * Set source
     *
     * @param Reurbano\DealBundle\Document\Source $source
     */
    public function setSource(\Reurbano\DealBundle\Document\Source $source)
    {
        $this->source = $source;
    }

    /**
     * Get source
     *
     * @return Reurbano\DealBundle\Document\Source $source
     */
    public function getSource()
    {
        return $this->source;
    }

    /**
     * Set city
     *
     * @param Reurbano\CoreBundle\Document\City $city
     */
    public function setCity(\Reurbano\CoreBundle\Document\City $city)
    {
        $this->city = $city;
    }

    /**
     * Get city
     *
     * @return Reurbano\CoreBundle\Document\City $city
     */
    public function getCity()
    {
        return $this->city;
    }
}
{'fraction_non_alphanumeric': 0.13149118627918055, 'fraction_numerical': 0.0, 'mean_word_length': 2.201219512195122, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '4543678', 'n_tokens_mistral': 710, 'n_tokens_neox': 698, 'n_words': 119}