lib/app/submission.go

44 lines
1.1 KiB
Go

package app
import (
"database/sql"
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
)
// SubmissionChannelWrapper wraps the object with the security principal
type SubmissionChannelWrapper struct {
Obj regs_models.Submission
Principal User
}
// Submission is a first class object type
type Submission struct {
ID string
CompanyID string
ContactID string
CreatedByID string
CreatedDate sql.NullTime
LastModifiedByID string
LastModifiedDate sql.NullTime
Notes string
Penalty float64
ParentFK string
Ref string
ReportedAdjustments float64
ReportedDeductions float64
ReportedNetRevenue float64
ReportedRate float64
ReportedRevenue float64
RevenueBase float64
RevenueNet float64
RevenueNotTaxable float64
Status string
Subtotal float64
SubmissionDate sql.NullTime
SubmissionNumber string
TaxTypeID string
TotalAmount float64
TenantID string
}