This commit is contained in:
parent
96f62d9a01
commit
66d29c343e
@ -7,6 +7,7 @@ import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.annotation.Id;
|
||||
import org.springframework.data.annotation.Reference;
|
||||
import org.springframework.data.mongodb.core.index.Indexed;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
@ -102,6 +103,7 @@ public class Score {
|
||||
/**
|
||||
* The score history for map the score was set on.
|
||||
*/
|
||||
@Reference
|
||||
private List<Score> previousScores;
|
||||
|
||||
/**
|
||||
|
@ -13,7 +13,6 @@ import java.util.List;
|
||||
* @author Fascinated (fascinated7)
|
||||
*/
|
||||
public interface ScoreRepository extends MongoRepository<Score, String> {
|
||||
|
||||
/**
|
||||
* Gets the top ranked scores from the platform.
|
||||
*
|
||||
|
Reference in New Issue
Block a user