lib/app/tenantuser.go

32 lines
730 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"
// TenantUserChannelWrapper wraps the object with the security principal
type TenantUserChannelWrapper struct {
Obj devops_models.TenantUser
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
// TenantUser is a first class object type
type TenantUser struct {
AccessLevel string
AccountID string
Auth0UserID string
CompanyName string
ContactID string
TaxnexusAccount string
TenantActive bool
TenantID string
TenantName string
TenantStatus string
TenantType string
TenantVersion string
UserEmail string
UserFullName string
UserID string
Username string
}