lib/app/database.go

31 lines
659 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
}
// 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
}