package admin import "time" type WafManageList struct { Id int64 `json:"id" form:"id" gorm:"column:id;"` HostId int64 `json:"hostId" form:"hostId" gorm:"column:host_id;"` Uid int64 `json:"uid" form:"uid" gorm:"column:uid;"` Username string `json:"username" form:"username"` Name string `json:"name" form:"name" gorm:"column:name;"` ExpiredAt time.Time `json:"expiredAt" form:"expiredAt" gorm:"column:expired_at;"` Current int `form:"current" json:"current" default:"1"` PageSize int `form:"pageSize" json:"pageSize" default:"10"` Column string `form:"column" json:"column" default:"id"` Order string `form:"order" json:"order" default:"desc"` } type WafManageListRes struct { Id int64 `json:"id" form:"id" gorm:"column:id;"` HostId int64 `json:"hostId" form:"hostId" gorm:"column:host_id;"` Uid int64 `json:"uid" form:"uid" gorm:"column:uid;"` Username string `json:"username" form:"username"` Name string `json:"name" form:"name" gorm:"column:name;"` ExpiredAt int64 `json:"expiredAt" form:"expiredAt" gorm:"column:expired_at;"` NextDueDate int64 `json:"nextDueDate" form:"nextDueDate" gorm:"column:nextduedate"` }