lib/api/ledger/ledger_models/gl_balance.go

102 lines
2.3 KiB
Go
Raw Permalink Normal View History

2021-01-08 17:40:28 +00:00
// Code generated by go-swagger; DO NOT EDIT.
// All Code Copyright(c) 2018-2020 by Taxnexus, Inc.
// All rights reserved worldwide.
// Proprietary product; unlicensed use is not allowed
package ledger_models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// GlBalance gl balance
//
// swagger:model GlBalance
type GlBalance struct {
// Account Name
AccountName string `json:"AccountName,omitempty"`
// Amount
Amount float64 `json:"Amount,omitempty"`
// Close Date
CloseDate string `json:"CloseDate,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
// Credits
Credits float64 `json:"Credits,omitempty"`
// Debits
Debits float64 `json:"Debits,omitempty"`
// Description
Description string `json:"Description,omitempty"`
// GL Account Display Value
GLAccountDisplay string `json:"GLAccountDisplay,omitempty"`
// GL Account
GLAccountID string `json:"GLAccountID,omitempty"`
// Taxnexus Record Id Only; not used in POST
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
// Period ID
PeriodID string `json:"PeriodID,omitempty"`
// Source System identifier for this record, if any
Ref string `json:"Ref,omitempty"`
// Rollup Credits
RollupCredits float64 `json:"RollupCredits,omitempty"`
// Rollup Debits
RollupDebits float64 `json:"RollupDebits,omitempty"`
// Status
Status string `json:"Status,omitempty"`
// Tenant that owns this object instance
TenantID string `json:"TenantID,omitempty"`
}
// Validate validates this gl balance
func (m *GlBalance) Validate(formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *GlBalance) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *GlBalance) UnmarshalBinary(b []byte) error {
var res GlBalance
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}