There was an error while loading. Please reload this page.
2 parents 63c53b4 + 9eb9c90 commit 88f98a5Copy full SHA for 88f98a5
src/main/java/com/gabriel_torelo/game_list/dto/ChangePositionDTO.java
@@ -0,0 +1,22 @@
1
+package com.gabriel_torelo.game_list.dto;
2
+
3
+public class ChangePositionDTO {
4
+ private Integer currentIndex;
5
+ private Integer newIndex;
6
7
+ public Integer getCurrentIndex() {
8
+ return currentIndex;
9
+ }
10
11
+ public void setCurrentIndex(Integer currentIndex) {
12
+ this.currentIndex = currentIndex;
13
14
15
+ public Integer getNewIndex() {
16
+ return newIndex;
17
18
19
+ public void setNewIndex(Integer newIndex) {
20
+ this.newIndex = newIndex;
21
22
+}
0 commit comments