38 lines
3.0 KiB
Go
38 lines
3.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"
|
|
)
|
|
|
|
// ImSecurityPolicy is the golang structure for table im_security_policy.
|
|
type ImSecurityPolicy struct {
|
|
Id int64 `json:"id" orm:"id" description:""`
|
|
TenantId int64 `json:"tenantId" orm:"tenant_id" description:"0 means global fallback policy"`
|
|
PolicyVersion uint `json:"policyVersion" orm:"policy_version" description:""`
|
|
PolicyName string `json:"policyName" orm:"policy_name" description:""`
|
|
PublishStatus string `json:"publishStatus" orm:"publish_status" description:""`
|
|
PasswordPolicy *gjson.Json `json:"passwordPolicy" orm:"password_policy" description:""`
|
|
LoginRateLimit *gjson.Json `json:"loginRateLimit" orm:"login_rate_limit" description:""`
|
|
SensitiveWordPolicy *gjson.Json `json:"sensitiveWordPolicy" orm:"sensitive_word_policy" description:""`
|
|
FileReviewPolicy *gjson.Json `json:"fileReviewPolicy" orm:"file_review_policy" description:""`
|
|
RealnamePolicy *gjson.Json `json:"realnamePolicy" orm:"realname_policy" description:""`
|
|
RiskChallengePolicy *gjson.Json `json:"riskChallengePolicy" orm:"risk_challenge_policy" description:""`
|
|
GlobalFriendEnabled int `json:"globalFriendEnabled" orm:"global_friend_enabled" description:"Backend master switch for every add-friend entry"`
|
|
FriendDisabledPolicy *gjson.Json `json:"friendDisabledPolicy" orm:"friend_disabled_policy" description:"Profile masking, QR and group-member restrictions"`
|
|
MessageCurfewEnabled int `json:"messageCurfewEnabled" orm:"message_curfew_enabled" description:"Backend master switch for message curfew"`
|
|
Remark string `json:"remark" orm:"remark" description:""`
|
|
PublishedAt *gtime.Time `json:"publishedAt" orm:"published_at" description:""`
|
|
PublishedBy int64 `json:"publishedBy" orm:"published_by" 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:""`
|
|
}
|