mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 23:34:49 +01:00
25 lines
424 B
Java
25 lines
424 B
Java
package mp.code.data;
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.ToString;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
* A data class holding information about a user.
|
|
*/
|
|
@ToString
|
|
@EqualsAndHashCode
|
|
@RequiredArgsConstructor
|
|
public class User {
|
|
/**
|
|
* The {@link UUID} of the user.
|
|
*/
|
|
public final UUID id;
|
|
|
|
/**
|
|
* The human-readable name of the user.
|
|
*/
|
|
public final String name;
|
|
}
|