<commit_before><?php

namespace Application\Sonata\ClientBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * Application\Sonata\ClientBundle\Entity\Contact
 *
 * @ORM\Table("et_contact")
 * @ORM\Entity
 */
class Contact
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var Client $client
     *
     * @ORM\ManyToOne(targetEntity="Client", inversedBy="contacts")
     * @ORM\JoinColumn(name="client_id", referencedColumnName="id", onDelete="CASCADE")
     */
    private $client;

    /**
     * @var integer $civilite_id
     *
     * @ORM\ManyToOne(targetEntity="ListCivilites")
     * @ORM\JoinColumn(name="civilite_id",  referencedColumnName="id")
     */
    private $civilite;

    /**
     * @var string $nom
     *
     * @ORM\Column(name="nom", type="string", length=100)
     */
    private $nom;

    /**
     * @var string $prenom
     *
     * @ORM\Column(name="prenom", type="string", length=100)
     */
    private $prenom;

    /**
     * @var string $telephone_1
     *
     * @ORM\Column(name="telephone_1", type="string", length=20)
     */
    private $telephone_1;

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

    /**
     * @var string $fax
     *
     * @ORM\Column(name="fax", type="string", length=20, nullable=true)<commit_msg>Contact nom as required field.<commit_after><?php

namespace Application\Sonata\ClientBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * Application\Sonata\ClientBundle\Entity\Contact
 *
 * @ORM\Table("et_contact")
 * @ORM\Entity
 */
class Contact
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var Client $client
     *
     * @ORM\ManyToOne(targetEntity="Client", inversedBy="contacts")
     * @ORM\JoinColumn(name="client_id", referencedColumnName="id", onDelete="CASCADE")
     */
    private $client;

    /**
     * @var integer $civilite_id
     *
     * @ORM\ManyToOne(targetEntity="ListCivilites")
     * @ORM\JoinColumn(name="civilite_id",  referencedColumnName="id")
     */
    private $civilite;

    /**
     * @var string $nom
     *
     * @Assert\NotBlank()
     * @ORM\Column(name="nom", type="string", length=100)
     */
    private $nom;

    /**
     * @var string $prenom
     *
     * @ORM\Column(name="prenom", type="string", length=100)
     */
    private $prenom;

    /**
     * @var string $telephone_1
     *
     * @ORM\Column(name="telephone_1", type="string", length=20)
     */
    private $telephone_1;

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

    /**
     * @var string $fax
     *
     * @ORM\Column(name="fax", type="string", length=20, nullable=true)
{'fraction_non_alphanumeric': 0.1695447409733124, 'fraction_numerical': 0.01130298273155416, 'mean_word_length': 2.678983833718245, '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': '4819526', 'n_tokens_mistral': 1127, 'n_tokens_neox': 1079, 'n_words': 170}