<?php
namespace App\Entity\Contact;
use App\Entity\Interfaces\InquiryInterface;
use App\Entity\Traits\InquiryCommonFieldTrait;
use App\Entity\Traits\InquiryTrait;
use App\Entity\Traits\ModifiedTimeTrait;
use App\Repository\Contact\DataRepository;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Gedmo\SoftDeleteable\Traits\SoftDeleteableEntity;
use TripleE\Utilities\Entity\Interfaces\CsvExportInterface;
#[ORM\Entity(repositoryClass: DataRepository::class)]
#[ORM\Table(name: "inquiry_contact_data")]
#[ORM\HasLifecycleCallbacks]
#[Gedmo\SoftDeleteable(fieldName: "deletedAt", timeAware: false, hardDelete: false)]
class Data implements InquiryInterface, CsvExportInterface
{
use SoftDeleteableEntity;
use ModifiedTimeTrait;
use InquiryTrait;
use InquiryCommonFieldTrait;
public function getCsvRow(): array
{
return $this->addCommonFieldCsv();
}
}