<commit_before><?php

namespace mgate\SuiviBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * mgate\SuiviBundle\Entity\AvMission
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="mgate\SuiviBundle\Entity\AvMissionRepository")
 */
class AvMission extends DocType
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;
    
    /**
     * @var Mission
     * @ORM\ManyToOne(targetEntity="mgate\SuiviBundle\Entity\Mission")
     */
    private $mission;
    
    /**
     * @var integer $nouvelleRepartition
     * @ORM\OneToMany(targetEntity="mgate\SuiviBundle\Entity\RepartitionJEH", mappedBy="avMission", cascade={"persist","remove"})
     */
    private $nouvelleRepartition;
    
    /**
     * @var interger $nouveauPourcentage
     * @ORM\Column(name="nouveauPourcentage", type="integer")
     */
    private $nouveauPourcentage;

    /**
     * @var integer $differentielDelai
     * @ORM\Column(name="differentielDelai", type="integer")
     */
    private $differentielDelai;
    
    /**
     * @ORM\ManyToOne(targetEntity="Av", inversedBy="avenantsMissions")
     */
    private $avenant;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }
    /**
     * Constructor
     */
    public function __construct()
    {
        $this->nouvelleRepartition = new \Doctrine\Common\Collections\ArrayCollection();
    }
    
    /**
     * Set differentielDelai
     *
     * @param integer $differentielDelai
     * @return AvMission
     */
    public function setDifferentielDelai($differentielDelai)
    {
        $this->differentielDelai = $differentielDelai;
    
        return $this;
    }

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

    /**
     * Add nouvelleRepartition
     *
     * @param \mgate\SuiviBundle\Entity\RepartitionJEH $nouvelleRepartition
     * @return AvMission
     */
    public function addNouvelleRepartition(\mgate\SuiviBundle\Entity\RepartitionJEH $nouvelleRepartition)
    {
        $this->nouvelleRepartition[] = $nouvelleRepartition;
    
        return $this;
    }

    /**
     * Remove nouvelleRepartition
     *
     * @param \mgate\SuiviBundle\Entity\RepartitionJEH $nouvelleRepartition
     */
    public function removeNouvelleRepartition(\mgate\SuiviBundle\Entity\RepartitionJEH $nouvelleRepartition)
    {
        $this->nouvelleRepartition->removeElement($nouvelleRepartition);
    }

    /**
     * Get nouvelleRepartition
     *
     * @return \Doctrine\Common\Collections\Collection 
     */
    public function getNouvelleRepartition()
    {
        return $this->nouvelleRepartition;
    }

    /**
     * Set mission
     *
     * @param \mgate\SuiviBundle\Entity\Mission $mission
     * @return AvMission
     */
    public function setMission(\mgate\SuiviBundle\Entity\Mission $mission = null)
    {
        $this->mission = $mission;
    
        return $this;
    }

    /**
     * Get mission
     *
     * @return \mgate\SuiviBundle\Entity\Mission 
     */
    public function getMission()
    {
        return $this->mission;
    }

    /**
     * Set nouveauPourcentage
     *
     * @param integer $nouveauPourcentage
     * @return AvMission
     */
    public function setNouveauPourcentage($nouveauPourcentage)
    {
        $this->nouveauPourcentage = $nouveauPourcentage;
    
        return $this;
    }

    /**
     * Get nouveauPourcentage
     *
     * @return integer 
     */
    public function getNouveauPourcentage()
    {
        return $this->nouveauPourcentage;
    }
    
    /**
     * Set avenant
     *
     * @param \mgate\SuiviBundle\Entity\Av $avenant
     * @return AvMission
     */
    public function setAvenant(\mgate\SuiviBundle\Entity\Av $avenant = null)
    {
        $this->avenant = $avenant;
    
        return $this;
    }

    /**
     * Get avenant
     *
     * @return \mgate\SuiviBundle\Entity\Av 
     */
    public function getAvenant()
    {
        return $this->avenant;
    }
}<commit_msg>invalid entity correction: The association mgate\SuiviBundle\Entity\Etude#avMissions refers to the owning side field mgate\SuiviBundle\Entity\AvMission#etude which does not exist.<commit_after><?php

namespace mgate\SuiviBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * mgate\SuiviBundle\Entity\AvMission
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="mgate\SuiviBundle\Entity\AvMissionRepository")
 */
