UserRole
final class UserRole : ModelA UserNote is intended as a free-form test field that will appear on a UserProfile,
in which the viewing User can make notes about the profile’s user.
It is not visible to the profile’s owner nor to any other user; it is for the viewing
user’s use only. In other words, different users viewing the same profile will each see
their own viewer-specific UserNote text.
- 
                  
                  DeclarationSwift static let schema: String
- 
                  
                  The role’s ID, provisioned automatically. DeclarationSwift @ID var id: UUID?
- 
                  
                  Each UserRole object specifies a user and a role, indicating that user has that role. DeclarationSwift @Field var role: UserRoleType
- 
                  
                  DeclarationSwift init()
- 
                  
                  Creates a new UserRole. DeclarationSwift init(user: UUID, role: UserRoleType)ParametersauthorThe note’s author. profileThe associated UserProfile.noteThe text of the note. 
 View on GitHub
            View on GitHub
           UserRole Class Reference
      UserRole Class Reference