package app import ( "database/sql" "code.tnxs.net/taxnexus/lib/api/ledger/ledger_models" ) // PeriodChannelWrapper wraps the object with the security principal type PeriodChannelWrapper struct { Obj ledger_models.Period Principal User SagaID string SagaType string } // Period is a first class object type type Period struct { ID string AccountID string CompanyID string CreatedByID string CreatedDate sql.NullTime Days int64 EndDate string EndTime sql.NullTime LastModifiedByID string LastModifiedDate sql.NullTime Month int64 Name string Quarter int64 Ref string Semiannual int64 StartDate string StartTime sql.NullTime Status string TenantID string Year int64 }