src/Entity/CRM/MailHistory.php line 10
<?phpnamespace App\Entity\CRM;use App\Repository\MailHistoryRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: MailHistoryRepository::class)]class MailHistory{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255)]private ?string $recipient = null;#[ORM\Column(length: 255)]private ?string $sender = null;#[ORM\Column(length: 255)]private ?string $sendType = null;#[ORM\Column(type: Types::DATETIME_MUTABLE)]private ?\DateTimeInterface $sendDate = null;#[ORM\Column(length: 255, nullable: true)]private ?string $shortInfo = null;#[ORM\ManyToOne(inversedBy: 'mailHistories')]private ?Order $orderInstance = null;public function getId(): ?int{return $this->id;}public function getRecipient(): ?string{return $this->recipient;}public function setRecipient(string $recipient): static{$this->recipient = $recipient;return $this;}public function getSender(): ?string{return $this->sender;}public function setSender(string $sender): static{$this->sender = $sender;return $this;}public function getSendType(): ?string{return $this->sendType;}public function setSendType(string $sendType): static{$this->sendType = $sendType;return $this;}public function getSendDate(): ?\DateTimeInterface{return $this->sendDate;}public function setSendDate(\DateTimeInterface $sendDate): static{$this->sendDate = $sendDate;return $this;}public function getShortInfo(): ?string{return $this->shortInfo;}public function setShortInfo(?string $shortInfo): static{$this->shortInfo = $shortInfo;return $this;}public function getOrderInstance(): ?Order{return $this->orderInstance;}public function setOrderInstance(?Order $orderInstance): static{$this->orderInstance = $orderInstance;return $this;}}