lib/app/notebook.go

35 lines
782 B
Go

package app
import (
"database/sql"
"code.tnxs.net/taxnexus/lib/api/regs/regs_models"
)
// NotebookChannelWrapper wraps the object with the security principal
type NotebookChannelWrapper struct {
Obj regs_models.Notebook
Principal User
}
// Notebook is a first class object type
type Notebook struct {
ID string
AccountID string
ContactID string
CreatedByID string
CreatedDate sql.NullTime
Date sql.NullTime
DateEnd sql.NullTime
DateStart sql.NullTime
Description string
LastModifiedByID string
LastModifiedDate sql.NullTime
PeriodEndID string
PeriodStartID string
PreparerID string
Title string
Items []*NotebookItem
TenantID string
}