This commit is contained in:
Lee
2024-06-27 13:02:55 +01:00
parent b36bdae5de
commit 84dfe5a119
10 changed files with 12 additions and 32 deletions

View File

@ -10,8 +10,6 @@ import net.dv8tion.jda.api.entities.Guild;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
@ -20,9 +18,7 @@ import java.util.Date;
@RequiredArgsConstructor
@Getter @Setter
@Document(collection = "guilds")
public class BatGuild extends ProfileHolder implements Serializable {
@Serial private static final long serialVersionUID = 1L;
public class BatGuild extends ProfileHolder {
/**
* The ID of the guild
*/

View File

@ -10,8 +10,6 @@ import net.dv8tion.jda.api.entities.User;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
@ -20,9 +18,7 @@ import java.util.Date;
@RequiredArgsConstructor
@Getter @Setter
@Document(collection = "users")
public class BatUser extends ProfileHolder implements Serializable {
@Serial private static final long serialVersionUID = 1L;
public class BatUser extends ProfileHolder {
/**
* The ID of the user
*/

View File

@ -3,10 +3,8 @@ package cc.fascinated.bat.model.token.beatsaber.scoresaber;
import lombok.AllArgsConstructor;
import lombok.Getter;
import java.io.Serializable;
@Getter
public class ScoreSaberAccountToken implements Serializable {
public class ScoreSaberAccountToken {
/**
* The id for this ScoreSaber account.
*/
@ -91,7 +89,7 @@ public class ScoreSaberAccountToken implements Serializable {
* The badge for this account.
*/
@AllArgsConstructor @Getter
public static class Badge implements Serializable {
public static class Badge {
/**
* The image for this badge.
*/
@ -107,7 +105,7 @@ public class ScoreSaberAccountToken implements Serializable {
* The score stats for this account.
*/
@AllArgsConstructor @Getter
public static class ScoreStats implements Serializable {
public static class ScoreStats {
/**
* The total score for this account.
*/