<commit_before><?php

namespace Pantono\Contacts\Entity;

/**
 * Class Contact
 *
 * @package Pantono\Contacts\Entity
 * @Entity(repositoryClass="Repository\ContactRepository")
 * @Table(name="contact")
 */
class Contact
{
    /**
     * @Id
     * @GeneratedValue(strategy="AUTO")
     * @Column(type="integer")
     */
    protected $id;
    /**
     * @ManyToOne(targetEntity="Contact")
     */
    protected $title;
    /**
     * @ManyToOne(targetEntity="Pantono\Customers\Entity\Customer")
     */
    protected $customer;
    /**
     * @OneToOne(targetEntity="Address")
     */
    protected $address;
    /**
     * @Column(type="string", nullable=true)
     */
    protected $firstName;
    /**
     * @Column(type="string", nullable=true)
     */
    protected $lastName;
    /**
     * @Column(type="string", nullable=true)
     */
    protected $phoneLandline;
    /**
     * @Column(type="string", nullable=true)
     */
    protected $phoneMobile;
    /**
     * @Column(type="datetime", nullable=false)
     */
    protected $dateCreated;

    public function __construct()
    {
        $this->setDateCreated(new \DateTime);
    }

    /**
     * @return mixed
     */<commit_msg>Removing default date created as causing issues with unit tests<commit_after><?php

namespace Pantono\Contacts\Entity;

/**
 * Class Contact
 *
 * @package Pantono\Contacts\Entity
 * @Entity(repositoryClass="Repository\ContactRepository")
 * @Table(name="contact")
 */
class Contact
{
    /**
     * @Id
     * @GeneratedValue(strategy="AUTO")
     * @Column(type="integer")
     */
    protected $id;
    /**
     * @ManyToOne(targetEntity="Contact")
     */
    protected $title;
    /**
     * @ManyToOne(targetEntity="Pantono\Customers\Entity\Customer")
     */
    protected $customer;
    /**
     * @OneToOne(targetEntity="Address")
     */
    protected $address;
    /**
     * @Column(type="string", nullable=true)
     */
    protected $firstName;
    /**
     * @Column(type="string", nullable=true)
     */
    protected $lastName;
    /**
     * @Column(type="string", nullable=true)
     */
    protected $phoneLandline;
    /**
     * @Column(type="string", nullable=true)
     */
    protected $phoneMobile;
    /**
     * @Column(type="datetime", nullable=false)
     */
    protected $dateCreated;

    /**
     * @return mixed
     */
{'fraction_non_alphanumeric': 0.1663122075712463, 'fraction_numerical': 0.0, 'mean_word_length': 2.5528700906344413, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '5436849', 'n_tokens_mistral': 734, 'n_tokens_neox': 730, 'n_words': 108}