<?php
namespace App\Entity;
use App\Repository\MailingSpecificRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: MailingSpecificRepository::class)]
class MailingSpecific
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'datetime')]
private $dateSending;
#[ORM\Column(type: 'string', length: 255)]
private $type;
public function getId(): ?int
{
return $this->id;
}
public function getDateSending(): ?\DateTimeInterface
{
return $this->dateSending;
}
public function setDate(\DateTimeInterface $dateSending): self
{
$this->dateSending = $dateSending;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(string $type): self
{
$this->type = $type;
return $this;
}
}