Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
129 lines
2.4 KiB
PHP
Executable File
129 lines
2.4 KiB
PHP
Executable File
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use Doctrine\DBAL\Types\Types;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* Cron.
|
|
*
|
|
* @ORM\Table(name="audit",indexes={@ORM\Index(name="search_idx", columns={"entityname", "entityid", "datesubmit"})})
|
|
* @ORM\Entity(repositoryClass="App\Repository\AuditRepository")
|
|
*/
|
|
class Audit
|
|
{ /**
|
|
* @ORM\Column(name="id", type="integer")
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue(strategy="AUTO")
|
|
*/
|
|
private $id;
|
|
|
|
/**
|
|
* @ORM\Column(type="string", length=250, nullable=false)
|
|
*/
|
|
private $entityname;
|
|
|
|
/**
|
|
* @ORM\Column(type="string", length=250, nullable=false)
|
|
*/
|
|
private $entityid;
|
|
|
|
/**
|
|
* @ORM\Column(type="datetime")
|
|
*/
|
|
private $datesubmit;
|
|
|
|
/**
|
|
* @ORM\Column(type="string", length=250, nullable=false)
|
|
*/
|
|
private $username;
|
|
|
|
/**
|
|
* @ORM\Column(type="text", nullable=true)
|
|
*/
|
|
private $description;
|
|
|
|
/**
|
|
* @ORM\Column(type="array", nullable=true)
|
|
*/
|
|
private $detail = [];
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getEntityname(): ?string
|
|
{
|
|
return $this->entityname;
|
|
}
|
|
|
|
public function setEntityname(string $entityname): self
|
|
{
|
|
$this->entityname = $entityname;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getEntityid(): ?string
|
|
{
|
|
return $this->entityid;
|
|
}
|
|
|
|
public function setEntityid(string $entityid): self
|
|
{
|
|
$this->entityid = $entityid;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getDatesubmit(): ?\DateTimeInterface
|
|
{
|
|
return $this->datesubmit;
|
|
}
|
|
|
|
public function setDatesubmit(\DateTimeInterface $datesubmit): self
|
|
{
|
|
$this->datesubmit = $datesubmit;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getUsername(): ?string
|
|
{
|
|
return $this->username;
|
|
}
|
|
|
|
public function setUsername(string $username): self
|
|
{
|
|
$this->username = $username;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getDescription(): ?string
|
|
{
|
|
return $this->description;
|
|
}
|
|
|
|
public function setDescription(?string $description): self
|
|
{
|
|
$this->description = $description;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getDetail(): array
|
|
{
|
|
return $this->detail;
|
|
}
|
|
|
|
public function setDetail(?array $detail): self
|
|
{
|
|
$this->detail = $detail;
|
|
|
|
return $this;
|
|
}
|
|
}
|