2023-02-09 22:48:06 +03:30
|
|
|
package xray
|
|
|
|
|
|
|
|
|
|
type ClientTraffic struct {
|
2023-02-18 16:07:32 +03:30
|
|
|
Id int `json:"id" form:"id" gorm:"primaryKey;autoIncrement"`
|
2025-02-04 11:27:58 +01:00
|
|
|
InboundId int `json:"inboundId" form:"inboundId"`
|
2023-02-09 22:48:06 +03:30
|
|
|
Enable bool `json:"enable" form:"enable"`
|
2025-02-04 11:27:58 +01:00
|
|
|
Email string `json:"email" form:"email" gorm:"unique"`
|
2023-02-18 16:07:32 +03:30
|
|
|
Up int64 `json:"up" form:"up"`
|
|
|
|
|
Down int64 `json:"down" form:"down"`
|
2025-08-28 02:40:50 +03:30
|
|
|
AllTime int64 `json:"allTime" form:"allTime"`
|
2023-02-09 22:48:06 +03:30
|
|
|
ExpiryTime int64 `json:"expiryTime" form:"expiryTime"`
|
|
|
|
|
Total int64 `json:"total" form:"total"`
|
2023-12-04 19:20:16 +01:00
|
|
|
Reset int `json:"reset" form:"reset" gorm:"default:0"`
|
2023-02-09 22:48:06 +03:30
|
|
|
}
|