SEBA-258 - Added MONGODB backup
Change-Id: I2542e7dfc894dfa5a1269c6be99cfa8036b9911c
diff --git a/models/physical/ont.go b/models/physical/ont.go
index 79c21ee..21fbbae 100644
--- a/models/physical/ont.go
+++ b/models/physical/ont.go
@@ -20,12 +20,12 @@
Ont represents a single ont/onu connect to a splitter on a Port
*/
type Ont struct {
- Number int
- Svlan int
- Cvlan int
- SerialNumber string
- Parent *PONPort `json:"-"`
- Active bool
- NasPortID string
- CircuitID string
+ Number int `json:",omitempty"`
+ Svlan int `,json:",omitempty"`
+ Cvlan int `,json:",omitempty"`
+ SerialNumber string `,json:",omitempty"`
+ Parent *PONPort `json:"-" bson:"-"`
+ Active bool `json:",omitempty"`
+ NasPortID string `json:",omitempty"`
+ CircuitID string `json:",omitempty"`
}