30 lines
630 B
Go
30 lines
630 B
Go
package app
|
|
|
|
import (
|
|
"database/sql"
|
|
|
|
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
|
|
)
|
|
|
|
// TransactionItemChannelWrapper wraps the object with workflow params
|
|
type TransactionItemChannelWrapper struct {
|
|
Obj regs_models.Transaction
|
|
Principal User
|
|
SagaID string
|
|
SagaType string
|
|
}
|
|
|
|
// Transaction is a first class object type
|
|
type Transaction struct {
|
|
ID string
|
|
AccountID string
|
|
CreatedByID string
|
|
CreatedDate sql.NullTime
|
|
LastModifiedByID string
|
|
LastModifiedDate sql.NullTime
|
|
TaxTypeID string
|
|
TaxTransactionID string
|
|
TenantID string
|
|
Valid bool
|
|
}
|