lib/app/userrole.go

27 lines
614 B
Go
Raw 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"
// UserRoleChannelWrapper wraps the object with the security principal
type UserRoleChannelWrapper struct {
Obj devops_models.UserRole
Principal User
}
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
}