123456789101112131415161718192021 |
- package model
- import "time"
- type GlobalLimit struct {
- Id int `gorm:"primary"`
- HostId int
- Name string
- GroupId int
- Uid int
- CdnUid int
- Comment string
- State bool `gorm:"column:state" default:"true"`
- ExpiredAt int64 `gorm:"column:expired_at"`
- createdAt time.Time
- updatedAt time.Time
- }
- func (m *GlobalLimit) TableName() string {
- return "shd_waf"
- }
|