chore: seed migration objects batch 5
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// ImSecurityIpRules is the golang structure for table im_security_ip_rules.
|
||||
type ImSecurityIpRules struct {
|
||||
Id int64 `json:"id" orm:"id" description:""`
|
||||
TenantId int64 `json:"tenantId" orm:"tenant_id" description:""`
|
||||
RuleType string `json:"ruleType" orm:"rule_type" description:"whitelist or blacklist"`
|
||||
IpCidr string `json:"ipCidr" orm:"ip_cidr" description:"IPv4, IPv6 or CIDR"`
|
||||
Action string `json:"action" orm:"action" description:"allow, challenge, block, audit_only"`
|
||||
SceneJson *gjson.Json `json:"sceneJson" orm:"scene_json" description:"login, register, message, upload and other scenes"`
|
||||
RiskLevel string `json:"riskLevel" orm:"risk_level" description:""`
|
||||
Status int `json:"status" orm:"status" description:"1 enabled, 2 disabled"`
|
||||
ExpiresAt *gtime.Time `json:"expiresAt" orm:"expires_at" description:""`
|
||||
Remark string `json:"remark" orm:"remark" description:""`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:""`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:""`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:""`
|
||||
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" description:""`
|
||||
}
|
||||
Reference in New Issue
Block a user