<commit_before><?php

namespace Mongobox\Bundle\GroupBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;

use Symfony\Component\Validator\Constraints as Assert;

/**
 * Mongobox\Bundle\GroupBundle\Entity\Group
 *
 * @ORM\Entity(repositoryClass="Mongobox\Bundle\GroupBundle\Entity\Repository\GroupRepository")
 * @ORM\Table(name="groups")
 */
class Group
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;

    /**
     * @ORM\Column(type="string", length=255)
     * @Assert\NotBlank()
     */
    protected $title;

    /**
     * @ORM\Column(type="string", length=255)
     * @Assert\NotBlank()
     */
    protected $city;

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

    /**
     * @var integer
     *
     * @ORM\Column(name="live_max_dislikes", type="integer", nullable=true)
     */
    protected $liveMaxDislikes;

    /**
     * @var integer
     *
     * @ORM\Column(name="next_putsch_waiting", type="integer", nullable=true)
     */
    protected $nextPutschWaiting;

    /**
     * @var string
     *
     * @ORM\Column(name="secret_key", type="string", length=255)
     */
    protected $secretKey;

    /**
     * @var integer
     *
     * @ORM\OneToOne(targetEntity="\Mongobox\Bundle\UsersBundle\Entity\User")
     * @ORM\JoinColumn(name="live_current_admin", referencedColumnName="id")
     */
    protected $liveCurrentAdmin;

    /**
     * @ORM\ManyToMany(targetEntity="\Mongobox\Bundle\UsersBundle\Entity\User", inversedBy="groups")
     * @ORM\JoinTable(name="users_groups",
     * 		joinColumns={@ORM\JoinColumn(name="id_group", referencedColumnName="id")},
     * 		inverseJoinColumns={@ORM\JoinColumn(name="id_user", referencedColumnName="id")}
     * )
     */
    protected $users;

    /**
     * @ORM\ManyToMany(targetEntity="\Mongobox\Bundle\TumblrBundle\Entity\Tumblr", inversedBy="groups")
     * @ORM\JoinTable(name="tumblrs_groups",
     * 		joinColumns={@ORM\JoinColumn(name="id_group", referencedColumnName="id")},
     * 		inverseJoinColumns={@ORM\JoinColumn(name="id_tumblr", referencedColumnName="id_tumblr")}<commit_msg>Fix jointure WTF...<commit_after><?php

namespace Mongobox\Bundle\GroupBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;

use Symfony\Component\Validator\Constraints as Assert;

/**
 * Mongobox\Bundle\GroupBundle\Entity\Group
 *
 * @ORM\Entity(repositoryClass="Mongobox\Bundle\GroupBundle\Entity\Repository\GroupRepository")
 * @ORM\Table(name="groups")
 */
class Group
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;

    /**
     * @ORM\Column(type="string", length=255)
     * @Assert\NotBlank()
     */
    protected $title;

    /**
     * @ORM\Column(type="string", length=255)
     * @Assert\NotBlank()
     */
    protected $city;

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

    /**
     * @var integer
     *
     * @ORM\Column(name="live_max_dislikes", type="integer", nullable=true)
     */
    protected $liveMaxDislikes;

    /**
     * @var integer
     *
     * @ORM\Column(name="next_putsch_waiting", type="integer", nullable=true)
     */
    protected $nextPutschWaiting;

    /**
     * @var string
     *
     * @ORM\Column(name="secret_key", type="string", length=255)
     */
    protected $secretKey;

    /**
     * @var \Mongobox\Bundle\UsersBundle\Entity\User
     *
     * @ORM\ManyToOne(targetEntity="Mongobox\Bundle\UsersBundle\Entity\User")
     * @ORM\JoinColumn(name="live_current_admin", referencedColumnName="id")
     */
    protected $liveCurrentAdmin;

    /**
     * @ORM\ManyToMany(targetEntity="\Mongobox\Bundle\UsersBundle\Entity\User", inversedBy="groups")
     * @ORM\JoinTable(name="users_groups",
     * 		joinColumns={@ORM\JoinColumn(name="id_group", referencedColumnName="id")},
     * 		inverseJoinColumns={@ORM\JoinColumn(name="id_user", referencedColumnName="id")}
     * )
     */
    protected $users;

    /**
     * @ORM\ManyToMany(targetEntity="\Mongobox\Bundle\TumblrBundle\Entity\Tumblr", inversedBy="groups")
     * @ORM\JoinTable(name="tumblrs_groups",
     * 		joinColumns={@ORM\JoinColumn(name="id_group", referencedColumnName="id")},
     * 		inverseJoinColumns={@ORM\JoinColumn(name="id_tumblr", referencedColumnName="id_tumblr")}
{'fraction_non_alphanumeric': 0.1664804469273743, 'fraction_numerical': 0.004022346368715084, 'mean_word_length': 3.3288201160541586, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '247425', 'n_tokens_mistral': 1548, 'n_tokens_neox': 1462, 'n_words': 161}