-
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.
- Loading branch information
Showing
4 changed files
with
80 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?php | ||
|
||
namespace App\Dto\Request\Signalement; | ||
|
||
class AdresseOccupantRequest | ||
{ | ||
public function __construct( | ||
private readonly ?string $adresse = null, | ||
private readonly ?string $codePostal = null, | ||
private readonly ?string $ville = null, | ||
private readonly ?string $etage = null, | ||
private readonly ?string $escalier = null, | ||
private readonly ?string $numAppart = null, | ||
private readonly ?string $autre = null, | ||
private readonly ?string $geoloc = null, | ||
private readonly ?string $insee = null, | ||
) { | ||
} | ||
|
||
public function getAdresse(): ?string | ||
{ | ||
return $this->adresse; | ||
} | ||
|
||
public function getCodePostal(): ?string | ||
{ | ||
return $this->codePostal; | ||
} | ||
|
||
public function getVille(): ?string | ||
{ | ||
return $this->ville; | ||
} | ||
|
||
public function getEtage(): ?string | ||
{ | ||
return $this->etage; | ||
} | ||
|
||
public function getEscalier(): ?string | ||
{ | ||
return $this->escalier; | ||
} | ||
|
||
public function getNumAppart(): ?string | ||
{ | ||
return $this->numAppart; | ||
} | ||
|
||
public function getAutre(): ?string | ||
{ | ||
return $this->autre; | ||
} | ||
|
||
public function getGeoloc(): ?string | ||
{ | ||
return $this->geoloc; | ||
} | ||
|
||
public function getInsee(): ?string | ||
{ | ||
return $this->insee; | ||
} | ||
} |
18 changes: 7 additions & 11 deletions
18
templates/back/signalement/view/address-qualifications.html.twig
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