lib/app/accountingruleset.go

30 lines
681 B
Go

package app
import (
"database/sql"
"code.tnxs.net/taxnexus/lib/api/ledger/ledger_models"
)
// AccountingRulesetChannelWrapper wraps the object with the security principal
type AccountingRulesetChannelWrapper struct {
Obj ledger_models.AccountingRuleset
Principal User
}
// AccountingRuleset is exported
type AccountingRuleset struct {
ID string
Items []*AccountingRulesetItem
AccountID string
Code string
CreatedByID string
CreatedDate sql.NullTime
Description string
LastModifiedByID string
LastModifiedDate sql.NullTime
ParentFK string
RuleCount int64
TenantID string
}