mirror of https://github.com/vernonkeenan/lib
				
				
				
			
		
			
				
	
	
		
			29 lines
		
	
	
		
			650 B
		
	
	
	
		
			Go
		
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			650 B
		
	
	
	
		
			Go
		
	
	
| package app
 | |
| 
 | |
| import "code.tnxs.net/vernonkeenan/lib/api/members/members_models"
 | |
| 
 | |
| // UserRoleActivityWrapper wraps the object with workflow params
 | |
| type UserRoleActivityWrapper struct {
 | |
| 	Obj      members_models.UserRole
 | |
| 	APIKey   string
 | |
| 	SagaID   string
 | |
| 	SagaType string
 | |
| }
 | |
| 
 | |
| // UserRole is a first class object type
 | |
| type UserRole struct {
 | |
| 	RoleID          string
 | |
| 	UserID          string
 | |
| 	Auth0RoleID     string
 | |
| 	RoleDescription string
 | |
| 	RoleName        string
 | |
| 	AccountID       string
 | |
| 	CompanyName     string
 | |
| 	ContactID       string
 | |
| 	UserEmail       string
 | |
| 	UserFullName    string
 | |
| 	ExternalAccount string
 | |
| 	Username        string
 | |
| 	Auth0UserID     string
 | |
| }
 |