Fonctionnalité sur addedit_project essentiellement

This commit is contained in:
GuillaumeH-Cci 2026-02-20 16:40:57 +01:00
parent e6c64912c3
commit d5609324ab
175 changed files with 8333 additions and 12477 deletions

View file

@ -8,12 +8,12 @@ require_once("mother_entity.php");
class Project extends Entity{
private ?int $_id = null;
private string $_title = "";
private string $_description = "";
private string $_thumbnail = "";
private string $_content = "";
private string $_title = "";
private string $_description = "";
private ?string $_thumbnail = null;
private string $_content = "";
private string $_creation_date;
private string $_status;
private string $_status = "en_attente";
private int $_user;
private int $_category;
private string $_creatorname;
@ -33,7 +33,7 @@ class Project extends Entity{
* Récuperation de l'id du Projet
* @return int l'id du projet
*/
public function getId():int{
public function getId():?int{
return $this->_id;
}
@ -172,7 +172,7 @@ class Project extends Entity{
* Récupération de la catégorie
* @return int id de la catégorie
*/
public function getCategory(){
public function getCategory():?int{
return $this->_category;
}