Полная зачистка legacy + закрытие fix24.1/fix24.2 + обновление логотипа
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package entity
|
||||
|
||||
type TrafficSample struct {
|
||||
PeerId *int64 `gorm:"column:peer_id;default:0" json:"peerId"`
|
||||
AuthId *string `gorm:"column:auth_id;default:''" json:"authId"`
|
||||
RxBytes *int64 `gorm:"column:rx_bytes;default:0" json:"rxBytes"`
|
||||
TxBytes *int64 `gorm:"column:tx_bytes;default:0" json:"txBytes"`
|
||||
SampledAt *int64 `gorm:"column:sampled_at;default:0" json:"sampledAt"`
|
||||
BaseEntity `gorm:"embedded"`
|
||||
}
|
||||
|
||||
func (TrafficSample) TableName() string {
|
||||
return "traffic_sample"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user