<commit_before><?php

namespace HotelBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Tasca
 *
 * @ORM\Table(name="tasca")
 * @ORM\Entity(repositoryClass="HotelBundle\Repository\TascaRepository")
 */
class Tasca
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="descripcio", type="string", length=255, nullable=true)
     */
    private $descripcio;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="dataAlta", type="date", nullable=true)
     */
    private $dataAlta;
    

    /**
     * @ORM\ManyToOne(targetEntity="TipusTasca", inversedBy="Tasca")
     * @ORM\JoinColumn(name="tipusTascaId", referencedColumnName="id")
     */
    protected $tipusTasca;



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

    /**
     * Set descripcio
     *
     * @param string $descripcio
     *
     * @return Tasca
     */
    public function setDescripcio($descripcio)
    {
        $this->descripcio = $descripcio;
    
        return $this;
    }

    /**
     * Get descripcio
     *
     * @return string
     */
    public function getDescripcio()
    {
        return $this->descripcio;
    }

    /**
     * Set dataAlta
     *
     * @param \DateTime $dataAlta
     *
     * @return Tasca
     */
    public function setDataAlta($dataAlta)
    {
        $this->dataAlta = $dataAlta;
    
        return $this;
    }

    /**
     * Get dataAlta
     *
     * @return \DateTime
     */
    public function getDataAlta()
    {
        return $this->dataAlta;
    }
   
    /**
     * Set tipusTasca
     *
     * @param \HotelBundle\Entity\TipusTasca $tipusTasca
     *
     * @return Tasca
     */
    public function setTipusTasca(\HotelBundle\Entity\TipusTasca $tipusTasca = null)
    {
        $this->tipusTasca = $tipusTasca;
    
        return $this;
    }

    /**
     * Get tipusTasca
     *
     * @return \HotelBundle\Entity\TipusTasca
     */
    public function getTipusTasca()
    {
        return $this->tipusTasca;
    }
}<commit_msg>Afegit atribut a tasca<commit_after><?php

namespace HotelBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Tasca
 *
 * @ORM\Table(name="tasca")
 * @ORM\Entity(repositoryClass="HotelBundle\Repository\TascaRepository")
 */
class Tasca
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="descripcio", type="string", length=255, nullable=true)
     */
    private $descripcio;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="dataAlta", type="date", nullable=true)
     */
    private $dataAlta;
    

    /**
     * @ORM\ManyToOne(targetEntity="TipusTasca", inversedBy="Tasca")
     * @ORM\JoinColumn(name="tipusTascaId", referencedColumnName="id")
     */
    protected $tipusTasca;

    /**
     * @ORM\ManyToOne(targetEntity="Treballador", inversedBy="Tasca")
     * @ORM\JoinColumn(name="treballadorId", referencedColumnName="id")
     */
    protected $treballador;



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

    /**
     * Set descripcio
     *
     * @param string $descripcio
     *
     * @return Tasca
     */
    public function setDescripcio($descripcio)
    {
        $this->descripcio = $descripcio;
    
        return $this;
    }

    /**
     * Get descripcio
     *
     * @return string
     */
    public function getDescripcio()
    {
        return $this->descripcio;
    }

    /**
     * Set dataAlta
     *
     * @param \DateTime $dataAlta
     *
     * @return Tasca
     */
    public function setDataAlta($dataAlta)
    {
        $this->dataAlta = $dataAlta;
    
        return $this;
    }

    /**
     * Get dataAlta
     *
     * @return \DateTime
     */
    public function getDataAlta()
    {
        return $this->dataAlta;
    }
   
    /**
     * Set tipusTasca
     *
     * @param \HotelBundle\Entity\TipusTasca $tipusTasca
     *
     * @return Tasca
     */
    public function setTipusTasca(\HotelBundle\Entity\TipusTasca $tipusTasca = null)
    {
        $this->tipusTasca = $tipusTasca;
    
        return $this;
    }

    /**
     * Get tipusTasca
     *
     * @return \HotelBundle\Entity\TipusTasca
     */
    public function getTipusTasca()
    {
        return $this->tipusTasca;
    }

    

    /**
     * Set treballador
     *
     * @param \HotelBundle\Entity\Treballador $treballador
     *
     * @return Tasca
     */
    public function setTreballador(\HotelBundle\Entity\Treballador $treballador = null)
    {
        $this->treballador = $treballador;

        return $this;
    }

    /**
     * Get treballador
     *
     * @return \HotelBundle\Entity\Treballador
     */
    public function getTreballador()
    {
        return $this->treballador;
    }
}
{'fraction_non_alphanumeric': 0.1372854914196568, 'fraction_numerical': 0.001170046801872075, 'mean_word_length': 1.8669647847959754, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '7128158', 'n_tokens_mistral': 1856, 'n_tokens_neox': 1815, 'n_words': 276}