<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* OfferteActivity
*/
#[ORM\Table(name: 'offerte_activity')]
#[ORM\Entity(repositoryClass: 'App\Repository\OfferteActivityRepository')]
class OfferteActivity
{
/**
* @var int
*/
#[ORM\Column(name: 'id', type: 'integer')]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'AUTO')]
private $id;
/**
* @var string
*/
#[ORM\Column(name: 'tag', type: 'string', length: 255)]
private $tag;
/**
* @var \DateTime
*/
#[ORM\Column(name: 'timestamp', type: 'datetime')]
private $timestamp;
/**
* @var string
*/
#[ORM\Column(name: 'email', type: 'string', length: 255)]
private $email;
/**
* @var string
*/
#[ORM\Column(name: 'event', type: 'string', length: 255)]
private $event;
/**
* @var array|null
*/
#[ORM\Column(name: 'details', type: 'array', nullable: true)]
private $details;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set tag.
*
* @param string $tag
*
* @return OfferteActivity
*/
public function setTag($tag)
{
$this->tag = $tag;
return $this;
}
/**
* Get tag.
*
* @return string
*/
public function getTag()
{
return $this->tag;
}
/**
* Set timestamp.
*
* @param \DateTime $timestamp
*
* @return OfferteActivity
*/
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
return $this;
}
/**
* Get timestamp.
*
* @return \DateTime
*/
public function getTimestamp()
{
return $this->timestamp;
}
/**
* Set email.
*
* @param string $email
*
* @return OfferteActivity
*/
public function setEmail($email)
{
$this->email = $email;
return $this;
}
/**
* Get email.
*
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* Set details.
*
* @param array|null $details
*
* @return OfferteActivity
*/
public function setDetails($details = null)
{
$this->details = $details;
return $this;
}
/**
* Get details.
*
* @return array|null
*/
public function getDetails()
{
return $this->details;
}
/**
* @return string
*/
public function getEvent(): string
{
return $this->event;
}
/**
* @param string $event
*/
public function setEvent(string $event): void
{
$this->event = $event;
}
}