@Entity
public class Category
extends Object
-
-
Constructor Summary
Constructors
-
Method Summary
-
Field Details
-
-
name
@NonNull
private @NonNull String name
-
-
-
-
Constructor Details
-
Category
public Category()
-
Method Details
-
equals
public final boolean equals(Object o)
- Overrides:
equals
in class Object
- Parameters:
o
- The object to compare with this Category
.
- Returns:
true
if the given object is an instance of Category
and has the same UUID
as this
Category
, false
otherwise.
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in class Object
- Returns:
- The hash code of this
Category
.