Files
im_manager/server/internal/model/entity/im_sensitive_words.go
T

34 lines
2.0 KiB
Go

// =================================================================================
// 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"
)
// ImSensitiveWords is the golang structure for table im_sensitive_words.
type ImSensitiveWords struct {
Id int64 `json:"id" orm:"id" description:""`
TenantId int64 `json:"tenantId" orm:"tenant_id" description:"0 means global dictionary"`
GroupId int64 `json:"groupId" orm:"group_id" description:""`
Word string `json:"word" orm:"word" description:""`
WordHash string `json:"wordHash" orm:"word_hash" description:"SHA-256 of normalized word"`
MatchType string `json:"matchType" orm:"match_type" description:""`
SceneJson *gjson.Json `json:"sceneJson" orm:"scene_json" description:"Enabled scenes"`
Action string `json:"action" orm:"action" description:""`
Replacement string `json:"replacement" orm:"replacement" description:""`
RiskLevel string `json:"riskLevel" orm:"risk_level" description:""`
Priority int `json:"priority" orm:"priority" description:""`
Status int `json:"status" orm:"status" description:"1 enabled, 2 disabled"`
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:""`
}