Class UserEntity
java.lang.Object
com.soulfiremc.server.database.UserEntity
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull UserEntityauditLogs(List<InstanceAuditLogEntity> auditLogs) @NotNull UserEntityemail()@NotNull UserEntityid()@NotNull UserEntity@Nullable Instant@NotNull UserEntitylastLoginAt(@Nullable Instant lastLoginAt) @NotNull UserEntityminIssuedAt(Instant minIssuedAt) @NotNull UserEntityownedInstances(List<InstanceEntity> ownedInstances) role()@NotNull UserEntityrole(UserEntity.Role role) @NotNull UserEntityusername()@NotNull UserEntitylongversion()@NotNull UserEntityversion(long version)
-
Constructor Details
-
UserEntity
public UserEntity()
-
-
Method Details
-
id
-
username
-
email
-
role
-
ownedInstances
-
auditLogs
-
createdAt
-
updatedAt
-
lastLoginAt
-
minIssuedAt
-
version
public long version() -
id
- Returns:
this.
-
username
- Returns:
this.
-
email
- Returns:
this.
-
role
- Returns:
this.
-
ownedInstances
- Returns:
this.
-
auditLogs
- Returns:
this.
-
createdAt
- Returns:
this.
-
updatedAt
- Returns:
this.
-
lastLoginAt
- Returns:
this.
-
minIssuedAt
- Returns:
this.
-
version
- Returns:
this.
-