33 lines
1.1 KiB
Go
33 lines
1.1 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package do
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/encoding/gjson"
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// ImSecurityIpRules is the golang structure of table im_security_ip_rules for DAO operations like Where/Data.
|
|
type ImSecurityIpRules struct {
|
|
g.Meta `orm:"table:im_security_ip_rules, do:true"`
|
|
Id any //
|
|
TenantId any //
|
|
RuleType any // whitelist or blacklist
|
|
IpCidr any // IPv4, IPv6 or CIDR
|
|
Action any // allow, challenge, block, audit_only
|
|
SceneJson *gjson.Json // login, register, message, upload and other scenes
|
|
RiskLevel any //
|
|
Status any // 1 enabled, 2 disabled
|
|
ExpiresAt *gtime.Time //
|
|
Remark any //
|
|
CreatedAt *gtime.Time //
|
|
CreatedBy any //
|
|
UpdatedAt *gtime.Time //
|
|
UpdatedBy any //
|
|
DeletedAt *gtime.Time //
|
|
DeletedBy any //
|
|
}
|