-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3054 from MTES-MCT/feature/2947-new-structure-des…
…ordre [BO - Oilhi] Gestion de la nouvelle structure des désordres
- Loading branch information
Showing
6 changed files
with
154 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
|
||
namespace App\Service\Oilhi\Model; | ||
|
||
readonly class Desordre | ||
{ | ||
public function __construct( | ||
private ?string $desordre = null, | ||
private ?string $equipement = null, | ||
private ?string $risque = null, | ||
private ?bool $isDanger = null, | ||
private ?bool $isSurrocupation = null, | ||
private ?bool $isInsalubrite = null, | ||
) { | ||
} | ||
|
||
public function getDesordre(): ?string | ||
{ | ||
return $this->desordre; | ||
} | ||
|
||
public function getEquipement(): ?string | ||
{ | ||
return $this->equipement; | ||
} | ||
|
||
public function getRisque(): ?string | ||
{ | ||
return $this->risque; | ||
} | ||
|
||
public function getIsDanger(): ?bool | ||
{ | ||
return $this->isDanger; | ||
} | ||
|
||
public function getIsSurrocupation(): ?bool | ||
{ | ||
return $this->isSurrocupation; | ||
} | ||
|
||
public function getIsInsalubrite(): ?bool | ||
{ | ||
return $this->isInsalubrite; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.