class AvMission extends DocType
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;
    
    /**
     * @ORM\ManyToOne(targetEntity="Etude", inversedBy="avMissions", cascade={"persist"})
     * @ORM\JoinColumn(nullable=true)
     */
    protected $etude;
    
    /**
     * @var Mission
     * @ORM\ManyToOne(targetEntity="mgate\SuiviBundle\Entity\Mission")
     */
    private $mission;
    
    /**
     * @var integer $nouvelleRepartition
     * @ORM\OneToMany(targetEntity="mgate\SuiviBundle\Entity\RepartitionJEH", mappedBy="avMission", cascade={"persist","remove"})
     */
    private $nouvelleRepartition;
    
    /**
     * @var interger $nouveauPourcentage
     * @ORM\Column(name="nouveauPourcentage", type="integer")
     */
    private $nouveauPourcentage;

    /**
     * @var integer $differentielDelai
     * @ORM\Column(name="differentielDelai", type="integer")
     */
    private $differentielDelai;
    
    /**
     * @ORM\ManyToOne(targetEntity="Av", inversedBy="avenantsMissions")
     */
    private $avenant;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }
    /**
     * Constructor
     */
    public function __construct()
    {
        $this->nouvelleRepartition = new \Doctrine\Common\Collections\ArrayCollection();
    }
    
    /**
     * Set differentielDelai
     *
     * @param integer $differentielDelai
     * @return AvMission
     */
    public function setDifferentielDelai($differentielDelai)
    {
        $this->differentielDelai = $differentielDelai;
    
        return $this;
    }

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

    /**
     * Add nouvelleRepartition
     *
     * @param \mgate\SuiviBundle\Entity\RepartitionJEH $nouvelleRepartition
     * @return AvMission
     */
    public function addNouvelleRepartition(\mgate\SuiviBundle\Entity\RepartitionJEH $nouvelleRepartition)
    {
        $this->nouvelleRepartition[] = $nouvelleRepartition;
    
        return $this;
    }

    /**
     * Remove nouvelleRepartition
     *
     * @param \mgate\SuiviBundle\Entity\RepartitionJEH $nouvelleRepartition
     */
    public function removeNouvelleRepartition(\mgate\SuiviBundle\Entity\RepartitionJEH $nouvelleRepartition)
    {
        $this->nouvelleRepartition->removeElement($nouvelleRepartition);
    }

    /**
     * Get nouvelleRepartition
     *
     * @return \Doctrine\Common\Collections\Collection 
     */
    public function getNouvelleRepartition()
    {
        return $this->nouvelleRepartition;
    }

    /**
     * Set mission
     *
     * @param \mgate\SuiviBundle\Entity\Mission $mission
     * @return AvMission
     */
    public function setMission(\mgate\SuiviBundle\Entity\Mission $mission = null)
    {
        $this->mission = $mission;
    
        return $this;
    }

    /**
     * Get mission
     *
     * @return \mgate\SuiviBundle\Entity\Mission 
     */
    public function getMission()
    {
        return $this->mission;
    }

    /**
     * Set nouveauPourcentage
     *
     * @param integer $nouveauPourcentage
     * @return AvMission
     */
    public function setNouveauPourcentage($nouveauPourcentage)
    {
        $this->nouveauPourcentage = $nouveauPourcentage;
    
        return $this;
    }

    /**
     * Get nouveauPourcentage
     *
     * @return integer 
     */
    public function getNouveauPourcentage()
    {
        return $this->nouveauPourcentage;
    }
    
    /**
     * Set avenant
     *
     * @param \mgate\SuiviBundle\Entity\Av $avenant
     * @return AvMission
     */
    public function setAvenant(\mgate\SuiviBundle\Entity\Av $avenant = null)
    {
        $this->avenant = $avenant;
    
        return $this;
    }

    /**
     * Get avenant
     *
     * @return \mgate\SuiviBundle\Entity\Av 
     */
    public function getAvenant()
    {
        return $this->avenant;
    }
    
    
    /**
     * Set etude
     *
     * @param mgate\SuiviBundle\Entity\Etude $etude
     * @return AvMission
     */
    public function setEtude(\mgate\SuiviBundle\Entity\Etude $etude)
    {
        $this->etude = $etude;
    
        return $this;
    }

    /**
     * Get etude
     *
     * @return mgate\SuiviBundle\Entity\Etude 
     */
    public function getEtude()
    {
        return $this->etude;
    }
}
{'fraction_non_alphanumeric': 0.12070274373712178, 'fraction_numerical': 0.0, 'mean_word_length': 2.2065368567454797, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 33, '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': '2000487', 'n_tokens_mistral': 3115, 'n_tokens_neox': 2990, 'n_words': 446}