forked from admpub/nging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.go
50 lines (42 loc) · 139 KB
/
init.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// @generated Do not edit a file, which is automatically generated by the generator.
package dbschema
import (
"github.com/webx-top/db/lib/factory"
)
var WithPrefix = func(tableName string) string {
return "" + tableName
}
var DBI = factory.DefaultDBI
func init() {
DBI.Fields.Register(map[string]map[string]*factory.FieldInfo{"nging_access_log": {"body_bytes": {Name: "body_bytes", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "0", Comment: "响应body字节数", GoType: "uint64", MyType: "", GoName: "BodyBytes"}, "brower_name": {Name: "brower_name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "浏览器名", GoType: "string", MyType: "", GoName: "BrowerName"}, "brower_type": {Name: "brower_type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "浏览器类型(spider/mobile/pc)", GoType: "string", MyType: "", GoName: "BrowerType"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "elapsed": {Name: "elapsed", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+08, Precision: 2, MaxSize: 10, Options: []string{}, DefaultValue: "0.00", Comment: "耗时(秒)", GoType: "float64", MyType: "", GoName: "Elapsed"}, "hit_status": {Name: "hit_status", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "缓存服务器命中状态", GoType: "uint", MyType: "", GoName: "HitStatus"}, "host": {Name: "host", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "Header中的Host, 一般会是域名", GoType: "string", MyType: "", GoName: "Host"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "local_addr": {Name: "local_addr", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "本机地址", GoType: "string", MyType: "", GoName: "LocalAddr"}, "method": {Name: "method", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "GET POST HEAD OPTIONS PUT DELETE...", GoType: "string", MyType: "", GoName: "Method"}, "minute": {Name: "minute", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "", Comment: "H:i", GoType: "string", MyType: "", GoName: "Minute"}, "referer": {Name: "referer", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "来源网址", GoType: "string", MyType: "", GoName: "Referer"}, "remote_addr": {Name: "remote_addr", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "IP地址", GoType: "string", MyType: "", GoName: "RemoteAddr"}, "scheme": {Name: "scheme", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "https/http", GoType: "string", MyType: "", GoName: "Scheme"}, "status_code": {Name: "status_code", DataType: "mediumint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 99999, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "0", Comment: "状态码", GoType: "uint", MyType: "", GoName: "StatusCode"}, "time_local": {Name: "time_local", DataType: "datetime", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "1970-01-01 00:00:00", Comment: "本地时间格式", GoType: "string", MyType: "", GoName: "TimeLocal"}, "uri": {Name: "uri", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "网址", GoType: "string", MyType: "", GoName: "Uri"}, "user": {Name: "user", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 64, Options: []string{}, DefaultValue: "", Comment: "用户", GoType: "string", MyType: "", GoName: "User"}, "user_agent": {Name: "user_agent", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "用户代理", GoType: "string", MyType: "", GoName: "UserAgent"}, "version": {Name: "version", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "HTTP/1.0, HTTP/1.1 ...", GoType: "string", MyType: "", GoName: "Version"}, "vhost_id": {Name: "vhost_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "虚拟主机ID", GoType: "uint", MyType: "", GoName: "VhostId"}, "x_forward_for": {Name: "x_forward_for", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "IP", GoType: "string", MyType: "", GoName: "XForwardFor"}, "x_real_ip": {Name: "x_real_ip", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "IP", GoType: "string", MyType: "", GoName: "XRealIp"}}, "nging_alert_recipient": {"account": {Name: "account", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "账号", GoType: "string", MyType: "", GoName: "Account"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 500, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "extra": {Name: "extra", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "扩展信息(JSON)", GoType: "string", MyType: "", GoName: "Extra"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "名称", GoType: "string", MyType: "", GoName: "Name"}, "platform": {Name: "platform", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "平台(dingding-钉钉;workwx-企业微信)", GoType: "string", MyType: "", GoName: "Platform"}, "type": {Name: "type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"email", "webhook"}, DefaultValue: "email", Comment: "类型", GoType: "string", MyType: "", GoName: "Type"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "nging_alert_topic": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "recipient_id": {Name: "recipient_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "收信账号", GoType: "uint", MyType: "", GoName: "RecipientId"}, "topic": {Name: "topic", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "通知专题", GoType: "string", MyType: "", GoName: "Topic"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "nging_cloud_storage": {"baseurl": {Name: "baseurl", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "资源基础网址", GoType: "string", MyType: "", GoName: "Baseurl"}, "bucket": {Name: "bucket", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "存储桶", GoType: "string", MyType: "", GoName: "Bucket"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "endpoint": {Name: "endpoint", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "地域节点", GoType: "string", MyType: "", GoName: "Endpoint"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "key": {Name: "key", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 128, Options: []string{}, DefaultValue: "", Comment: "key", GoType: "string", MyType: "", GoName: "Key"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "名称", GoType: "string", MyType: "", GoName: "Name"}, "region": {Name: "region", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "地区", GoType: "string", MyType: "", GoName: "Region"}, "secret": {Name: "secret", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "密钥(加密处理)", GoType: "string", MyType: "", GoName: "Secret"}, "secure": {Name: "secure", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "Y", Comment: "是否(Y/N)HTTPS", GoType: "string", MyType: "", GoName: "Secure"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "aws", Comment: "存储类型(aws,oss,cos)", GoType: "string", MyType: "", GoName: "Type"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "nging_code_invitation": {"code": {Name: "code", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 40, Options: []string{}, DefaultValue: "", Comment: "邀请码", GoType: "string", MyType: "", GoName: "Code"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "end": {Name: "end", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "失效时间", GoType: "uint", MyType: "", GoName: "End"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "recv_uid": {Name: "recv_uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "使用者", GoType: "uint", MyType: "", GoName: "RecvUid"}, "role_ids": {Name: "role_ids", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "注册为角色(多个用“,”分隔开)", GoType: "string", MyType: "", GoName: "RoleIds"}, "start": {Name: "start", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "有效时间", GoType: "uint", MyType: "", GoName: "Start"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建者", GoType: "uint", MyType: "", GoName: "Uid"}, "used": {Name: "used", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "使用时间", GoType: "uint", MyType: "", GoName: "Used"}}, "nging_code_verification": {"code": {Name: "code", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 40, Options: []string{}, DefaultValue: "", Comment: "验证码", GoType: "string", MyType: "", GoName: "Code"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "end": {Name: "end", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "失效时间", GoType: "uint", MyType: "", GoName: "End"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "owner_id": {Name: "owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "0", Comment: "所有者ID", GoType: "uint64", MyType: "", GoName: "OwnerId"}, "owner_type": {Name: "owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "user", Comment: "所有者类型", GoType: "string", MyType: "", GoName: "OwnerType"}, "purpose": {Name: "purpose", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 40, Options: []string{}, DefaultValue: "", Comment: "目的", GoType: "string", MyType: "", GoName: "Purpose"}, "send_method": {Name: "send_method", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "mobile", Comment: "发送方式(mobile-手机;email-邮箱)", GoType: "string", MyType: "", GoName: "SendMethod"}, "send_to": {Name: "send_to", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "发送目标", GoType: "string", MyType: "", GoName: "SendTo"}, "start": {Name: "start", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "有效时间", GoType: "uint", MyType: "", GoName: "Start"}, "used": {Name: "used", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "使用时间", GoType: "uint", MyType: "", GoName: "Used"}}, "nging_collector_export": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "dest": {Name: "dest", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 300, Options: []string{}, DefaultValue: "", Comment: "目标", GoType: "string", MyType: "", GoName: "Dest"}, "dest_type": {Name: "dest_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"API", "DSN", "dbAccountID"}, DefaultValue: "dbAccountID", Comment: "目标类型", GoType: "string", MyType: "", GoName: "DestType"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "exported": {Name: "exported", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "最近导出时间", GoType: "uint", MyType: "", GoName: "Exported"}, "group_id": {Name: "group_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "组ID", GoType: "uint", MyType: "", GoName: "GroupId"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "mapping": {Name: "mapping", DataType: "longtext", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "字段映射", GoType: "string", MyType: "", GoName: "Mapping"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "方案名", GoType: "string", MyType: "", GoName: "Name"}, "page_id": {Name: "page_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "页面ID", GoType: "uint", MyType: "", GoName: "PageId"}, "page_root": {Name: "page_root", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "根页面ID", GoType: "uint", MyType: "", GoName: "PageRoot"}}, "nging_collector_export_log": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "export_id": {Name: "export_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "导出方案ID", GoType: "uint", MyType: "", GoName: "ExportId"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "page_id": {Name: "page_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "页面规则ID", GoType: "uint", MyType: "", GoName: "PageId"}, "result": {Name: "result", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "结果", GoType: "string", MyType: "", GoName: "Result"}, "status": {Name: "status", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"idle", "start", "success", "failure"}, DefaultValue: "idle", Comment: "状态", GoType: "string", MyType: "", GoName: "Status"}}, "nging_collector_group": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "组名", GoType: "string", MyType: "", GoName: "Name"}, "type": {Name: "type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"page", "export"}, DefaultValue: "page", Comment: "类型(page-页面规则组;export-导出规则组)", GoType: "string", MyType: "", GoName: "Type"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "用户ID", GoType: "uint", MyType: "", GoName: "Uid"}}, "nging_collector_history": {"content": {Name: "content", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 32, Options: []string{}, DefaultValue: "", Comment: "页面内容MD5", GoType: "string", MyType: "", GoName: "Content"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "data": {Name: "data", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "采集到的数据", GoType: "string", MyType: "", GoName: "Data"}, "exported": {Name: "exported", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "最近导出时间", GoType: "uint", MyType: "", GoName: "Exported"}, "has_child": {Name: "has_child", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"N", "Y"}, DefaultValue: "N", Comment: "是否有子级", GoType: "string", MyType: "", GoName: "HasChild"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 1.8446744073709552e+19, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "page_id": {Name: "page_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "页面ID", GoType: "uint", MyType: "", GoName: "PageId"}, "page_parent_id": {Name: "page_parent_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "父页面ID", GoType: "uint", MyType: "", GoName: "PageParentId"}, "page_root_id": {Name: "page_root_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "入口页面ID", GoType: "uint", MyType: "", GoName: "PageRootId"}, "parent_id": {Name: "parent_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1.8446744073709552e+19, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "0", Comment: "父ID", GoType: "uint64", MyType: "", GoName: "ParentId"}, "rule_md5": {Name: "rule_md5", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 32, Options: []string{}, DefaultValue: "", Comment: "规则标识MD5", GoType: "string", MyType: "", GoName: "RuleMd5"}, "title": {Name: "title", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "页面标题", GoType: "string", MyType: "", GoName: "Title"}, "url": {Name: "url", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 300, Options: []string{}, DefaultValue: "", Comment: "页面网址", GoType: "string", MyType: "", GoName: "Url"}, "url_md5": {Name: "url_md5", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 32, Options: []string{}, DefaultValue: "", Comment: "页面网址MD5", GoType: "string", MyType: "", GoName: "UrlMd5"}}, "nging_collector_page": {"browser": {Name: "browser", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "浏览器", GoType: "string", MyType: "", GoName: "Browser"}, "charset": {Name: "charset", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "字符集", GoType: "string", MyType: "", GoName: "Charset"}, "content_type": {Name: "content_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"html", "json", "text"}, DefaultValue: "html", Comment: "内容类型", GoType: "string", MyType: "", GoName: "ContentType"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "duplicate_rule": {Name: "duplicate_rule", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "none", Comment: "去重规则(url-判断网址;rule-判断规则是否改过;content-判断网页内容是否改过;none-不去重)", GoType: "string", MyType: "", GoName: "DuplicateRule"}, "enter_url": {Name: "enter_url", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "入口网址模板(网址一行一个)", GoType: "string", MyType: "", GoName: "EnterUrl"}, "group_id": {Name: "group_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "规则组", GoType: "uint", MyType: "", GoName: "GroupId"}, "has_child": {Name: "has_child", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"N", "Y"}, DefaultValue: "N", Comment: "是否有子级", GoType: "string", MyType: "", GoName: "HasChild"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "规则名", GoType: "string", MyType: "", GoName: "Name"}, "parent_id": {Name: "parent_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "父级规则", GoType: "uint", MyType: "", GoName: "ParentId"}, "proxy": {Name: "proxy", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "代理地址", GoType: "string", MyType: "", GoName: "Proxy"}, "root_id": {Name: "root_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "根页面ID", GoType: "uint", MyType: "", GoName: "RootId"}, "scope_rule": {Name: "scope_rule", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 300, Options: []string{}, DefaultValue: "", Comment: "页面区域规则", GoType: "string", MyType: "", GoName: "ScopeRule"}, "sort": {Name: "sort", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -9.9999999999e+10, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "排序", GoType: "int", MyType: "", GoName: "Sort"}, "timeout": {Name: "timeout", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "超时时间(秒)", GoType: "uint", MyType: "", GoName: "Timeout"}, "type": {Name: "type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"list", "content"}, DefaultValue: "content", Comment: "页面类型", GoType: "string", MyType: "", GoName: "Type"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "用户ID", GoType: "uint", MyType: "", GoName: "Uid"}, "waits": {Name: "waits", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "等待时间范围(秒),例如2-8", GoType: "string", MyType: "", GoName: "Waits"}}, "nging_collector_rule": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "filter": {Name: "filter", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 500, Options: []string{}, DefaultValue: "", Comment: "过滤器", GoType: "string", MyType: "", GoName: "Filter"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "保存匹配结果的变量名", GoType: "string", MyType: "", GoName: "Name"}, "page_id": {Name: "page_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "页面ID", GoType: "uint", MyType: "", GoName: "PageId"}, "rule": {Name: "rule", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "规则", GoType: "string", MyType: "", GoName: "Rule"}, "sort": {Name: "sort", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -9.9999999999e+10, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "排序", GoType: "int", MyType: "", GoName: "Sort"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "string", Comment: "数据类型", GoType: "string", MyType: "", GoName: "Type"}}, "nging_command": {"command": {Name: "command", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "命令", GoType: "string", MyType: "", GoName: "Command"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "添加时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "tinytext", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "env": {Name: "env", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "环境变量(一行一个,格式为:var1=val1)", GoType: "string", MyType: "", GoName: "Env"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "名称", GoType: "string", MyType: "", GoName: "Name"}, "remote": {Name: "remote", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否执行远程SSH命令", GoType: "string", MyType: "", GoName: "Remote"}, "ssh_account_id": {Name: "ssh_account_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "SSH账号ID", GoType: "uint", MyType: "", GoName: "SshAccountId"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}, "work_directory": {Name: "work_directory", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "工作目录", GoType: "string", MyType: "", GoName: "WorkDirectory"}}, "nging_config": {"description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "简介", GoType: "string", MyType: "", GoName: "Description"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "encrypted": {Name: "encrypted", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否加密", GoType: "string", MyType: "", GoName: "Encrypted"}, "group": {Name: "group", DataType: "varchar", Unsigned: false, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "组", GoType: "string", MyType: "", GoName: "Group"}, "key": {Name: "key", DataType: "varchar", Unsigned: false, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "键", GoType: "string", MyType: "", GoName: "Key"}, "label": {Name: "label", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 90, Options: []string{}, DefaultValue: "", Comment: "选项名称", GoType: "string", MyType: "", GoName: "Label"}, "sort": {Name: "sort", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -9.999999999e+09, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "排序", GoType: "int", MyType: "", GoName: "Sort"}, "type": {Name: "type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"id", "text", "url", "html", "image", "video", "audio", "file", "json", "list"}, DefaultValue: "text", Comment: "值类型(list-以半角逗号分隔的值列表)", GoType: "string", MyType: "", GoName: "Type"}, "value": {Name: "value", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 2000, Options: []string{}, DefaultValue: "", Comment: "值", GoType: "string", MyType: "", GoName: "Value"}}, "nging_db_account": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "engine": {Name: "engine", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "mysql", Comment: "数据库引擎", GoType: "string", MyType: "", GoName: "Engine"}, "host": {Name: "host", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "localhost:3306", Comment: "服务器地址", GoType: "string", MyType: "", GoName: "Host"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "数据库名称", GoType: "string", MyType: "", GoName: "Name"}, "options": {Name: "options", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "其它选项(JSON)", GoType: "string", MyType: "", GoName: "Options"}, "password": {Name: "password", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 128, Options: []string{}, DefaultValue: "", Comment: "密码", GoType: "string", MyType: "", GoName: "Password"}, "title": {Name: "title", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "标题", GoType: "string", MyType: "", GoName: "Title"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "UID", GoType: "uint", MyType: "", GoName: "Uid"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}, "user": {Name: "user", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "root", Comment: "用户名", GoType: "string", MyType: "", GoName: "User"}}, "nging_db_sync": {"alter_ignore": {Name: "alter_ignore", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "要忽略的列、索引、外键", GoType: "string", MyType: "", GoName: "AlterIgnore"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "destination_account_id": {Name: "destination_account_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "目标数据库账号ID", GoType: "uint", MyType: "", GoName: "DestinationAccountId"}, "drop": {Name: "drop", DataType: "tinyint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9, Precision: 0, MaxSize: 1, Options: []string{}, DefaultValue: "0", Comment: "删除待同步数据库中多余的字段、索引、外键 ", GoType: "uint", MyType: "", GoName: "Drop"}, "dsn_destination": {Name: "dsn_destination", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "目标数据库", GoType: "string", MyType: "", GoName: "DsnDestination"}, "dsn_source": {Name: "dsn_source", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "同步源", GoType: "string", MyType: "", GoName: "DsnSource"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "mail_to": {Name: "mail_to", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "发送邮件", GoType: "string", MyType: "", GoName: "MailTo"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "方案名", GoType: "string", MyType: "", GoName: "Name"}, "skip_tables": {Name: "skip_tables", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "要跳过的表", GoType: "string", MyType: "", GoName: "SkipTables"}, "source_account_id": {Name: "source_account_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "源数据库账号ID", GoType: "uint", MyType: "", GoName: "SourceAccountId"}, "tables": {Name: "tables", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "要同步的表", GoType: "string", MyType: "", GoName: "Tables"}, "updated": {Name: "updated", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -9.9999999999e+10, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "int", MyType: "", GoName: "Updated"}}, "nging_db_sync_log": {"change_table_num": {Name: "change_table_num", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "被更改的表的数量", GoType: "uint", MyType: "", GoName: "ChangeTableNum"}, "change_tables": {Name: "change_tables", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "被更改的表", GoType: "string", MyType: "", GoName: "ChangeTables"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "elapsed": {Name: "elapsed", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "0", Comment: "总共耗时", GoType: "uint64", MyType: "", GoName: "Elapsed"}, "failed": {Name: "failed", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "失败次数", GoType: "uint", MyType: "", GoName: "Failed"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint64", MyType: "", GoName: "Id"}, "result": {Name: "result", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "结果报表", GoType: "string", MyType: "", GoName: "Result"}, "sync_id": {Name: "sync_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "同步方案ID", GoType: "uint", MyType: "", GoName: "SyncId"}}, "nging_file": {"category_id": {Name: "category_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "分类ID", GoType: "uint", MyType: "", GoName: "CategoryId"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "上传时间", GoType: "uint", MyType: "", GoName: "Created"}, "dpi": {Name: "dpi", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 99999, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "0", Comment: "分辨率", GoType: "uint", MyType: "", GoName: "Dpi"}, "ext": {Name: "ext", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "", Comment: "文件后缀", GoType: "string", MyType: "", GoName: "Ext"}, "field_name": {Name: "field_name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 50, Options: []string{}, DefaultValue: "", Comment: "关联表字段名", GoType: "string", MyType: "", GoName: "FieldName"}, "height": {Name: "height", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "高度(像素)", GoType: "uint", MyType: "", GoName: "Height"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 1.8446744073709552e+19, Precision: 0, MaxSize: 25, Options: []string{}, DefaultValue: "", Comment: "文件ID", GoType: "uint64", MyType: "", GoName: "Id"}, "md5": {Name: "md5", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 32, Options: []string{}, DefaultValue: "", Comment: "文件md5", GoType: "string", MyType: "", GoName: "Md5"}, "mime": {Name: "mime", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 40, Options: []string{}, DefaultValue: "", Comment: "文件mime类型", GoType: "string", MyType: "", GoName: "Mime"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 150, Options: []string{}, DefaultValue: "", Comment: "原始文件名", GoType: "string", MyType: "", GoName: "Name"}, "owner_id": {Name: "owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "0", Comment: "用户ID", GoType: "uint64", MyType: "", GoName: "OwnerId"}, "owner_type": {Name: "owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "user", Comment: "用户类型", GoType: "string", MyType: "", GoName: "OwnerType"}, "project": {Name: "project", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 50, Options: []string{}, DefaultValue: "", Comment: "项目名称", GoType: "string", MyType: "", GoName: "Project"}, "save_name": {Name: "save_name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "保存名称", GoType: "string", MyType: "", GoName: "SaveName"}, "save_path": {Name: "save_path", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "文件保存路径", GoType: "string", MyType: "", GoName: "SavePath"}, "size": {Name: "size", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1.8446744073709552e+19, Precision: 0, MaxSize: 25, Options: []string{}, DefaultValue: "0", Comment: "文件大小", GoType: "uint64", MyType: "", GoName: "Size"}, "sort": {Name: "sort", DataType: "bigint", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -9.233372036854776e+18, Max: 9.233372036854776e+18, Precision: 0, MaxSize: 22, Options: []string{}, DefaultValue: "0", Comment: "排序", GoType: "int64", MyType: "", GoName: "Sort"}, "status": {Name: "status", DataType: "tinyint", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -9, Max: 9, Precision: 0, MaxSize: 1, Options: []string{}, DefaultValue: "0", Comment: "状态(1-已审核/0-未审核)", GoType: "int", MyType: "", GoName: "Status"}, "storer_id": {Name: "storer_id", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 32, Options: []string{}, DefaultValue: "", Comment: "位置ID", GoType: "string", MyType: "", GoName: "StorerId"}, "storer_name": {Name: "storer_name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "文件保存位置", GoType: "string", MyType: "", GoName: "StorerName"}, "table_id": {Name: "table_id", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "0", Comment: "关联表数据id", GoType: "string", MyType: "", GoName: "TableId"}, "table_name": {Name: "table_name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 50, Options: []string{}, DefaultValue: "", Comment: "关联表名称", GoType: "string", MyType: "", GoName: "TableName"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "image", Comment: "文件类型", GoType: "string", MyType: "", GoName: "Type"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}, "used_times": {Name: "used_times", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "被使用的次数", GoType: "uint", MyType: "", GoName: "UsedTimes"}, "view_url": {Name: "view_url", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "查看链接", GoType: "string", MyType: "", GoName: "ViewUrl"}, "width": {Name: "width", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "宽度(像素)", GoType: "uint", MyType: "", GoName: "Width"}}, "nging_file_embedded": {"embedded": {Name: "embedded", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "Y", Comment: "是否(Y/N)为内嵌文件", GoType: "string", MyType: "", GoName: "Embedded"}, "field_name": {Name: "field_name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "字段名", GoType: "string", MyType: "", GoName: "FieldName"}, "file_ids": {Name: "file_ids", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 1000, Options: []string{}, DefaultValue: "", Comment: "文件id列表", GoType: "string", MyType: "", GoName: "FileIds"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "主键", GoType: "uint64", MyType: "", GoName: "Id"}, "project": {Name: "project", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 50, Options: []string{}, DefaultValue: "", Comment: "项目名", GoType: "string", MyType: "", GoName: "Project"}, "table_id": {Name: "table_id", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "0", Comment: "表主键", GoType: "string", MyType: "", GoName: "TableId"}, "table_name": {Name: "table_name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "表名称", GoType: "string", MyType: "", GoName: "TableName"}}, "nging_file_thumb": {"dpi": {Name: "dpi", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 99999, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "0", Comment: "分辨率", GoType: "uint", MyType: "", GoName: "Dpi"}, "file_id": {Name: "file_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1.8446744073709552e+19, Precision: 0, MaxSize: 25, Options: []string{}, DefaultValue: "", Comment: "文件ID", GoType: "uint64", MyType: "", GoName: "FileId"}, "height": {Name: "height", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "高度(像素)", GoType: "uint", MyType: "", GoName: "Height"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 1.8446744073709552e+19, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "主键", GoType: "uint64", MyType: "", GoName: "Id"}, "md5": {Name: "md5", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 32, Options: []string{}, DefaultValue: "", Comment: "缩略图文件MD5值", GoType: "string", MyType: "", GoName: "Md5"}, "save_name": {Name: "save_name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "保存名称", GoType: "string", MyType: "", GoName: "SaveName"}, "save_path": {Name: "save_path", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "保存路径", GoType: "string", MyType: "", GoName: "SavePath"}, "size": {Name: "size", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1.8446744073709552e+19, Precision: 0, MaxSize: 25, Options: []string{}, DefaultValue: "", Comment: "文件大小", GoType: "uint64", MyType: "", GoName: "Size"}, "used_times": {Name: "used_times", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "被使用的次数", GoType: "uint", MyType: "", GoName: "UsedTimes"}, "view_url": {Name: "view_url", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "访问网址", GoType: "string", MyType: "", GoName: "ViewUrl"}, "width": {Name: "width", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "宽度(像素)", GoType: "uint", MyType: "", GoName: "Width"}}, "nging_forever_process": {"args": {Name: "args", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "命令参数", GoType: "string", MyType: "", GoName: "Args"}, "command": {Name: "command", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 300, Options: []string{}, DefaultValue: "", Comment: "命令", GoType: "string", MyType: "", GoName: "Command"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "debug": {Name: "debug", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "DEBUG", GoType: "string", MyType: "", GoName: "Debug"}, "delay": {Name: "delay", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "延迟启动(例如1ms/1s/1m/1h)", GoType: "string", MyType: "", GoName: "Delay"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 500, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "enable_notify": {Name: "enable_notify", DataType: "tinyint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9, Precision: 0, MaxSize: 1, Options: []string{}, DefaultValue: "0", Comment: "是否启用通知", GoType: "uint", MyType: "", GoName: "EnableNotify"}, "env": {Name: "env", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "环境变量", GoType: "string", MyType: "", GoName: "Env"}, "errfile": {Name: "errfile", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "错误记录文件", GoType: "string", MyType: "", GoName: "Errfile"}, "error": {Name: "error", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 300, Options: []string{}, DefaultValue: "", Comment: "错误信息", GoType: "string", MyType: "", GoName: "Error"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "lastrun": {Name: "lastrun", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "上次运行时间", GoType: "uint", MyType: "", GoName: "Lastrun"}, "logfile": {Name: "logfile", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "日志记录文件", GoType: "string", MyType: "", GoName: "Logfile"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "名称", GoType: "string", MyType: "", GoName: "Name"}, "notify_email": {Name: "notify_email", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "通知人列表", GoType: "string", MyType: "", GoName: "NotifyEmail"}, "pid": {Name: "pid", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -9.9999999e+07, Max: 9.9999999e+07, Precision: 0, MaxSize: 8, Options: []string{}, DefaultValue: "0", Comment: "PID", GoType: "int", MyType: "", GoName: "Pid"}, "pidfile": {Name: "pidfile", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "PID记录文件", GoType: "string", MyType: "", GoName: "Pidfile"}, "ping": {Name: "ping", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "心跳时间(例如1ms/1s/1m/1h)", GoType: "string", MyType: "", GoName: "Ping"}, "respawn": {Name: "respawn", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "1", Comment: "重试次数(进程被外部程序结束后自动启动)", GoType: "uint", MyType: "", GoName: "Respawn"}, "status": {Name: "status", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"started", "running", "stopped", "restarted", "exited", "killed", "idle"}, DefaultValue: "idle", Comment: "进程运行状态", GoType: "string", MyType: "", GoName: "Status"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "添加人ID", GoType: "uint", MyType: "", GoName: "Uid"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}, "workdir": {Name: "workdir", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "工作目录", GoType: "string", MyType: "", GoName: "Workdir"}}, "nging_frp_client": {"admin_addr": {Name: "admin_addr", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 128, Options: []string{}, DefaultValue: "", Comment: "", GoType: "string", MyType: "", GoName: "AdminAddr"}, "admin_port": {Name: "admin_port", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 99999, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "AdminPort"}, "admin_pwd": {Name: "admin_pwd", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 128, Options: []string{}, DefaultValue: "", Comment: "", GoType: "string", MyType: "", GoName: "AdminPwd"}, "admin_user": {Name: "admin_user", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 128, Options: []string{}, DefaultValue: "", Comment: "", GoType: "string", MyType: "", GoName: "AdminUser"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "dns_server": {Name: "dns_server", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "", GoType: "string", MyType: "", GoName: "DnsServer"}, "extra": {Name: "extra", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "", GoType: "string", MyType: "", GoName: "Extra"}, "group_id": {Name: "group_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "GroupId"}, "heartbeat_interval": {Name: "heartbeat_interval", DataType: "bigint", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -1e+20, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "30", Comment: "", GoType: "int64", MyType: "", GoName: "HeartbeatInterval"}, "heartbeat_timeout": {Name: "heartbeat_timeout", DataType: "bigint", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -1e+20, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "90", Comment: "", GoType: "int64", MyType: "", GoName: "HeartbeatTimeout"}, "http_proxy": {Name: "http_proxy", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "", GoType: "string", MyType: "", GoName: "HttpProxy"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "log_file": {Name: "log_file", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "console", Comment: "", GoType: "string", MyType: "", GoName: "LogFile"}, "log_level": {Name: "log_level", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "info", Comment: "", GoType: "string", MyType: "", GoName: "LogLevel"}, "log_max_days": {Name: "log_max_days", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "3", Comment: "", GoType: "uint", MyType: "", GoName: "LogMaxDays"}, "log_way": {Name: "log_way", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "console", Comment: "console or file", GoType: "string", MyType: "", GoName: "LogWay"}, "login_fail_exit": {Name: "login_fail_exit", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "Y", Comment: "", GoType: "string", MyType: "", GoName: "LoginFailExit"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "名称", GoType: "string", MyType: "", GoName: "Name"}, "pool_count": {Name: "pool_count", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "1", Comment: "", GoType: "uint", MyType: "", GoName: "PoolCount"}, "protocol": {Name: "protocol", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "tcp", Comment: "tcp or kcp", GoType: "string", MyType: "", GoName: "Protocol"}, "server_addr": {Name: "server_addr", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "0.0.0.0", Comment: "", GoType: "string", MyType: "", GoName: "ServerAddr"}, "server_port": {Name: "server_port", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 99999, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "7000", Comment: "", GoType: "uint", MyType: "", GoName: "ServerPort"}, "start": {Name: "start", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 2000, Options: []string{}, DefaultValue: "", Comment: "要启动的代理节点名称,留空代表全部,多个用半角逗号隔开", GoType: "string", MyType: "", GoName: "Start"}, "tcp_mux": {Name: "tcp_mux", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "Y", Comment: "必须跟服务端一致", GoType: "string", MyType: "", GoName: "TcpMux"}, "token": {Name: "token", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 128, Options: []string{}, DefaultValue: "", Comment: "", GoType: "string", MyType: "", GoName: "Token"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "web", Comment: "", GoType: "string", MyType: "", GoName: "Type"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "Uid"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "Updated"}, "user": {Name: "user", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "", GoType: "string", MyType: "", GoName: "User"}}, "nging_frp_group": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "组名", GoType: "string", MyType: "", GoName: "Name"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "用户ID", GoType: "uint", MyType: "", GoName: "Uid"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "nging_frp_server": {"addr": {Name: "addr", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "0.0.0.0", Comment: "", GoType: "string", MyType: "", GoName: "Addr"}, "allow_ports": {Name: "allow_ports", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 2000, Options: []string{}, DefaultValue: "", Comment: "", GoType: "string", MyType: "", GoName: "AllowPorts"}, "auth_timeout": {Name: "auth_timeout", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "900", Comment: "", GoType: "uint64", MyType: "", GoName: "AuthTimeout"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "Created"}, "dashboard_addr": {Name: "dashboard_addr", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 128, Options: []string{}, DefaultValue: "0.0.0.0", Comment: "", GoType: "string", MyType: "", GoName: "DashboardAddr"}, "dashboard_port": {Name: "dashboard_port", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 99999, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "DashboardPort"}, "dashboard_pwd": {Name: "dashboard_pwd", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 128, Options: []string{}, DefaultValue: "admin", Comment: "", GoType: "string", MyType: "", GoName: "DashboardPwd"}, "dashboard_user": {Name: "dashboard_user", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 128, Options: []string{}, DefaultValue: "admin", Comment: "", GoType: "string", MyType: "", GoName: "DashboardUser"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "extra": {Name: "extra", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "", GoType: "string", MyType: "", GoName: "Extra"}, "group_id": {Name: "group_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "GroupId"}, "heart_beat_timeout": {Name: "heart_beat_timeout", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "90", Comment: "", GoType: "uint", MyType: "", GoName: "HeartBeatTimeout"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "kcp_port": {Name: "kcp_port", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 99999, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "KcpPort"}, "log_file": {Name: "log_file", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "console", Comment: "", GoType: "string", MyType: "", GoName: "LogFile"}, "log_level": {Name: "log_level", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "info", Comment: "", GoType: "string", MyType: "", GoName: "LogLevel"}, "log_max_days": {Name: "log_max_days", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "3", Comment: "", GoType: "uint", MyType: "", GoName: "LogMaxDays"}, "log_way": {Name: "log_way", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "console", Comment: "console or file", GoType: "string", MyType: "", GoName: "LogWay"}, "max_pool_count": {Name: "max_pool_count", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "5", Comment: "", GoType: "uint", MyType: "", GoName: "MaxPoolCount"}, "max_ports_per_client": {Name: "max_ports_per_client", DataType: "bigint", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -1e+20, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "int64", MyType: "", GoName: "MaxPortsPerClient"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "名称", GoType: "string", MyType: "", GoName: "Name"}, "port": {Name: "port", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 99999, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "7000", Comment: "", GoType: "uint", MyType: "", GoName: "Port"}, "proxy_addr": {Name: "proxy_addr", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "0.0.0.0", Comment: "", GoType: "string", MyType: "", GoName: "ProxyAddr"}, "subdomain_host": {Name: "subdomain_host", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "", GoType: "string", MyType: "", GoName: "SubdomainHost"}, "tcp_mux": {Name: "tcp_mux", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "Y", Comment: "", GoType: "string", MyType: "", GoName: "TcpMux"}, "token": {Name: "token", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 128, Options: []string{}, DefaultValue: "", Comment: "", GoType: "string", MyType: "", GoName: "Token"}, "udp_port": {Name: "udp_port", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 99999, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "UdpPort"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "Uid"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "Updated"}, "user_conn_timeout": {Name: "user_conn_timeout", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "10", Comment: "", GoType: "uint", MyType: "", GoName: "UserConnTimeout"}, "vhost_http_port": {Name: "vhost_http_port", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 99999, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "VhostHttpPort"}, "vhost_http_timeout": {Name: "vhost_http_timeout", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint64", MyType: "", GoName: "VhostHttpTimeout"}, "vhost_https_port": {Name: "vhost_https_port", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 99999, Precision: 0, MaxSize: 5, Options: []string{}, DefaultValue: "0", Comment: "", GoType: "uint", MyType: "", GoName: "VhostHttpsPort"}}, "nging_ftp_user": {"banned": {Name: "banned", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁止连接", GoType: "string", MyType: "", GoName: "Banned"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "创建时间 ", GoType: "uint", MyType: "", GoName: "Created"}, "directory": {Name: "directory", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 500, Options: []string{}, DefaultValue: "", Comment: "授权目录(一行一个) ", GoType: "string", MyType: "", GoName: "Directory"}, "group_id": {Name: "group_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "用户组", GoType: "uint", MyType: "", GoName: "GroupId"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint", MyType: "", GoName: "Id"}, "ip_blacklist": {Name: "ip_blacklist", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "IP黑名单(一行一个) ", GoType: "string", MyType: "", GoName: "IpBlacklist"}, "ip_whitelist": {Name: "ip_whitelist", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "IP白名单(一行一个) ", GoType: "string", MyType: "", GoName: "IpWhitelist"}, "password": {Name: "password", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 150, Options: []string{}, DefaultValue: "", Comment: "密码", GoType: "string", MyType: "", GoName: "Password"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}, "username": {Name: "username", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "用户名", GoType: "string", MyType: "", GoName: "Username"}}, "nging_ftp_user_group": {"banned": {Name: "banned", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁止组内用户连接", GoType: "string", MyType: "", GoName: "Banned"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "directory": {Name: "directory", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 500, Options: []string{}, DefaultValue: "", Comment: "授权目录", GoType: "string", MyType: "", GoName: "Directory"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint", MyType: "", GoName: "Id"}, "ip_blacklist": {Name: "ip_blacklist", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "IP黑名单(一行一个)", GoType: "string", MyType: "", GoName: "IpBlacklist"}, "ip_whitelist": {Name: "ip_whitelist", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "IP白名单(一行一个)", GoType: "string", MyType: "", GoName: "IpWhitelist"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "组名称", GoType: "string", MyType: "", GoName: "Name"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "nging_kv": {"child_key_type": {Name: "child_key_type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "子键类型(number/text...)", GoType: "string", MyType: "", GoName: "ChildKeyType"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint", MyType: "", GoName: "Id"}, "key": {Name: "key", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "关键字", GoType: "string", MyType: "", GoName: "Key"}, "sort": {Name: "sort", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -9.9999999999e+10, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "排序", GoType: "int", MyType: "", GoName: "Sort"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 50, Options: []string{}, DefaultValue: "", Comment: "类型标识", GoType: "string", MyType: "", GoName: "Type"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}, "value": {Name: "value", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "元素值", GoType: "string", MyType: "", GoName: "Value"}}, "nging_sending_log": {"appointment_time": {Name: "appointment_time", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "预约发送时间", GoType: "uint", MyType: "", GoName: "AppointmentTime"}, "content": {Name: "content", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "发送消息内容", GoType: "string", MyType: "", GoName: "Content"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "method": {Name: "method", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "mobile", Comment: "发送方式(mobile-手机;email-邮箱)", GoType: "string", MyType: "", GoName: "Method"}, "params": {Name: "params", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "发送消息参数(JSON)", GoType: "string", MyType: "", GoName: "Params"}, "provider": {Name: "provider", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "发送平台", GoType: "string", MyType: "", GoName: "Provider"}, "result": {Name: "result", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "发送结果描述", GoType: "string", MyType: "", GoName: "Result"}, "retries": {Name: "retries", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "重试次数", GoType: "uint", MyType: "", GoName: "Retries"}, "sent_at": {Name: "sent_at", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "发送时间", GoType: "uint", MyType: "", GoName: "SentAt"}, "source_id": {Name: "source_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "0", Comment: "来源ID", GoType: "uint64", MyType: "", GoName: "SourceId"}, "source_type": {Name: "source_type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "user", Comment: "来源类型", GoType: "string", MyType: "", GoName: "SourceType"}, "status": {Name: "status", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"success", "failure", "waiting", "queued", "none"}, DefaultValue: "waiting", Comment: "发送状态(none-无需发送)", GoType: "string", MyType: "", GoName: "Status"}, "to": {Name: "to", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "发送目标", GoType: "string", MyType: "", GoName: "To"}}, "nging_ssh_user": {"charset": {Name: "charset", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "字符集", GoType: "string", MyType: "", GoName: "Charset"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "group_id": {Name: "group_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "组", GoType: "uint", MyType: "", GoName: "GroupId"}, "host": {Name: "host", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "localhost", Comment: "主机名", GoType: "string", MyType: "", GoName: "Host"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "账号名称", GoType: "string", MyType: "", GoName: "Name"}, "options": {Name: "options", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "其它选项(JSON)", GoType: "string", MyType: "", GoName: "Options"}, "passphrase": {Name: "passphrase", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "私钥口令", GoType: "string", MyType: "", GoName: "Passphrase"}, "password": {Name: "password", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 225, Options: []string{}, DefaultValue: "", Comment: "密码", GoType: "string", MyType: "", GoName: "Password"}, "port": {Name: "port", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -99, Max: 99, Precision: 0, MaxSize: 2, Options: []string{}, DefaultValue: "0", Comment: "端口", GoType: "int", MyType: "", GoName: "Port"}, "private_key": {Name: "private_key", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 5000, Options: []string{}, DefaultValue: "", Comment: "私钥内容", GoType: "string", MyType: "", GoName: "PrivateKey"}, "protocol": {Name: "protocol", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "连接协议", GoType: "string", MyType: "", GoName: "Protocol"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "UID", GoType: "uint", MyType: "", GoName: "Uid"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}, "username": {Name: "username", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "root", Comment: "用户名", GoType: "string", MyType: "", GoName: "Username"}}, "nging_ssh_user_group": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "组名", GoType: "string", MyType: "", GoName: "Name"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "用户ID", GoType: "uint", MyType: "", GoName: "Uid"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "nging_task": {"closed_log": {Name: "closed_log", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)关闭日志", GoType: "string", MyType: "", GoName: "ClosedLog"}, "command": {Name: "command", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "命令详情", GoType: "string", MyType: "", GoName: "Command"}, "concurrent": {Name: "concurrent", DataType: "tinyint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9, Precision: 0, MaxSize: 1, Options: []string{}, DefaultValue: "0", Comment: "是否支持多实例", GoType: "uint", MyType: "", GoName: "Concurrent"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "cron_spec": {Name: "cron_spec", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "时间表达式", GoType: "string", MyType: "", GoName: "CronSpec"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "任务描述", GoType: "string", MyType: "", GoName: "Description"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "enable_notify": {Name: "enable_notify", DataType: "tinyint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9, Precision: 0, MaxSize: 1, Options: []string{}, DefaultValue: "0", Comment: "是否启用通知", GoType: "uint", MyType: "", GoName: "EnableNotify"}, "env": {Name: "env", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "环境变量(一行一个,格式为:var1=val1)", GoType: "string", MyType: "", GoName: "Env"}, "execute_times": {Name: "execute_times", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "累计执行次数", GoType: "uint", MyType: "", GoName: "ExecuteTimes"}, "group_id": {Name: "group_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "分组ID", GoType: "uint", MyType: "", GoName: "GroupId"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 50, Options: []string{}, DefaultValue: "", Comment: "任务名称", GoType: "string", MyType: "", GoName: "Name"}, "notify_email": {Name: "notify_email", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "通知人列表", GoType: "string", MyType: "", GoName: "NotifyEmail"}, "prev_time": {Name: "prev_time", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "上次执行时间", GoType: "uint", MyType: "", GoName: "PrevTime"}, "timeout": {Name: "timeout", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "0", Comment: "超时设置", GoType: "uint64", MyType: "", GoName: "Timeout"}, "type": {Name: "type", DataType: "tinyint", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -128, Max: 127, Precision: 0, MaxSize: 4, Options: []string{}, DefaultValue: "0", Comment: "任务类型", GoType: "int", MyType: "", GoName: "Type"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "用户ID", GoType: "uint", MyType: "", GoName: "Uid"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}, "work_directory": {Name: "work_directory", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "工作目录", GoType: "string", MyType: "", GoName: "WorkDirectory"}}, "nging_task_group": {"cmd_prefix": {Name: "cmd_prefix", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "命令前缀", GoType: "string", MyType: "", GoName: "CmdPrefix"}, "cmd_suffix": {Name: "cmd_suffix", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "命令后缀", GoType: "string", MyType: "", GoName: "CmdSuffix"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "组名", GoType: "string", MyType: "", GoName: "Name"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "用户ID", GoType: "uint", MyType: "", GoName: "Uid"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "nging_task_log": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "elapsed": {Name: "elapsed", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "消耗时间(毫秒)", GoType: "uint", MyType: "", GoName: "Elapsed"}, "error": {Name: "error", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "错误信息", GoType: "string", MyType: "", GoName: "Error"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint64", MyType: "", GoName: "Id"}, "output": {Name: "output", DataType: "mediumtext", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "任务输出", GoType: "string", MyType: "", GoName: "Output"}, "status": {Name: "status", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"success", "timeout", "failure", "stop", "restart"}, DefaultValue: "success", Comment: "状态", GoType: "string", MyType: "", GoName: "Status"}, "task_id": {Name: "task_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "任务ID", GoType: "uint", MyType: "", GoName: "TaskId"}}, "nging_user": {"avatar": {Name: "avatar", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "头像", GoType: "string", MyType: "", GoName: "Avatar"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "状态", GoType: "string", MyType: "", GoName: "Disabled"}, "email": {Name: "email", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 50, Options: []string{}, DefaultValue: "", Comment: "邮箱", GoType: "string", MyType: "", GoName: "Email"}, "file_num": {Name: "file_num", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "0", Comment: "上传文件数量", GoType: "uint64", MyType: "", GoName: "FileNum"}, "file_size": {Name: "file_size", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "0", Comment: "上传文件总大小", GoType: "uint64", MyType: "", GoName: "FileSize"}, "gender": {Name: "gender", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"male", "female", "secret"}, DefaultValue: "secret", Comment: "性别(male-男;female-女;secret-保密)", GoType: "string", MyType: "", GoName: "Gender"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint", MyType: "", GoName: "Id"}, "last_ip": {Name: "last_ip", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 150, Options: []string{}, DefaultValue: "", Comment: "最后登录IP", GoType: "string", MyType: "", GoName: "LastIp"}, "last_login": {Name: "last_login", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "最后登录时间", GoType: "uint", MyType: "", GoName: "LastLogin"}, "mobile": {Name: "mobile", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 15, Options: []string{}, DefaultValue: "", Comment: "手机号", GoType: "string", MyType: "", GoName: "Mobile"}, "online": {Name: "online", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否在线", GoType: "string", MyType: "", GoName: "Online"}, "password": {Name: "password", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 64, Options: []string{}, DefaultValue: "", Comment: "密码", GoType: "string", MyType: "", GoName: "Password"}, "role_ids": {Name: "role_ids", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "角色ID(多个用“,”分隔开)", GoType: "string", MyType: "", GoName: "RoleIds"}, "safe_pwd": {Name: "safe_pwd", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 64, Options: []string{}, DefaultValue: "", Comment: "安全密码", GoType: "string", MyType: "", GoName: "SafePwd"}, "salt": {Name: "salt", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 64, Options: []string{}, DefaultValue: "", Comment: "盐值", GoType: "string", MyType: "", GoName: "Salt"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}, "username": {Name: "username", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "用户名", GoType: "string", MyType: "", GoName: "Username"}}, "nging_user_role": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "添加时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "tinytext", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "名称", GoType: "string", MyType: "", GoName: "Name"}, "parent_id": {Name: "parent_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "父级ID", GoType: "uint", MyType: "", GoName: "ParentId"}, "perm_action": {Name: "perm_action", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "行为权限(多个用“,”分隔开)", GoType: "string", MyType: "", GoName: "PermAction"}, "perm_cmd": {Name: "perm_cmd", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "指令集权限(多个用“,”分隔开)", GoType: "string", MyType: "", GoName: "PermCmd"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "nging_user_u2f": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "绑定时间", GoType: "uint", MyType: "", GoName: "Created"}, "extra": {Name: "extra", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "扩展设置", GoType: "string", MyType: "", GoName: "Extra"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 1e+20, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint64", MyType: "", GoName: "Id"}, "token": {Name: "token", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "签名", GoType: "string", MyType: "", GoName: "Token"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "类型", GoType: "string", MyType: "", GoName: "Type"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "用户ID", GoType: "uint", MyType: "", GoName: "Uid"}}, "nging_vhost": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否停用", GoType: "string", MyType: "", GoName: "Disabled"}, "domain": {Name: "domain", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "域名", GoType: "string", MyType: "", GoName: "Domain"}, "group_id": {Name: "group_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "组", GoType: "uint", MyType: "", GoName: "GroupId"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "网站名称", GoType: "string", MyType: "", GoName: "Name"}, "root": {Name: "root", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 500, Options: []string{}, DefaultValue: "", Comment: "网站物理路径", GoType: "string", MyType: "", GoName: "Root"}, "setting": {Name: "setting", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "设置", GoType: "string", MyType: "", GoName: "Setting"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+09, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "nging_vhost_group": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "", Comment: "", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "组名", GoType: "string", MyType: "", GoName: "Name"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.9999999999e+10, Precision: 0, MaxSize: 11, Options: []string{}, DefaultValue: "0", Comment: "用户ID", GoType: "uint", MyType: "", GoName: "Uid"}}})
DBI.Columns = map[string][]string{"nging_access_log": {"id", "vhost_id", "remote_addr", "x_real_ip", "x_forward_for", "local_addr", "elapsed", "host", "user", "time_local", "minute", "method", "uri", "version", "status_code", "body_bytes", "referer", "user_agent", "hit_status", "scheme", "brower_name", "brower_type", "created"}, "nging_alert_recipient": {"id", "name", "account", "extra", "type", "platform", "description", "disabled", "created", "updated"}, "nging_alert_topic": {"id", "topic", "recipient_id", "disabled", "created", "updated"}, "nging_cloud_storage": {"id", "name", "type", "key", "secret", "bucket", "endpoint", "region", "secure", "baseurl", "created", "updated"}, "nging_code_invitation": {"id", "uid", "recv_uid", "code", "created", "used", "start", "end", "disabled", "role_ids"}, "nging_code_verification": {"id", "code", "created", "owner_id", "owner_type", "used", "purpose", "start", "end", "disabled", "send_method", "send_to"}, "nging_collector_export": {"id", "page_root", "page_id", "group_id", "mapping", "dest", "dest_type", "name", "description", "created", "exported", "disabled"}, "nging_collector_export_log": {"id", "page_id", "export_id", "result", "status", "created"}, "nging_collector_group": {"id", "uid", "name", "type", "description", "created"}, "nging_collector_history": {"id", "parent_id", "page_id", "page_parent_id", "page_root_id", "has_child", "url", "url_md5", "title", "content", "rule_md5", "data", "created", "exported"}, "nging_collector_page": {"id", "parent_id", "root_id", "has_child", "uid", "group_id", "name", "description", "enter_url", "sort", "created", "browser", "type", "scope_rule", "duplicate_rule", "content_type", "charset", "timeout", "waits", "proxy"}, "nging_collector_rule": {"id", "page_id", "name", "rule", "type", "filter", "created", "sort"}, "nging_command": {"id", "name", "description", "command", "work_directory", "env", "created", "updated", "disabled", "remote", "ssh_account_id"}, "nging_config": {"key", "group", "label", "value", "description", "type", "sort", "disabled", "encrypted"}, "nging_db_account": {"id", "title", "uid", "engine", "host", "user", "password", "name", "options", "created", "updated"}, "nging_db_sync": {"id", "name", "source_account_id", "dsn_source", "destination_account_id", "dsn_destination", "tables", "skip_tables", "alter_ignore", "drop", "mail_to", "created", "updated"}, "nging_db_sync_log": {"id", "sync_id", "created", "result", "change_tables", "change_table_num", "elapsed", "failed"}, "nging_file": {"id", "owner_type", "owner_id", "name", "save_name", "save_path", "view_url", "ext", "mime", "type", "size", "width", "height", "dpi", "md5", "storer_name", "storer_id", "created", "updated", "project", "table_id", "table_name", "field_name", "sort", "status", "category_id", "used_times"}, "nging_file_embedded": {"id", "project", "table_id", "table_name", "field_name", "file_ids", "embedded"}, "nging_file_thumb": {"id", "file_id", "size", "width", "height", "dpi", "save_name", "save_path", "view_url", "used_times", "md5"}, "nging_forever_process": {"id", "uid", "name", "command", "workdir", "env", "args", "pidfile", "logfile", "errfile", "respawn", "delay", "ping", "pid", "status", "debug", "disabled", "created", "updated", "error", "lastrun", "description", "enable_notify", "notify_email"}, "nging_frp_client": {"id", "name", "disabled", "server_addr", "server_port", "http_proxy", "pool_count", "tcp_mux", "user", "dns_server", "login_fail_exit", "protocol", "heartbeat_interval", "heartbeat_timeout", "log_file", "log_way", "log_level", "log_max_days", "token", "admin_addr", "admin_port", "admin_user", "admin_pwd", "start", "extra", "uid", "group_id", "type", "created", "updated"}, "nging_frp_group": {"id", "uid", "name", "description", "created", "updated"}, "nging_frp_server": {"id", "name", "disabled", "tcp_mux", "addr", "port", "udp_port", "kcp_port", "proxy_addr", "vhost_http_port", "vhost_http_timeout", "vhost_https_port", "log_file", "log_way", "log_level", "log_max_days", "token", "auth_timeout", "subdomain_host", "max_ports_per_client", "max_pool_count", "heart_beat_timeout", "user_conn_timeout", "dashboard_addr", "dashboard_port", "dashboard_user", "dashboard_pwd", "allow_ports", "extra", "uid", "group_id", "created", "updated"}, "nging_ftp_user": {"id", "username", "password", "banned", "directory", "ip_whitelist", "ip_blacklist", "created", "updated", "group_id"}, "nging_ftp_user_group": {"id", "name", "created", "updated", "disabled", "banned", "directory", "ip_whitelist", "ip_blacklist"}, "nging_kv": {"id", "key", "value", "type", "sort", "updated", "child_key_type"}, "nging_sending_log": {"id", "created", "sent_at", "source_id", "source_type", "disabled", "method", "to", "provider", "result", "status", "retries", "content", "params", "appointment_time"}, "nging_ssh_user": {"id", "uid", "host", "port", "charset", "username", "password", "name", "options", "private_key", "passphrase", "protocol", "description", "group_id", "created", "updated"}, "nging_ssh_user_group": {"id", "uid", "name", "description", "created", "updated"}, "nging_task": {"id", "uid", "group_id", "name", "type", "description", "cron_spec", "concurrent", "command", "work_directory", "env", "disabled", "enable_notify", "notify_email", "timeout", "execute_times", "prev_time", "created", "updated", "closed_log"}, "nging_task_group": {"id", "uid", "name", "description", "created", "updated", "cmd_prefix", "cmd_suffix"}, "nging_task_log": {"id", "task_id", "output", "error", "status", "elapsed", "created"}, "nging_user": {"id", "username", "email", "mobile", "password", "salt", "safe_pwd", "avatar", "gender", "last_login", "last_ip", "disabled", "online", "role_ids", "created", "updated", "file_size", "file_num"}, "nging_user_role": {"id", "name", "description", "created", "updated", "disabled", "parent_id", "perm_cmd", "perm_action"}, "nging_user_u2f": {"id", "uid", "token", "type", "extra", "created"}, "nging_vhost": {"id", "name", "group_id", "domain", "root", "created", "updated", "setting", "disabled"}, "nging_vhost_group": {"id", "uid", "name", "description", "created"}}
DBI.Models.Register(factory.ModelInstancers{`NgingCodeInvitation`: factory.NewMI("nging_code_invitation", func(connID int) factory.Model {
return &NgingCodeInvitation{base: *((&factory.Base{}).SetConnID(connID))}
}, "邀请码"), `NgingCollectorGroup`: factory.NewMI("nging_collector_group", func(connID int) factory.Model {
return &NgingCollectorGroup{base: *((&factory.Base{}).SetConnID(connID))}
}, "采集规则组"), `NgingDbAccount`: factory.NewMI("nging_db_account", func(connID int) factory.Model { return &NgingDbAccount{base: *((&factory.Base{}).SetConnID(connID))} }, "数据库账号"), `NgingCloudStorage`: factory.NewMI("nging_cloud_storage", func(connID int) factory.Model {
return &NgingCloudStorage{base: *((&factory.Base{}).SetConnID(connID))}
}, "云存储账号"), `NgingDbSync`: factory.NewMI("nging_db_sync", func(connID int) factory.Model { return &NgingDbSync{base: *((&factory.Base{}).SetConnID(connID))} }, "数据表同步方案"), `NgingFile`: factory.NewMI("nging_file", func(connID int) factory.Model { return &NgingFile{base: *((&factory.Base{}).SetConnID(connID))} }, "文件表"), `NgingForeverProcess`: factory.NewMI("nging_forever_process", func(connID int) factory.Model {
return &NgingForeverProcess{base: *((&factory.Base{}).SetConnID(connID))}
}, "持久进程"), `NgingFtpUserGroup`: factory.NewMI("nging_ftp_user_group", func(connID int) factory.Model {
return &NgingFtpUserGroup{base: *((&factory.Base{}).SetConnID(connID))}
}, "FTP用户组"), `NgingSshUserGroup`: factory.NewMI("nging_ssh_user_group", func(connID int) factory.Model {
return &NgingSshUserGroup{base: *((&factory.Base{}).SetConnID(connID))}
}, "SSH账号组"), `NgingAccessLog`: factory.NewMI("nging_access_log", func(connID int) factory.Model { return &NgingAccessLog{base: *((&factory.Base{}).SetConnID(connID))} }, ""), `NgingFrpGroup`: factory.NewMI("nging_frp_group", func(connID int) factory.Model { return &NgingFrpGroup{base: *((&factory.Base{}).SetConnID(connID))} }, "FRP服务组"), `NgingFrpServer`: factory.NewMI("nging_frp_server", func(connID int) factory.Model { return &NgingFrpServer{base: *((&factory.Base{}).SetConnID(connID))} }, "FRP服务器设置"), `NgingTaskLog`: factory.NewMI("nging_task_log", func(connID int) factory.Model { return &NgingTaskLog{base: *((&factory.Base{}).SetConnID(connID))} }, "任务日志"), `NgingUserU2f`: factory.NewMI("nging_user_u2f", func(connID int) factory.Model { return &NgingUserU2f{base: *((&factory.Base{}).SetConnID(connID))} }, "两步验证"), `NgingCollectorExport`: factory.NewMI("nging_collector_export", func(connID int) factory.Model {
return &NgingCollectorExport{base: *((&factory.Base{}).SetConnID(connID))}
}, "导出规则"), `NgingCollectorPage`: factory.NewMI("nging_collector_page", func(connID int) factory.Model {
return &NgingCollectorPage{base: *((&factory.Base{}).SetConnID(connID))}
}, "采集页面"), `NgingCollectorRule`: factory.NewMI("nging_collector_rule", func(connID int) factory.Model {
return &NgingCollectorRule{base: *((&factory.Base{}).SetConnID(connID))}
}, "页面中的元素采集规则"), `NgingFileThumb`: factory.NewMI("nging_file_thumb", func(connID int) factory.Model { return &NgingFileThumb{base: *((&factory.Base{}).SetConnID(connID))} }, "图片文件缩略图"), `NgingUserRole`: factory.NewMI("nging_user_role", func(connID int) factory.Model { return &NgingUserRole{base: *((&factory.Base{}).SetConnID(connID))} }, "用户角色"), `NgingAlertTopic`: factory.NewMI("nging_alert_topic", func(connID int) factory.Model { return &NgingAlertTopic{base: *((&factory.Base{}).SetConnID(connID))} }, "报警收信专题关联"), `NgingCollectorHistory`: factory.NewMI("nging_collector_history", func(connID int) factory.Model {
return &NgingCollectorHistory{base: *((&factory.Base{}).SetConnID(connID))}
}, "采集历史"), `NgingSendingLog`: factory.NewMI("nging_sending_log", func(connID int) factory.Model { return &NgingSendingLog{base: *((&factory.Base{}).SetConnID(connID))} }, "邮件短信等发送日志"), `NgingCodeVerification`: factory.NewMI("nging_code_verification", func(connID int) factory.Model {
return &NgingCodeVerification{base: *((&factory.Base{}).SetConnID(connID))}
}, "验证码"), `NgingSshUser`: factory.NewMI("nging_ssh_user", func(connID int) factory.Model { return &NgingSshUser{base: *((&factory.Base{}).SetConnID(connID))} }, "数据库账号"), `NgingTask`: factory.NewMI("nging_task", func(connID int) factory.Model { return &NgingTask{base: *((&factory.Base{}).SetConnID(connID))} }, "任务"), `NgingVhost`: factory.NewMI("nging_vhost", func(connID int) factory.Model { return &NgingVhost{base: *((&factory.Base{}).SetConnID(connID))} }, "虚拟主机"), `NgingVhostGroup`: factory.NewMI("nging_vhost_group", func(connID int) factory.Model { return &NgingVhostGroup{base: *((&factory.Base{}).SetConnID(connID))} }, "虚拟主机组"), `NgingCommand`: factory.NewMI("nging_command", func(connID int) factory.Model { return &NgingCommand{base: *((&factory.Base{}).SetConnID(connID))} }, "指令集"), `NgingDbSyncLog`: factory.NewMI("nging_db_sync_log", func(connID int) factory.Model { return &NgingDbSyncLog{base: *((&factory.Base{}).SetConnID(connID))} }, "数据表同步日志"), `NgingFrpClient`: factory.NewMI("nging_frp_client", func(connID int) factory.Model { return &NgingFrpClient{base: *((&factory.Base{}).SetConnID(connID))} }, "FRP客户端设置"), `NgingKv`: factory.NewMI("nging_kv", func(connID int) factory.Model { return &NgingKv{base: *((&factory.Base{}).SetConnID(connID))} }, "键值数据"), `NgingTaskGroup`: factory.NewMI("nging_task_group", func(connID int) factory.Model { return &NgingTaskGroup{base: *((&factory.Base{}).SetConnID(connID))} }, "任务组"), `NgingUser`: factory.NewMI("nging_user", func(connID int) factory.Model { return &NgingUser{base: *((&factory.Base{}).SetConnID(connID))} }, "用户"), `NgingCollectorExportLog`: factory.NewMI("nging_collector_export_log", func(connID int) factory.Model {
return &NgingCollectorExportLog{base: *((&factory.Base{}).SetConnID(connID))}
}, "导出日志"), `NgingConfig`: factory.NewMI("nging_config", func(connID int) factory.Model { return &NgingConfig{base: *((&factory.Base{}).SetConnID(connID))} }, "配置"), `NgingFileEmbedded`: factory.NewMI("nging_file_embedded", func(connID int) factory.Model {
return &NgingFileEmbedded{base: *((&factory.Base{}).SetConnID(connID))}
}, "嵌入文件"), `NgingFtpUser`: factory.NewMI("nging_ftp_user", func(connID int) factory.Model { return &NgingFtpUser{base: *((&factory.Base{}).SetConnID(connID))} }, "FTP用户"), `NgingAlertRecipient`: factory.NewMI("nging_alert_recipient", func(connID int) factory.Model {
return &NgingAlertRecipient{base: *((&factory.Base{}).SetConnID(connID))}
}, "报警收信人")})
}