lib/app/tenant.go

22 lines
471 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
import "database/sql"
// Tenant is a first class object type
type Tenant struct {
ID string
AccountID string
Active bool
CreatedByID string
CreatedDate sql.NullTime
Databases []*Database
LastModifiedByID string
LastModifiedDate sql.NullTime
Roles []*Role
Status string
TenantName string
TenantUsers []*TenantUser
Type string
Version string
}