client_traffic.go 536 B

12345678910111213
  1. package xray
  2. type ClientTraffic struct {
  3. Id int `json:"id" form:"id" gorm:"primaryKey;autoIncrement"`
  4. InboundId int `json:"inboundId" form:"inboundId"`
  5. Enable bool `json:"enable" form:"enable"`
  6. Email string `json:"email" form:"email" gorm:"unique"`
  7. Up int64 `json:"up" form:"up"`
  8. Down int64 `json:"down" form:"down"`
  9. ExpiryTime int64 `json:"expiryTime" form:"expiryTime"`
  10. Total int64 `json:"total" form:"total"`
  11. Reset int `json:"reset" form:"reset" gorm:"default:0"`
  12. }