<?php
declare(strict_types=1);
namespace App\Domain\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Domain\Repository\WoodStepRepository")
* @ORM\Table(name="wood_step")
*/
class WoodStep extends AbstractEntity
{
public function __toString(): string
{
return $this->woodType;
}
/**
* @ORM\Column(type="string", name="essence")
*/
public string $woodType;
/**
* @ORM\Column(type="string", name="finition")
*/
public string $treatment;
/**
* @ORM\Column(type="decimal", precision=10, scale=2, name="prix")
*/
public string $price;
// Getters and setters...
public function getWoodType(): string
{
return $this->woodType;
}
public function getTreatment(): string
{
return $this->treatment;
}
public function getPrice(): string
{
return $this->price;
}
public function setWoodType(string $woodType): void
{
$this->woodType = $woodType;
}
public function setTreatment(string $treatment): void {
$this->treatment = $treatment;
}
public function setPrice(string $price): void {
$this->price = $price;
}
}