<commit_before><?php

namespace Ojs\JournalBundle\Entity;

use APY\DataGridBundle\Grid\Mapping as GRID;
use Doctrine\Common\Collections\ArrayCollection;
use JMS\Serializer\Annotation as JMS;
use JMS\Serializer\Annotation\ExclusionPolicy;
use JMS\Serializer\Annotation\Expose;
use Ojs\CoreBundle\Entity\GenericEntityTrait;
use Prezent\Doctrine\Translatable\Annotation as Prezent;
use Prezent\Doctrine\Translatable\Entity\AbstractTranslatable;
use Ojs\CoreBundle\Annotation\Delete\DeleteParams;

/**
 * ArticleTypes
 * @GRID\Source(columns="id,translations.name,translations.description", groupBy="id")
 * @ExclusionPolicy("all")
 * @DeleteParams(checkUse={"OjsJournalBundle:Article"={"field"="articleType"}})
 */
class ArticleTypes extends AbstractTranslatable
{
    use GenericEntityTrait;

    /**
     * @var integer
     * @GRID\Column(title="id")
     * @Expose
     */<commit_msg>remove groupBy annotation for article type<commit_after><?php

namespace Ojs\JournalBundle\Entity;

use APY\DataGridBundle\Grid\Mapping as GRID;
use Doctrine\Common\Collections\ArrayCollection;
use JMS\Serializer\Annotation as JMS;
use JMS\Serializer\Annotation\ExclusionPolicy;
use JMS\Serializer\Annotation\Expose;
use Ojs\CoreBundle\Entity\GenericEntityTrait;
use Prezent\Doctrine\Translatable\Annotation as Prezent;
use Prezent\Doctrine\Translatable\Entity\AbstractTranslatable;
use Ojs\CoreBundle\Annotation\Delete\DeleteParams;

/**
 * ArticleTypes
 * @GRID\Source(columns="id,translations.name,translations.description")
 * @ExclusionPolicy("all")
 * @DeleteParams(checkUse={"OjsJournalBundle:Article"={"field"="articleType"}})
 */
class ArticleTypes extends AbstractTranslatable
{
    use GenericEntityTrait;

    /**
     * @var integer
     * @GRID\Column(title="id")
     * @Expose
     */
{'fraction_non_alphanumeric': 0.12100840336134454, 'fraction_numerical': 0.0, 'mean_word_length': 5.842911877394636, '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': '5554586', 'n_tokens_mistral': 553, 'n_tokens_neox': 549, 'n_words': 88}