<?php
namespace App\Entity;
use App\Repository\ContactCreationSocieteChargeRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ContactCreationSocieteChargeRepository::class)]
class ContactCreationSocieteCharge
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 255)]
private $name;
#[ORM\Column(type: 'string', length: 255)]
private $amount;
#[ORM\Column(type: 'string', length: 255)]
private $frequency;
#[ORM\ManyToOne(targetEntity: ContactCreationSociete::class, inversedBy: 'contactCreationSocieteCharges')]
private $contactCreationSociete;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getAmount(): ?string
{
return $this->amount;
}
public function setAmount(string $amount): self
{
$this->amount = $amount;
return $this;
}
public function getFrequency(): ?string
{
return $this->frequency;
}
public function setFrequency(string $frequency): self
{
$this->frequency = $frequency;
return $this;
}
public function getContactCreationSociete(): ?ContactCreationSociete
{
return $this->contactCreationSociete;
}
public function setContactCreationSociete(?ContactCreationSociete $contactCreationSociete): self
{
$this->contactCreationSociete = $contactCreationSociete;
return $this;
}
}