lib/api/sf-gate/sf_gate_models/gl_account.go

96 lines
2.1 KiB
Go

// Code generated by go-swagger; DO NOT EDIT.
// All Code Copyright(c) 2018-2021 by Taxnexus, Inc.
// All rights reserved worldwide.
// Proprietary product; unlicensed use is not allowed
package sf_gate_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"
)
// GlAccount gl account
//
// swagger:model GlAccount
type GlAccount struct {
// Account
Accountid string `json:"accountid,omitempty"`
// Account Level
Accountlevel float64 `json:"accountlevel,omitempty"`
// Account Name
Accountname string `json:"accountname,omitempty"`
// Account Number
Accountnumber float64 `json:"accountnumber,omitempty"`
// Account Sign
Accountsign string `json:"accountsign,omitempty"`
// Account Type
Accounttype string `json:"accounttype,omitempty"`
// Description
Description string `json:"description,omitempty"`
// Taxnexus Record Id
ID string `json:"id,omitempty"`
// Is Active?
Isactive bool `json:"isactive,omitempty"`
// Is Bank Account ?
Isbankaccount bool `json:"isbankaccount,omitempty"`
// Is Summary?
Issummary bool `json:"issummary,omitempty"`
// Display Name
Name string `json:"name,omitempty"`
// Parent Foreign Key
Parentfk string `json:"parentfk,omitempty"`
// Parent GL Account
Parentglaccountid string `json:"parentglaccountid,omitempty"`
// Reference
Ref string `json:"ref,omitempty"`
// Status
Status string `json:"status,omitempty"`
// tenant identifier
Tenantid string `json:"tenantid,omitempty"`
}
// Validate validates this gl account
func (m *GlAccount) Validate(formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *GlAccount) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *GlAccount) UnmarshalBinary(b []byte) error {
var res GlAccount
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}