mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2026-04-25 13:55:04 +00:00
Add list position changing Lambdas
Initial shot at repositioning Lambdas.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
package com.example.listify.data;
|
||||
|
||||
public class ListReposition {
|
||||
Integer listID;
|
||||
Integer newPosition;
|
||||
|
||||
public ListReposition(Integer listID, Integer newPosition) {
|
||||
this.listID = listID;
|
||||
this.newPosition = newPosition;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ListReposition{" +
|
||||
"listID=" + listID +
|
||||
", newPosition=" + newPosition +
|
||||
'}';
|
||||
}
|
||||
|
||||
public Integer getListID() {
|
||||
return listID;
|
||||
}
|
||||
|
||||
public void setListID(Integer listID) {
|
||||
this.listID = listID;
|
||||
}
|
||||
|
||||
public Integer getNewPosition() {
|
||||
return newPosition;
|
||||
}
|
||||
|
||||
public void setNewPosition(Integer newPosition) {
|
||||
this.newPosition = newPosition;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user