-
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.
Signed-off-by: Leonardo Ledda <leonardoledda@gmail.com>
- Loading branch information
Showing
4 changed files
with
42 additions
and
2 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
11 changes: 10 additions & 1 deletion
11
java/TestSpringboot/src/main/java/it/leddaz/testspringboot/requests/ItemIdRequest.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 |
---|---|---|
@@ -1,11 +1,20 @@ | ||
package it.leddaz.testspringboot.requests; | ||
|
||
/** | ||
* Stores data for requests with an item ID. | ||
* | ||
* @author Leonardo Ledda (LeddaZ) | ||
*/ | ||
public class ItemIdRequest { | ||
|
||
private int itemId; | ||
|
||
/** | ||
* Returns the item ID. | ||
* | ||
* @return The item ID | ||
*/ | ||
public int getItemId() { | ||
return itemId; | ||
} | ||
|
||
} |
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
11 changes: 10 additions & 1 deletion
11
java/TestSpringboot/src/main/java/it/leddaz/testspringboot/requests/OrderIdRequest.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 |
---|---|---|
@@ -1,11 +1,20 @@ | ||
package it.leddaz.testspringboot.requests; | ||
|
||
/** | ||
* Stores data for requests with an order ID. | ||
* | ||
* @author Leonardo Ledda (LeddaZ) | ||
*/ | ||
public class OrderIdRequest { | ||
|
||
private int orderId; | ||
|
||
/** | ||
* Returns the order ID. | ||
* | ||
* @return The order ID | ||
*/ | ||
public int getOrderId() { | ||
return orderId; | ||
} | ||
|
||
} |