lib/app/userrole.go

29 lines
643 B
Go
Raw Permalink Normal View History

2021-01-10 23:44:39 +00:00
package app
2021-01-10 18:40:46 +00:00
2021-01-12 05:46:24 +00:00
import "code.tnxs.net/taxnexus/lib/api/devops/devops_models"
2021-01-14 06:36:35 +00:00
// UserRoleChannelWrapper wraps the object with workflow params
2021-01-12 05:46:24 +00:00
type UserRoleChannelWrapper struct {
Obj devops_models.UserRole
Principal User
2021-01-13 05:30:35 +00:00
SagaID string
SagaType string
2021-01-12 05:46:24 +00:00
}
2021-01-10 18:40:46 +00:00
// 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
TaxnexusAccount string
Username string
Auth0UserID string
}