33 lines
695 B
Go
33 lines
695 B
Go
package app
|
|
|
|
import (
|
|
"database/sql"
|
|
|
|
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
|
)
|
|
|
|
// DatabaseChannelWrapper wraps the object with the security principal
|
|
type DatabaseChannelWrapper struct {
|
|
Obj devops_models.Database
|
|
Principal User
|
|
SagaID string
|
|
SagaType string
|
|
}
|
|
|
|
// Database is a first-class object type
|
|
type Database struct {
|
|
ID string
|
|
Active bool
|
|
ClusterID string
|
|
CreatedByID string
|
|
CreatedDate sql.NullTime
|
|
DatabaseName string
|
|
DSN string
|
|
LastModifiedByID string
|
|
LastModifiedDate sql.NullTime
|
|
Microservices string
|
|
Status string
|
|
TenantID string
|
|
Type string
|
|
}
|