master
package model func init() { Register(&Company{}) } // Company represents company model type Company struct { Base Name string `json:"name"` Active bool `json:"active"` Locations []Location `json:"locations,omitempty"` Owner User `json:"owner"` }