<?php
namespace App\Entity\ContentDistribution;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*
* @ORM\Table(
* name="external_feed_prices"
* )
*/
class ExternalFeedPrice
{
/**
* @ORM\Id
*
* @ORM\Column(type="string", nullable=false)
*/
private string $name;
/**
* @ORM\Column(type="float", name="price", nullable=false)
*/
private float $price;
public function getName(): string
{
return $this->name;
}
public function setName(string $name): void
{
$this->name = $name;
}
public function getPrice(): float
{
return $this->price;
}
public function setPrice(float $price): void
{
$this->price = $price;
}
}