1
0
mirror of https://github.com/Eyre-S/sekai-scores.git synced 2024-11-25 04:27:43 +08:00

add playtime field to UserScore

This commit is contained in:
A.C.Sukazyo Eyre 2022-11-21 15:06:08 +08:00
parent a702965151
commit 28ff69ceb8
Signed by: Eyre_S
GPG Key ID: C17CE40291207874
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
plugins { plugins {
id 'java' id 'java'
id 'java-library'
} }
group 'cc.sukazyo' group 'cc.sukazyo'

View File

@ -1,9 +1,11 @@
package cc.sukazyo.sekai_scores; package cc.sukazyo.sekai_scores;
import javax.annotation.Nonnull; import javax.annotation.Nonnull;
import java.time.LocalDateTime;
public record UserScore ( public record UserScore (
@Nonnull Song song, @Nonnull Song song,
@Nonnull Difficulty difficulty, @Nonnull Difficulty difficulty,
@Nonnull ScoreBase score @Nonnull ScoreBase score,
@Nonnull LocalDateTime playtime
) {} ) {}