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 (
|
|
|
|
"database/sql"
|
|
|
|
|
|
|
|
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
|
|
|
)
|
|
|
|
|
2021-01-14 06:36:35 +00:00
|
|
|
// LicenseTypeChannelWrapper wraps the object with workflow params
|
2021-01-12 05:46:24 +00:00
|
|
|
type LicenseTypeChannelWrapper struct {
|
2021-01-19 01:50:45 +00:00
|
|
|
Obj regs_models.LicenseType
|
|
|
|
APIKey string
|
|
|
|
SagaID string
|
|
|
|
SagaType string
|
2021-01-12 05:46:24 +00:00
|
|
|
}
|
2021-01-10 18:40:46 +00:00
|
|
|
|
|
|
|
// LicenseType is a first class object type
|
|
|
|
type LicenseType struct {
|
|
|
|
ID string
|
|
|
|
AccountID string
|
|
|
|
AgentID string
|
|
|
|
ContactID string
|
|
|
|
Cost float64
|
|
|
|
CreatedByID string
|
|
|
|
CreatedDate sql.NullTime
|
|
|
|
DomainID string
|
|
|
|
Domains []string
|
|
|
|
Frequency string
|
|
|
|
Jurisdictions []*GeoLicenseTypeInstance
|
|
|
|
LastModifiedByID string
|
|
|
|
LastModifiedDate sql.NullTime
|
|
|
|
Level string
|
|
|
|
MetrcName string
|
|
|
|
Name string
|
|
|
|
OwnerID string
|
|
|
|
PicklistValue string
|
|
|
|
Ref string
|
|
|
|
Restriction string
|
|
|
|
Tier string
|
|
|
|
}
|
|
|
|
|
2021-01-14 06:36:35 +00:00
|
|
|
// GeoLicenseTypeInstanceChannelWrapper wraps the object with workflow params
|
2021-01-12 05:46:24 +00:00
|
|
|
type GeoLicenseTypeInstanceChannelWrapper struct {
|
2021-01-19 01:50:45 +00:00
|
|
|
Obj regs_models.GeoLicenseTypeInstance
|
|
|
|
APIKey string
|
|
|
|
SagaID string
|
|
|
|
SagaType string
|
2021-01-12 05:46:24 +00:00
|
|
|
}
|
|
|
|
|
2021-01-10 18:40:46 +00:00
|
|
|
// GeoLicenseTypeInstance is a first class object type
|
|
|
|
type GeoLicenseTypeInstance struct {
|
|
|
|
ID string
|
|
|
|
CountryID string
|
|
|
|
CountyID string
|
|
|
|
CreatedByID string
|
|
|
|
CreatedDate sql.NullTime
|
|
|
|
LastModifiedByID string
|
|
|
|
LastModifiedDate sql.NullTime
|
|
|
|
LicenseTypeID string
|
|
|
|
OwnerID string
|
|
|
|
OrderID string
|
|
|
|
ObjectType string
|
|
|
|
PlaceID string
|
|
|
|
StateID string
|
|
|
|
}
|
|
|
|
|
2021-01-14 06:36:35 +00:00
|
|
|
// DomainLicenseTypeInstanceChannelWrapper wraps the object with workflow params
|
2021-01-12 05:46:24 +00:00
|
|
|
type DomainLicenseTypeInstanceChannelWrapper struct {
|
|
|
|
// Obj regs_models.DomainLicenseTypeInstance
|
2021-01-19 01:50:45 +00:00
|
|
|
APIKey string
|
|
|
|
SagaID string
|
|
|
|
SagaType string
|
2021-01-12 05:46:24 +00:00
|
|
|
}
|
|
|
|
|
2021-01-10 18:40:46 +00:00
|
|
|
// DomainLicenseTypeInstance is a first class object type
|
|
|
|
type DomainLicenseTypeInstance struct {
|
|
|
|
ID string
|
|
|
|
DomainID string
|
|
|
|
CreatedByID string
|
|
|
|
CreatedDate sql.NullTime
|
|
|
|
LastModifiedByID string
|
|
|
|
LastModifiedDate sql.NullTime
|
|
|
|
LicenseTypeID string
|
|
|
|
OwnerID string
|
|
|
|
}
|