2023-02-09 22:18:06 +03:00
|
|
|
package xray
|
|
|
|
|
|
|
|
type ClientTraffic struct {
|
2023-02-18 15:37:32 +03:00
|
|
|
Id int `json:"id" form:"id" gorm:"primaryKey;autoIncrement"`
|
2025-02-04 13:27:58 +03:00
|
|
|
InboundId int `json:"inboundId" form:"inboundId"`
|
2023-02-09 22:18:06 +03:00
|
|
|
Enable bool `json:"enable" form:"enable"`
|
2025-02-04 13:27:58 +03:00
|
|
|
Email string `json:"email" form:"email" gorm:"unique"`
|
2023-02-18 15:37:32 +03:00
|
|
|
Up int64 `json:"up" form:"up"`
|
|
|
|
Down int64 `json:"down" form:"down"`
|
2023-02-09 22:18:06 +03:00
|
|
|
ExpiryTime int64 `json:"expiryTime" form:"expiryTime"`
|
|
|
|
Total int64 `json:"total" form:"total"`
|
2023-12-04 21:20:16 +03:00
|
|
|
Reset int `json:"reset" form:"reset" gorm:"default:0"`
|
2023-02-09 22:18:06 +03:00
|
|
|
}
|