src/Entity/Log.php line 11
<?phpnamespace App\Entity;use App\Repository\LogRepository;use App\Traits\TimeStampTrait;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: LogRepository::class)]#[ORM\HasLifecycleCallbacks]class Log{use TimeStampTrait;#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255)]private ?string $description = null;#[ORM\Column]private ?int $level = null;#[ORM\Column(length: 255)]private ?string $others = null;#[ORM\Column(length: 50)]private ?string $title = null;#[ORM\ManyToOne(inversedBy: 'logs')]private ?User $createdBy = null;#[ORM\ManyToOne(inversedBy: 'logs')]private ?Entreprise $marchand = null;public function getId(): ?int{return $this->id;}public function getDescription(): ?string{return $this->description;}public function setDescription(string $description): static{$this->description = $description;return $this;}public function getLevel(): ?int{return $this->level;}public function setLevel(int $level): static{$this->level = $level;return $this;}public function getOthers(): ?string{return $this->others;}public function setOthers(string $others): static{$this->others = $others;return $this;}public function getTitle(): ?string{return $this->title;}public function setTitle(string $title): static{$this->title = $title;return $this;}public function getCreatedBy(): ?User{return $this->createdBy;}public function setCreatedBy(?User $createdBy): static{$this->createdBy = $createdBy;return $this;}public function getMarchand(): ?Entreprise{return $this->marchand;}public function setMarchand(?Entreprise $marchand): static{$this->marchand = $marchand;return $this;}}