move models to the model package
All checks were successful
deploy / deploy (push) Successful in 41s

This commit is contained in:
Lee
2024-04-08 06:28:43 +01:00
parent 1773ec7d9c
commit 0cd8db32fd
10 changed files with 20 additions and 20 deletions

View File

@ -0,0 +1,27 @@
package cc.fascinated.model.mojang;
import lombok.Getter;
import lombok.NoArgsConstructor;
@Getter @NoArgsConstructor
public class MojangUsernameToUuid {
/**
* The UUID of the player.
*/
private String id;
/**
* The name of the player.
*/
private String name;
/**
* Check if the profile is valid.
*
* @return if the profile is valid
*/
public boolean isValid() {
return id != null && name != null;
}
}