<?php
namespace App\Entity;
use App\Repository\CategorieDepenseRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CategorieDepenseRepository::class)
*/
class CategorieDepense
{
/**
* @ORM\ManyToOne(targetEntity="\App\Entity\Boutique")
*/
private $boutique;
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $nom;
/**
* @ORM\Column(type="string", length="255", nullable=true)
*/
private $groupeCharge; //Charge d'exploitation, Charge financière, Charge exceptionnelles
public function getId(): ?int
{
return $this->id;
}
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(?string $nom): self
{
$this->nom = $nom;
return $this;
}
public function getBoutique(): ?Boutique
{
return $this->boutique;
}
public function setBoutique(?Boutique $boutique): self
{
$this->boutique = $boutique;
return $this;
}
public function getGroupeCharge(): ?string
{
return $this->groupeCharge;
}
public function setGroupeCharge(?string $groupeCharge): self
{
$this->groupeCharge = $groupeCharge;
return $this;
}
}