28 lines
707 B
Go
28 lines
707 B
Go
|
package types
|
||
|
|
||
|
import "database/sql"
|
||
|
|
||
|
// AccountingRule is a first class object type
|
||
|
type AccountingRule struct {
|
||
|
ID string
|
||
|
AccountID string
|
||
|
Code string
|
||
|
COGSaccountID string
|
||
|
COGSaccountName string
|
||
|
CreatedByID string
|
||
|
CreatedDate sql.NullTime
|
||
|
CreditAccountID string
|
||
|
CreditAccountName string
|
||
|
DebitAccountID string
|
||
|
DebitAccountName string
|
||
|
Description string
|
||
|
InventoryAccountID string
|
||
|
InventoryAccountName string
|
||
|
IsDeferred bool
|
||
|
LastModifiedByID string
|
||
|
LastModifiedDate sql.NullTime
|
||
|
ParentFK string
|
||
|
Proportion float64
|
||
|
TenantID string
|
||
|
}
|