32 lines
2.0 KiB
Go
32 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"
|
|
)
|
|
|
|
// ImUserPolicyGroups is the golang structure for table im_user_policy_groups.
|
|
type ImUserPolicyGroups struct {
|
|
Id int64 `json:"id" orm:"id" description:""`
|
|
TenantId int64 `json:"tenantId" orm:"tenant_id" description:"0 means global default"`
|
|
GroupCode string `json:"groupCode" orm:"group_code" description:"Stable policy group code"`
|
|
GroupName string `json:"groupName" orm:"group_name" description:"Policy group name"`
|
|
Priority int `json:"priority" orm:"priority" description:"Higher value has higher priority"`
|
|
Status int `json:"status" orm:"status" description:"1 enabled, 2 disabled"`
|
|
PolicyJson *gjson.Json `json:"policyJson" orm:"policy_json" description:"Login, friend, message, group and file policies"`
|
|
IpWhitelist *gjson.Json `json:"ipWhitelist" orm:"ip_whitelist" description:"IPv4/IPv6 or CIDR list"`
|
|
IpBlacklist *gjson.Json `json:"ipBlacklist" orm:"ip_blacklist" description:"IPv4/IPv6 or CIDR list"`
|
|
Version uint `json:"version" orm:"version" description:"Optimistic-lock/config version"`
|
|
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:""`
|
|
}
|