<?php
declare(strict_types=1);
namespace App\Domain\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Domain\Repository\SteelStepRepository")
* @ORM\Table(name="steel_step")
*/
class SteelStep extends AbstractEntity
{
public function __toString(): string
{
return $this->type;
}
/**
* @ORM\Column(type="string", name="type")
*/
public string $type;
/**
* @ORM\Column(type="decimal", precision=10, scale=2, name="prix_au_m2")
*/
public string $pricePerSquareMeter;
// Getters and setters...
public function getType(): string
{
return $this->type;
}
public function getPricePerSquareMeter(): string
{
return $this->pricePerSquareMeter;
}
public function setType(string $type): void
{
$this->type = $type;
}
public function setPricePerSquareMeter(string $pricePerSquareMeter): void
{
$this->pricePerSquareMeter = $pricePerSquareMeter;
}
}