-
Notifications
You must be signed in to change notification settings - Fork 10
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
1 parent
11d3bcf
commit 533b44d
Showing
3 changed files
with
47 additions
and
6 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
39 changes: 39 additions & 0 deletions
39
src/main/java/dev/skydynamic/quickbackupmulti/utils/storage/SlotInfoStorage.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,39 @@ | ||
package dev.skydynamic.quickbackupmulti.utils.storage; | ||
|
||
import java.util.List; | ||
import java.util.Objects; | ||
|
||
public class SlotInfoStorage { | ||
String desc; | ||
long timestamp; | ||
List<String> indexFiles; | ||
|
||
public String getDesc() { | ||
return desc; | ||
} | ||
|
||
public void setDesc(String desc) { | ||
this.desc = desc; | ||
} | ||
|
||
public long getTimestamp() { | ||
return timestamp; | ||
} | ||
|
||
public void setTimestamp(long timestamp) { | ||
this.timestamp = timestamp; | ||
} | ||
|
||
public List<String> getIndexFiles() { | ||
return indexFiles; | ||
} | ||
|
||
public void setIndexFiles(List<String> indexFiles) { | ||
this.indexFiles = indexFiles; | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(getDesc(), getTimestamp()); | ||
} | ||
} |