Skip to content

Commit 88f98a5

Browse files
Merge pull request #31 from GabrielTorelo/feat/changePositionDTO
feat/changePositionDTO#001 - OK
2 parents 63c53b4 + 9eb9c90 commit 88f98a5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)