<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="sms_setup")
*/
class SmsSetup {
/**
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
* @ORM\Column(type="integer")
*/
private int $id;
/**
* @ORM\Column(type="string")
*/
private string $sampleMessage;
/**
* @ORM\Column(type="string")
*/
private string $sendTo;
/**
* @ORM\Column(type="string")
*/
private string $action;
/**
* @var User $createdBy
* @ORM\ManyToOne(targetEntity="App\Entity\User")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="created_by", referencedColumnName="id")
* })
*/
private User $createdBy;
public function getId(): int
{
return $this->id;
}
public function setId(int $id): void
{
$this->id = $id;
}
public function getSampleMessage(): string
{
return $this->sampleMessage;
}
public function setSampleMessage(string $sampleMessage): void
{
$this->sampleMessage = $sampleMessage;
}
public function getAction(): string
{
return $this->action;
}
public function setAction(string $action): void
{
$this->action = $action;
}
public function getCreatedBy(): User
{
return $this->createdBy;
}
public function setCreatedBy(User $createdBy): void
{
$this->createdBy = $createdBy;
}
public function getSendTo(): string
{
return $this->sendTo;
}
public function setSendTo(string $sendTo): void
{
$this->sendTo = $sendTo;
}
}