<commit_before><?php

/**
 * This file is part of the <name> project.
 *
 * (c) <yourname> <youremail>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Application\ChangementsBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use APY\DataGridBundle\Grid\Mapping as GRID;
use Symfony\Component\Validator\Mapping\ClassMetadata;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * This file has been generated by the Sonata EasyExtends bundle ( http://sonata-project.org/bundles/easy-extends )
 *
 * References :
 *   working with object : http://www.doctrine-project.org/projects/orm/2.0/docs/reference/working-with-objects/en
 *
 * @author <yourname> <youremail>
 */

/**
 * Changements
 *
 * @ORM\Table(name="changements_comments")
 * @ORM\Entity(repositoryClass="Application\ChangementsBundle\Repository\ChangementsCommentsRepository")
 * @GRID\Source(columns="id,user.username,changement.nomUser.username,changement.id,changement.idProjet,changement.demandeur,created,updated,approved",groupBy={"id"})
 
 */

class ChangementsComments {

   /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
       * @GRID\Column(field="id", title="Id",size="10")
        */
    protected $id;

   
   /**
     * @var \Application\Sonata\UserBundle\Entity\User
     *
     * @ORM\ManyToOne(targetEntity="Application\Sonata\UserBundle\Entity\User")
     * @ORM\OrderBy({"username" = "ASC"})
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="user", referencedColumnName="id")
     * })
      * @GRID\Column(field="user.username", title="Owner",size="20",filter="select",selectFrom="query")
     */
    private $user;
    
    
    /**
     * @var string
     * @Assert\NotBlank(message="Vous devez entrer un nom de user")
     * @ORM\Column(type="text")
     */
    protected $comment;

    /**
     * @ORM\Column(type="boolean")
     */
    protected $approved;

    /**
     * coté proprietaire
     * 
     * @ORM\ManyToOne(targetEntity="Changements", inversedBy="comments")
     * @ORM\JoinColumn(name="changement_id", referencedColumnName="id")
     * @GRID\Column(field="changement.id", title="Changement",size="20",filter="select",selectFrom="query")
      * @GRID\Column(field="changement.idProjet", title="Projet",size="20",selectFrom="source")
   
     * @GRID\Column(field="changement.demandeur.nomUser", title="Demanndeur",size="20",filter="select",selectFrom="query")
     */
    protected $changement;

    /**
     * @ORM\Column(type="datetime")
     * @GRID\Column(title="Création",format="Y-m-d",size="60",type="datetime")
     */
    protected $created;

    /**
     * @ORM\Column(type="datetime")
     * @GRID\Column(title="Maj",format="Y-m-d",size="60",type="datetime")
     */
    protected $updated;

    
      /**
     * @var \ChronoUser
     *
     * @ORM\ManyToOne(targetEntity="Application\ChangementsBundle\Entity\ChangementsCommentsCategorie")
     * @ORM\JoinColumn(name="categorie", referencedColumnName="id",nullable=true))
     */
    private $categorie;
    
    public function __construct()
    {
        $this->setCreated(new \DateTime());
        $this->setUpdated(new \DateTime());
        $this->setApproved(true);
    }
<commit_msg>Update jquery uploader<commit_after><?php

/**
 * This file is part of the <name> project.
 *
 * (c) <yourname> <youremail>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Application\ChangementsBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use APY\DataGridBundle\Grid\Mapping as GRID;
use Symfony\Component\Validator\Mapping\ClassMetadata;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * This file has been generated by the Sonata EasyExtends bundle ( http://sonata-project.org/bundles/easy-extends )
 *
 * References :
 *   working with object : http://www.doctrine-project.org/projects/orm/2.0/docs/reference/working-with-objects/en
 *
 * @author <yourname> <youremail>
 */

/**
 * Changements
 *
 * @ORM\Table(name="changements_comments")
 * @ORM\Entity(repositoryClass="Application\ChangementsBundle\Repository\ChangementsCommentsRepository")
 * @GRID\Source(columns="id,user.username,changement.nomUser.username,changement.id,changement.idProjet.nomprojet,changement.demandeur.nomUser,created,updated,approved",groupBy={"id"})
 
 */

class ChangementsComments {

   /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
       * @GRID\Column(field="id", title="Id",size="10")
        */
    protected $id;

   
   /**
     * @var \Application\Sonata\UserBundle\Entity\User
     *
     * @ORM\ManyToOne(targetEntity="Application\Sonata\UserBundle\Entity\User")
     * @ORM\OrderBy({"username" = "ASC"})
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="user", referencedColumnName="id")
     * })
      * @GRID\Column(field="user.username", title="Owner",size="20",filter="select",selectFrom="query")
     */
    private $user;
    
    
    /**
     * @var string
     * @Assert\NotBlank(message="Vous devez entrer un nom de user")
     * @ORM\Column(type="text")
     */
    protected $comment;

    /**
     * @ORM\Column(type="boolean")
     */
    protected $approved;

    /**
     * coté proprietaire
     * 
     * @ORM\ManyToOne(targetEntity="Changements", inversedBy="comments")
     * @ORM\JoinColumn(name="changement_id", referencedColumnName="id")
     * @GRID\Column(field="changement.id", title="Changement",size="20",filter="select",selectFrom="query")
    * @GRID\Column(field="changement.idProjet.nomprojet", type="text",title="Projet",size="20",filter="select",selectFrom="query"))
   
     * @GRID\Column(field="changement.demandeur.nomUser", title="Demandeur",size="20",filter="select",selectFrom="query")
     */
    protected $changement;

    /**
     * @ORM\Column(type="datetime")
     * @GRID\Column(title="Création",format="Y-m-d",size="60",type="datetime")
     */
    protected $created;

    /**
     * @ORM\Column(type="datetime")
     * @GRID\Column(title="Maj",format="Y-m-d",size="60",type="datetime")
     */
    protected $updated;

    
      /**
     * @var \ChronoUser
     *
     * @ORM\ManyToOne(targetEntity="Application\ChangementsBundle\Entity\ChangementsCommentsCategorie")
     * @ORM\JoinColumn(name="categorie", referencedColumnName="id",nullable=true))
     */
    private $categorie;
    
    public function __construct()
    {
        $this->setCreated(new \DateTime());
        $this->setUpdated(new \DateTime());
        $this->setApproved(true);
    }

{'fraction_non_alphanumeric': 0.16617819460726846, 'fraction_numerical': 0.004689331770222743, 'mean_word_length': 3.719917012448133, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '677992', 'n_tokens_mistral': 2259, 'n_tokens_neox': 2193, 'n_words': 292}