mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-09-18 01:06:40 +08:00
34 lines
1.9 KiB
Go
34 lines
1.9 KiB
Go
// =================================================================================
|
||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||
// =================================================================================
|
||
|
||
package entity
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/encoding/gjson"
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
)
|
||
|
||
// SysServeLicense is the golang structure for table sys_serve_license.
|
||
type SysServeLicense struct {
|
||
Id int64 `json:"id" description:"许可ID"`
|
||
Group string `json:"group" description:"分组"`
|
||
Name string `json:"name" description:"许可名称"`
|
||
Appid string `json:"appid" description:"应用ID"`
|
||
SecretKey string `json:"secretKey" description:"应用秘钥"`
|
||
Desc string `json:"desc" description:"授权说明"`
|
||
RemoteAddr string `json:"remoteAddr" description:"最后连接地址"`
|
||
Online int `json:"online" description:"在线数量"`
|
||
OnlineLimit int `json:"onlineLimit" description:"在线数量限制,默认1"`
|
||
LoginTimes int64 `json:"loginTimes" description:"登录次数"`
|
||
LastLoginAt *gtime.Time `json:"lastLoginAt" description:"最后登录时间"`
|
||
LastActiveAt *gtime.Time `json:"lastActiveAt" description:"最后活跃时间"`
|
||
Routes *gjson.Json `json:"routes" description:"路由表,空使用默认分组路由"`
|
||
AllowedIps string `json:"allowedIps" description:"白名单,*代表所有,只有允许的IP才能连接到tcp服务"`
|
||
EndAt *gtime.Time `json:"endAt" description:"授权结束时间"`
|
||
Remark string `json:"remark" description:"备注"`
|
||
Status int `json:"status" description:"状态"`
|
||
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
|
||
UpdatedAt *gtime.Time `json:"updatedAt" description:"修改时间"`
|
||
}
|