Files
SamWaf/model/anticc.go
2022-11-21 14:10:44 +08:00

17 lines
742 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package model
import "time"
type AntiCC struct {
Id string `gorm:"primary_key" json:"id"`
UserCode string `json:"user_code"` //用户码(主要键)
TenantId string `json:"tenant_id"` //租户ID主要键
HostCode string `json:"host_code"` //网站唯一码(主要键)
Rate int `json:"rate"` //速率
Limit int `json:"limit"` //限制
Url string `json:"url"` //保护的url
Remarks string `json:"remarks"` //备注
CreateTime time.Time `json:"create_time"` //创建时间
LastUpdateTime time.Time `json:"last_update_time"` //上次更新时间
}