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"
|
|
|
|
)
|
|
|
|
|
|
|
|
// FilingChannelWrapper wraps the object with the security principal
|
|
|
|
type FilingChannelWrapper struct {
|
|
|
|
Obj regs_models.Filing
|
|
|
|
Principal User
|
2021-01-13 05:30:35 +00:00
|
|
|
SagaID string
|
|
|
|
SagaType string
|
2021-01-12 05:46:24 +00:00
|
|
|
}
|
2021-01-10 18:40:46 +00:00
|
|
|
|
|
|
|
// Filing is a first class object type
|
|
|
|
type Filing struct {
|
|
|
|
ID string
|
|
|
|
AccountName string
|
|
|
|
Amount float64
|
|
|
|
AuthorityID string
|
|
|
|
ContactID string
|
|
|
|
CreatedByID string
|
|
|
|
CreatedDate sql.NullTime
|
|
|
|
Date sql.NullTime
|
|
|
|
DueDate sql.NullTime
|
|
|
|
FilingNumber string
|
|
|
|
FilingTypeID string
|
|
|
|
Frequency string
|
|
|
|
Interest float64
|
|
|
|
InterestRate float64
|
|
|
|
LastModifiedByID string
|
|
|
|
LastModifiedDate sql.NullTime
|
|
|
|
MonthNumber int64
|
|
|
|
OwnerID string
|
|
|
|
Penalty float64
|
|
|
|
PenaltyDays float64
|
|
|
|
PenaltyRate float64
|
|
|
|
PeriodID string
|
|
|
|
PreparerID string
|
|
|
|
QuarterNumber int64
|
|
|
|
Ref string
|
|
|
|
ReportedAdjustments float64
|
|
|
|
ReportedDeductions float64
|
|
|
|
ReportedNetRevenue float64
|
|
|
|
ReportedRate float64
|
|
|
|
ReportedRevenue float64
|
|
|
|
RevenueBase float64
|
|
|
|
RevenueNet float64
|
|
|
|
RevenueNotTaxable float64
|
|
|
|
SemiannualNumber int64
|
|
|
|
Status string
|
|
|
|
SubmissionID string
|
|
|
|
Subtotal float64
|
|
|
|
TaxOnTax float64
|
|
|
|
TaxTypeAccountID string
|
|
|
|
TenantID string
|
|
|
|
TotalAmount float64
|
|
|
|
UnitBase float64
|
|
|
|
YearNumber int64
|
|
|
|
}
|