Fonctionnalité de modification/ajout de projet terminer
This commit is contained in:
parent
9c19aa5525
commit
374085d0fe
149 changed files with 12892 additions and 657 deletions
|
|
@ -15,9 +15,9 @@ class Project extends Entity{
|
|||
private string $_creation_date;
|
||||
private string $_status = "en_attente";
|
||||
private int $_user;
|
||||
private int $_category;
|
||||
private int $_category = 0;
|
||||
private string $_creatorname;
|
||||
private string $_user_image;
|
||||
private ?string $_user_image = null;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -41,8 +41,9 @@ class Project extends Entity{
|
|||
* Mise à jour de l'id du projet
|
||||
* @param int le nouvelle id
|
||||
*/
|
||||
public function setId($id){
|
||||
$this->_id = $id;
|
||||
public function setId(int $id){
|
||||
$this->_id = $id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue