mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 08:38:45 +05:00
cleaned unused fields
This commit is contained in:
@@ -62,11 +62,8 @@ type Account struct {
|
||||
BalanceMap map[string]BalanceChain
|
||||
UnitCounters []*UnitsCounter
|
||||
ActionTriggers ActionTriggerPriotityList
|
||||
Groups GroupLinks // user info about groups
|
||||
// group information
|
||||
UserIds []string // group info about users
|
||||
AllowNegative bool
|
||||
Disabled bool
|
||||
AllowNegative bool
|
||||
Disabled bool
|
||||
}
|
||||
|
||||
// Returns user's available minutes for the specified destination
|
||||
|
||||
@@ -32,13 +32,12 @@ type Balance struct {
|
||||
Value float64
|
||||
ExpirationDate time.Time
|
||||
Weight float64
|
||||
//GroupIds []string
|
||||
DestinationId string
|
||||
RateSubject string
|
||||
SharedGroup string
|
||||
precision int
|
||||
account *Account // used to store ub reference for shared balances
|
||||
dirty bool
|
||||
DestinationId string
|
||||
RateSubject string
|
||||
SharedGroup string
|
||||
precision int
|
||||
account *Account // used to store ub reference for shared balances
|
||||
dirty bool
|
||||
}
|
||||
|
||||
func (b *Balance) Equal(o *Balance) bool {
|
||||
|
||||
Reference in New Issue
Block a user