63 lines
1.7 KiB
Go
63 lines
1.7 KiB
Go
package app
|
|
|
|
import (
|
|
"database/sql"
|
|
|
|
"code.tnxs.net/taxnexus/lib/api/devops/devops_models"
|
|
)
|
|
|
|
// IngestChannelWrapper wraps the object with workflow params
|
|
type IngestChannelWrapper struct {
|
|
Obj devops_models.Ingest
|
|
APIKey string
|
|
SagaID string
|
|
SagaType string
|
|
}
|
|
|
|
// Ingest is a first class object type
|
|
type Ingest struct {
|
|
ID string
|
|
AccountID string
|
|
Amount float64
|
|
BackendID string
|
|
CompanyID string
|
|
CreatedByID string
|
|
CreatedDate sql.NullTime
|
|
Description string
|
|
EndDate sql.NullTime
|
|
Filename string
|
|
IngestDate sql.NullTime
|
|
IngestFailureReason string
|
|
IngestType string
|
|
InvoiceCount int64
|
|
JobID string
|
|
LastModifiedByID string
|
|
LastModifiedDate sql.NullTime
|
|
MetrcLastModifiedEnd sql.NullTime
|
|
MetrcLastModifiedStart sql.NullTime
|
|
MetrcLicense string
|
|
MetrcSalesReceiptID int64
|
|
MetrcState string
|
|
ObjectType string
|
|
ParentFK string
|
|
PeriodID string
|
|
PoCount int64
|
|
PostFailureReason string
|
|
RatingEngineID string
|
|
Ref string
|
|
RevenueBase float64
|
|
RevenueNet float64
|
|
RevenueNotTaxable float64
|
|
SagaID string
|
|
SagaType string
|
|
Source string
|
|
StartDate sql.NullTime
|
|
Status string
|
|
Tax float64
|
|
TaxOnTax float64
|
|
TaxTransactionCount int64
|
|
TemplateID string
|
|
TenantID string
|
|
UnitBase int64
|
|
}
|