<?php
namespace Crud2023;
class EntiteLivre extends AbstractEntite
{
protected int $liv_num;
protected string $liv_titre;
protected ?string $liv_depotlegal;
/**
* @return int
*/
public function getLivNum(): int
{
return $this->liv_num;
}
/**
* @param int $liv_num
*/
public function setLivNum(int $liv_num): void
{
$this->liv_num = $liv_num;
}
/**
* @return string
*/
public function getLivTitre(): string
{
return $this->liv_titre;
}
/**
* @param string $liv_titre
*/
public function setLivTitre(string $liv_titre): void
{
$this->liv_titre = $liv_titre;
}
/**
* @return string
*/
public function getLivDepotlegal(): ?string
{
return $this->liv_depotlegal;
}
/**
* @param string $liv_depotlegal
*/
public function setLivDepotlegal($liv_depotlegal = ''): void
{
$this->liv_depotlegal = $liv_depotlegal;
}
public function __toString(): string
{
return "object:EntiteLivre (" . $this->liv_num . ", " . $this->liv_titre . ",
" . $this->liv_depotlegal . ")";
}
}