lib/app/glbalance.go

39 lines
863 B
Go

package app
import (
"database/sql"
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
)
// GlBalanceChannelWrapper wraps the object with the security principal
type GlBalanceChannelWrapper struct {
Obj ledger_models.GlBalance
Principal User
SagaID string
SagaType string
}
// GlBalance is a first class object type
type GlBalance struct {
ID string
AccountName string
Amount float64
CloseDate sql.NullTime
CreatedByID string
CreatedDate sql.NullTime
Credits float64
Debits float64
Description string
GlAccountID string
GlAccountDisplay string
LastModifiedByID string
LastModifiedDate sql.NullTime
PeriodID string
Ref string
RollupCredits float64
RollupDebits float64
Status string
TenantID string
}