3x-ui/xray/client_traffic.go

14 lines
536 B
Go
Raw Normal View History

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"`
InboundId int `json:"inboundId" form:"inboundId"`
2023-02-09 22:18:06 +03:00
Enable bool `json:"enable" form:"enable"`
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
}