package model type Settings struct { ID int `gorm:"primaryKey"` // this is always 1 CurrentAlgorithm string `json:"current_algorithm" mapstructure:"current_algorithm"` LocationConfidence int64 `json:"location_confidence" mapstructure:"location_confidence"` LastSeenThreshold int64 `json:"last_seen_threshold" mapstructure:"last_seen_threshold"` BeaconMetricSize int `json:"beacon_metric_size" mapstructure:"beacon_metric_size"` HASendInterval int `json:"HA_send_interval" mapstructure:"HA_send_interval"` HASendChangesOnly bool `json:"HA_send_changes_only" mapstructure:"HA_send_changes_only"` RSSIEnforceThreshold bool `json:"RSSI_enforce_threshold" mapstructure:"RSSI_enforce_threshold"` RSSIMinThreshold int64 `json:"RSSI_min_threshold" mapstructure:"RSSI_min_threshold"` }