Package com.alpaca.entity
Class UserRole
java.lang.Object
com.alpaca.entity.UserRole
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
Unique identifier for the UserRole association. This value is automatically generated using a UUID strategy. -
user
The User associated with this UserRole. This field cannot be null. -
role
The Role associated with this UserRole. This field cannot be null.
-
-
Constructor Details
-
UserRole
Constructs an instance of a new UserRole object with the specified attributes.- Parameters:
user
- the User associated with this UserRole - must not be nullrole
- the Role associated with this UserRole - must not be null
-