<?php
namespace App\Entity;
use App\Repository\ConsumerWebServiceRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ConsumerWebServiceRepository::class)
*/
class ConsumerWebService
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $name;
/**
* @ORM\Column(type="string", length=700)
*/
private $webhook;
/**
* @ORM\Column(type="datetime")
*/
private $create_at;
/**
* @ORM\Column(type="datetime")
*/
private $update_at;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getWebhook(): ?string
{
return $this->webhook;
}
public function setWebhook(string $webhook): self
{
$this->webhook = $webhook;
return $this;
}
public function getCreateAt(): ?\DateTimeInterface
{
return $this->create_at;
}
public function setCreateAt(\DateTimeInterface $create_at): self
{
$this->create_at = $create_at;
return $this;
}
public function getUpdateAt(): ?\DateTimeInterface
{
return $this->update_at;
}
public function setUpdateAt(\DateTimeInterface $update_at): self
{
$this->update_at = $update_at;
return $this;
}
}