mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 16:48:45 +05:00
added blocker flag to models
This commit is contained in:
@@ -167,8 +167,9 @@ type TpAction struct {
|
||||
TimingTags string `index:"11" re:"[0-9A-Za-z_;]*|\*any"`
|
||||
Units float64 `index:"12" re:"\d+\s*"`
|
||||
BalanceWeight float64 `index:"13" re:"\d+\.?\d*\s*"`
|
||||
BalanceDisabled bool `index:"14" re:""`
|
||||
Weight float64 `index:"15" re:"\d+\.?\d*\s*"`
|
||||
BalanceBlocker bool `index:"14" re:""`
|
||||
BalanceDisabled bool `index:"15" re:""`
|
||||
Weight float64 `index:"16" re:"\d+\.?\d*\s*"`
|
||||
CreatedAt time.Time
|
||||
}
|
||||
|
||||
@@ -201,10 +202,11 @@ type TpActionTrigger struct {
|
||||
BalanceExpiryTime string `index:"13" re:"\*\w+\s*|\+\d+[smh]\s*|\d+\s*"`
|
||||
BalanceTimingTags string `index:"14" re:"[0-9A-Za-z_;]*|\*any"`
|
||||
BalanceWeight float64 `index:"15" re:"\d+\.?\d*"`
|
||||
BalanceDisabled bool `index:"16" re:""`
|
||||
MinQueuedItems int `index:"17" re:"\d+"`
|
||||
ActionsTag string `index:"18" re:"\w+"`
|
||||
Weight float64 `index:"19" re:"\d+\.?\d*"`
|
||||
BalanceBlocker bool `index:"16" re:""`
|
||||
BalanceDisabled bool `index:"17" re:""`
|
||||
MinQueuedItems int `index:"18" re:"\d+"`
|
||||
ActionsTag string `index:"19" re:"\w+"`
|
||||
Weight float64 `index:"20" re:"\d+\.?\d*"`
|
||||
CreatedAt time.Time
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user