You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
449 B
30 lines
449 B
<?php
|
|
|
|
namespace model;
|
|
|
|
class Sexe
|
|
{
|
|
private int $id;
|
|
private string $libelle;
|
|
|
|
public function __construct(int $id, string $libelle)
|
|
{
|
|
$this->id=$id;
|
|
$this->libelle=$libelle;
|
|
}
|
|
|
|
public function getId():int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getLibelle(): string
|
|
{
|
|
return $this->libelle;
|
|
}
|
|
|
|
public function __toString()
|
|
{
|
|
return $this->libelle;
|
|
}
|
|
} |