mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-03-01 01:20:49 +03:00

* Revert "json post base path bug fixed (#2647)" This reverts commit04cf250a54
. * Revert "Group Management of Subscription Clients" * Revert "fix getSubGroupClients for enable/disable and edit clients." * Revert "Enhance database initialization in db.go (#2645)" This reverts commit66fe84181b
. * Revert "Add checkpoint handling in CloseDB function (#2646)" This reverts commit4dd40f6f19
. * Revert "Improved database model migration and added indexing (#2655)" This reverts commitb922d986d6
.
14 lines
536 B
Go
14 lines
536 B
Go
package xray
|
|
|
|
type ClientTraffic struct {
|
|
Id int `json:"id" form:"id" gorm:"primaryKey;autoIncrement"`
|
|
InboundId int `json:"inboundId" form:"inboundId"`
|
|
Enable bool `json:"enable" form:"enable"`
|
|
Email string `json:"email" form:"email" gorm:"unique"`
|
|
Up int64 `json:"up" form:"up"`
|
|
Down int64 `json:"down" form:"down"`
|
|
ExpiryTime int64 `json:"expiryTime" form:"expiryTime"`
|
|
Total int64 `json:"total" form:"total"`
|
|
Reset int `json:"reset" form:"reset" gorm:"default:0"`
|
|
}
|