<commit_before><?php

namespace bonavall\BancdeltempsBundle\Entity;

use Doctrine\ORM\Mapping as ORM;


/**
 * Solicituts
 *
 * @ORM\Table(name="Solicituts", indexes={@ORM\Index(name="fk_usuari_has_serveis_usuari1", columns={"solicitant_id"}), @ORM\Index(name="Solicituts_ibfk_13", columns={"ofertant_id"}), @ORM\Index(name="fk_Solicituts_serveis1", columns={"servei_solicitat_id"}), @ORM\Index(name="Solicituts_ibfk_2", columns={"estatSolicitut"})})
 * @ORM\Entity
 */
class Solicituts
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var \Persona
     *
     * @ORM\ManyToOne(targetEntity="Persona")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="solicitant_id", referencedColumnName="id")
     * })
     */
    private $solicitant;
    
    /**
     * @var \Serveis
     *
     * @ORM\ManyToOne(targetEntity="Serveis")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="servei_solicitat_id", referencedColumnName="id")
     * })
     */
    private $serveiSolicitat;
    
    /**
     * @var \DateTime
     *
     * @ORM\Column(name="data_solicitut", type="datetime", nullable=false)
     */
    private $dataSolicitut;
    
    /**
     * @var \EstatServei
     *
     * @ORM\ManyToOne(targetEntity="EstatServei")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="estatSolicitut", referencedColumnName="id")
     * })
     */
    private $estatSolicitut;
    
    
    public function __construct() {
        
        $this->dataSolicitut = new \DateTime("now");
        
    }



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

    /**
     * Set estatSolicitut
     *
     * @param \bonavall\BancdeltempsBundle\Entity\EstatServei $estatServei
     * @return Solicituts
     */
    public function setEstatsolicitut(\bonavall\BancdeltempsBundle\Entity\EstatServei $estatServei = null)
    {
        $this->estatSolicitut = $estatServei;

        return $this;
    }

    /**
     * Get estatSolicitut
     *
     * @return \bonavall\BancdeltempsBundle\Entity\EstatServei 
     */
    public function getEstatsolicitut()
    {
        return $this->estatSolicitut;
    }
    
    
    /**
     * Set solicitant
     *
     * @param \bonavall\BancdeltempsBundle\Entity\Persona $solicitant
     * @return Solicituts
     */
    public function setSolicitant(\bonavall\BancdeltempsBundle\Entity\Persona $solicitant = null)
    {
        $this->solicitant = $solicitant;

        return $this;
    }

    /**
     * Get solicitant
     *
     * @return \bonavall\BancdeltempsBundle\Entity\Persona 
     */
    public function getSolicitant()
    {
        return $this->solicitant;
    }
    
    
     /* Set ofertant
     *
     * @param \bonavall\BancdeltempsBundle\Entity\Persona $ofertant
     * @return Solicituts
     */
    public function setOfertant(\bonavall\BancdeltempsBundle\Entity\Persona $ofertant = null)
    {
        $this->ofertant = $ofertant;

        return $this;
    }

    /**
     * Get ofertant
     *
     * @return \bonavall\BancdeltempsBundle\Entity\Persona 
     */
    public function getOfertant()
    {
        return $this->ofertant;
    }
    
    public function getDataSolicitut() {
        return $this->dataSolicitut;
    }

    public function setDataSolicitut(\DateTime $dataSolicitut) {
        $this->dataSolicitut = $dataSolicitut;
    }

    /**
     * Set serveiSolicitat
     *
     * @param \bonavall\BancdeltempsBundle\Entity\Serveis $serveiSolicitat
     * @return Solicituts
     */
    public function setServeiSolicitat(\bonavall\BancdeltempsBundle\Entity\Serveis $serveiSolicitat = null)<commit_msg>Carles: Va a petar tot<commit_after><?php

namespace bonavall\BancdeltempsBundle\Entity;

use Doctrine\ORM\Mapping as ORM;


/**
 * Solicituts
 *
 * @ORM\Table(name="Solicituts", indexes={@ORM\Index(name="fk_usuari_has_serveis_usuari1", columns={"solicitant_id"}), @ORM\Index(name="Solicituts_ibfk_13", columns={"ofertant_id"}), @ORM\Index(name="fk_Solicituts_serveis1", columns={"servei_solicitat_id"}), @ORM\Index(name="Solicituts_ibfk_2", columns={"estatSolicitut"})})
 * @ORM\Entity
 */
class Solicituts
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var \Persona
     *
     * @ORM\ManyToOne(targetEntity="Persona")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="solicitant_id", referencedColumnName="id")
     * })
     */
    private $solicitant;
    
    /**
     * @var \Serveis
     *
     * @ORM\ManyToOne(targetEntity="Serveis")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="servei_solicitat_id", referencedColumnName="id")
     * })
     */
    private $serveiSolicitat;
    
    /**
     * @var \DateTime
     *
     * @ORM\Column(name="data_solicitut", type="datetime", nullable=false)
     */
    private $dataSolicitut;
    
    /**
     * @var \EstatServei
     *
     * @ORM\ManyToOne(targetEntity="EstatServei")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="estatSolicitut", referencedColumnName="id")
     * })
     */
    private $estatSolicitut;
    
    
    public function __construct() {
        
        $this->dataSolicitut = new \DateTime("now");
        
    }



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

    /**
     * Set estatSolicitut
     *
     * @param \bonavall\BancdeltempsBundle\Entity\EstatServei $estatServei
     * @return Solicituts
     */
    public function setEstatsolicitut(\bonavall\BancdeltempsBundle\Entity\EstatServei $estatServei = null)
    {
        $this->estatSolicitut = $estatServei;

        return $this;
    }

    /**
     * Get estatSolicitut
     *
     * @return \bonavall\BancdeltempsBundle\Entity\EstatServei 
     */
    public function getEstatsolicitut()
    {
        return $this->estatSolicitut;
    }
    
    
    /**
     * Set solicitant
     *
     * @param \bonavall\BancdeltempsBundle\Entity\Persona $solicitant
     * @return Solicituts
     */
    public function setSolicitant(\bonavall\BancdeltempsBundle\Entity\Persona $solicitant = null)
    {
        $this->solicitant = $solicitant;

        return $this;
    }

    /**
     * Get solicitant
     *
     * @return \bonavall\BancdeltempsBundle\Entity\Persona 
     */
    public function getSolicitant()
    {
        return $this->solicitant;
    }
    
    
    public function getDataSolicitut() {
        return $this->dataSolicitut;
    }

    public function setDataSolicitut(\DateTime $dataSolicitut) {
        $this->dataSolicitut = $dataSolicitut;
    }

    /**
     * Set serveiSolicitat
     *
     * @param \bonavall\BancdeltempsBundle\Entity\Serveis $serveiSolicitat
     * @return Solicituts
     */
    public function setServeiSolicitat(\bonavall\BancdeltempsBundle\Entity\Serveis $serveiSolicitat = null)
{'fraction_non_alphanumeric': 0.13366890380313198, 'fraction_numerical': 0.0013982102908277406, 'mean_word_length': 2.4372897645362808, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '2009239', 'n_tokens_mistral': 2617, 'n_tokens_neox': 2589, 'n_words': 324}