package model type NodeClientTraffic struct { Id int `json:"id" gorm:"primaryKey;autoIncrement"` NodeId int `json:"nodeId" gorm:"uniqueIndex:idx_node_email,priority:1;not null"` Email string `json:"email" gorm:"uniqueIndex:idx_node_email,priority:2;not null"` Up int64 `json:"up"` Down int64 `json:"down"` // The node counter fell below this baseline while the client's lifecycle was // frozen: renewal evidence the merge has not judged yet (#6228). DippedWhileFrozen bool `json:"dippedWhileFrozen" gorm:"not null;default:false"` }