lib/app/domain.go

18 lines
466 B
Go

package app
import "code.tnxs.net/taxnexus/lib/api/geo/geo_models"
// DomainChannelWrapper wraps the object with the security principal
type DomainChannelWrapper struct {
Obj geo_models.Domain
Principal User
}
// Domain is a first class object type
type Domain struct {
ID string `json:"id,omitempty"`
Active bool `json:"active,omitempty"`
Description string `json:"description,omitempty"`
Name string `json:"name,omitempty"`
}