lib/app/userrole.go

29 lines
650 B
Go
Raw Normal View History

2021-08-05 19:55:24 +00:00
package app
2023-04-07 18:00:15 +00:00
import "code.tnxs.net/vernonkeenan/lib/api/members/members_models"
2021-08-05 19:55:24 +00:00
// UserRoleActivityWrapper wraps the object with workflow params
type UserRoleActivityWrapper struct {
2023-04-07 18:00:15 +00:00
Obj members_models.UserRole
2021-08-05 19:55:24 +00:00
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
2023-06-04 23:54:48 +00:00
ExternalAccount string
2021-08-05 19:55:24 +00:00
Username string
Auth0UserID string
}