forked from fabiomsrs/orange-talents-06-template-proposta
-
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
9 changed files
with
130 additions
and
10 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
18 changes: 18 additions & 0 deletions
18
...main/java/br/com/zupacademy/giovannimoratto/desafioproposta/Bloqueio/BloqueioRequest.java
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,18 @@ | ||
package br.com.zupacademy.giovannimoratto.desafioproposta.Bloqueio; | ||
|
||
/** | ||
* @Author giovanni.moratto | ||
*/ | ||
|
||
public class BloqueioRequest { | ||
|
||
private final String sistemaResponsavel; | ||
|
||
public BloqueioRequest(String sistemaResponsavel) { | ||
this.sistemaResponsavel = sistemaResponsavel; | ||
} | ||
|
||
public String getSistemaResponsavel() { | ||
return sistemaResponsavel; | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...ain/java/br/com/zupacademy/giovannimoratto/desafioproposta/Bloqueio/BloqueioResponse.java
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,23 @@ | ||
package br.com.zupacademy.giovannimoratto.desafioproposta.Bloqueio; | ||
|
||
/** | ||
* @Author giovanni.moratto | ||
*/ | ||
|
||
public class BloqueioResponse { | ||
|
||
private BloqueioStatus resultado; | ||
|
||
@Deprecated | ||
public BloqueioResponse() { | ||
} | ||
|
||
public BloqueioResponse(BloqueioStatus resultado) { | ||
this.resultado = resultado; | ||
} | ||
|
||
public BloqueioStatus getResultado() { | ||
return resultado; | ||
} | ||
|
||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/br/com/zupacademy/giovannimoratto/desafioproposta/Bloqueio/BloqueioStatus.java
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,10 @@ | ||
package br.com.zupacademy.giovannimoratto.desafioproposta.Bloqueio; | ||
|
||
/** | ||
* @Author giovanni.moratto | ||
*/ | ||
|
||
public enum BloqueioStatus { | ||
BLOQUEADO, | ||
FALHA; | ||
} |
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
10 changes: 10 additions & 0 deletions
10
src/main/java/br/com/zupacademy/giovannimoratto/desafioproposta/cartao/CartaoStatus.java
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,10 @@ | ||
package br.com.zupacademy.giovannimoratto.desafioproposta.cartao; | ||
|
||
/** | ||
* @Author giovanni.moratto | ||
*/ | ||
|
||
public enum CartaoStatus { | ||
BLOQUEADO, | ||
ATIVO; | ||
} |
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