feat : ajout de colonne pour les Supplier, Address et modification du numéro de réception

This commit is contained in:
2026-01-30 11:48:29 +01:00
parent 89e4bc5087
commit bbe0a9fdd4
3 changed files with 50 additions and 2 deletions

View File

@@ -39,6 +39,14 @@ class Supplier
#[Groups(['supplier:read', 'reception:read'])]
private string $name = '';
#[ORM\Column(length: 180, nullable: true)]
#[Groups(['supplier:read', 'reception:read'])]
private ?string $email = null;
#[ORM\Column(length: 40, nullable: true)]
#[Groups(['supplier:read', 'reception:read'])]
private ?string $phone = null;
/**
* @var Collection<int, Address>
*/
@@ -70,6 +78,30 @@ class Supplier
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(?string $email): self
{
$this->email = $email;
return $this;
}
public function getPhone(): ?string
{
return $this->phone;
}
public function setPhone(?string $phone): self
{
$this->phone = $phone;
return $this;
}
/**
* @return Collection<int, Address>
*/