65 Star 396 Fork 128

admpub/nging

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
init.go 125.40 KB
一键复制 编辑 原始数据 按行查看 历史
admpub 提交于 2019-10-27 20:57 . update
// @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{"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", 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", 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", 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", GoName: "Created"}, "elapsed": {Name: "elapsed", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 9.999999999e+07, Precision: 2, MaxSize: 10, Options: []string{}, DefaultValue: "0.00", Comment: "耗时(秒)", GoType: "float64", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "XRealIp"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Updated"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Used"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Used"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "PageRoot"}}, "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", 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", 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", 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", 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", 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", GoName: "Status"}}, "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", 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", 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", 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", 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", 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", GoName: "Uid"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "UrlMd5"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Waits"}}, "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", 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", 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", 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", 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", 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", 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", 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", GoName: "Type"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "WorkDirectory"}}, "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", 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", 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", 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", 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", 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", 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", GoName: "Sort"}, "type": {Name: "type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"newsid", "prodid", "text", "url", "html", "image", "video", "audio", "file", "json", "list"}, DefaultValue: "text", Comment: "值类型(list-以半角逗号分隔的值列表)", GoType: "string", 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", GoName: "Value"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "User"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Updated"}}, "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", 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", 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", 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", 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", 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", 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", 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", GoName: "SyncId"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Width"}}, "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", 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", 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", 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", 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", 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", 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", GoName: "TableName"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Width"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Workdir"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "User"}}, "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", 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", 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", 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", 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", 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", GoName: "Updated"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "VhostHttpsPort"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Username"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Updated"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "To"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Username"}}, "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", 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", 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", 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", 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", 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", GoName: "Updated"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "WorkDirectory"}}, "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", 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", 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", 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", 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", 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", 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", 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", GoName: "Updated"}}, "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", 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", 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", 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", 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", 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", 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", GoName: "TaskId"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Username"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Updated"}}, "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", 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", 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", 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", 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", 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", GoName: "Uid"}}, "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", 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", 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", 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", 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", 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", 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", 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", 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", GoName: "Updated"}}, "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", 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", 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", 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", 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", GoName: "Uid"}}})
DBI.Columns = map[string][]string{"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"}, "cloud_storage": {"id", "name", "type", "key", "secret", "bucket", "endpoint", "region", "secure", "baseurl", "created", "updated"}, "code_invitation": {"id", "uid", "recv_uid", "code", "created", "used", "start", "end", "disabled", "role_ids"}, "code_verification": {"id", "code", "created", "owner_id", "owner_type", "used", "purpose", "start", "end", "disabled", "send_method", "send_to"}, "collector_export": {"id", "page_root", "page_id", "group_id", "mapping", "dest", "dest_type", "name", "description", "created", "exported", "disabled"}, "collector_export_log": {"id", "page_id", "export_id", "result", "status", "created"}, "collector_group": {"id", "uid", "name", "type", "description", "created"}, "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"}, "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"}, "collector_rule": {"id", "page_id", "name", "rule", "type", "filter", "created", "sort"}, "command": {"id", "name", "description", "command", "work_directory", "env", "created", "updated", "disabled", "remote", "ssh_account_id"}, "config": {"key", "label", "description", "value", "group", "type", "sort", "disabled", "encrypted"}, "db_account": {"id", "title", "uid", "engine", "host", "user", "password", "name", "options", "created", "updated"}, "db_sync": {"id", "name", "source_account_id", "dsn_source", "destination_account_id", "dsn_destination", "tables", "skip_tables", "alter_ignore", "drop", "mail_to", "created", "updated"}, "db_sync_log": {"id", "sync_id", "created", "result", "change_tables", "change_table_num", "elapsed", "failed"}, "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"}, "file_embedded": {"id", "project", "table_id", "table_name", "field_name", "file_ids", "embedded"}, "file_thumb": {"id", "file_id", "size", "width", "height", "dpi", "save_name", "save_path", "view_url", "used_times", "md5"}, "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"}, "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"}, "frp_group": {"id", "uid", "name", "description", "created", "updated"}, "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"}, "ftp_user": {"id", "username", "password", "banned", "directory", "ip_whitelist", "ip_blacklist", "created", "updated", "group_id"}, "ftp_user_group": {"id", "name", "created", "updated", "disabled", "banned", "directory", "ip_whitelist", "ip_blacklist"}, "sending_log": {"id", "created", "sent_at", "source_id", "source_type", "disabled", "method", "to", "provider", "result", "status", "retries", "content", "params", "appointment_time"}, "ssh_user": {"id", "uid", "host", "port", "charset", "username", "password", "name", "options", "private_key", "passphrase", "protocol", "description", "group_id", "created", "updated"}, "ssh_user_group": {"id", "uid", "name", "description", "created", "updated"}, "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"}, "task_group": {"id", "uid", "name", "description", "created", "updated", "cmd_prefix", "cmd_suffix"}, "task_log": {"id", "task_id", "output", "error", "status", "elapsed", "created"}, "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"}, "user_role": {"id", "name", "description", "created", "updated", "disabled", "parent_id", "perm_cmd", "perm_action"}, "user_u2f": {"id", "uid", "token", "type", "extra", "created"}, "vhost": {"id", "name", "group_id", "domain", "root", "created", "updated", "setting", "disabled"}, "vhost_group": {"id", "uid", "name", "description", "created"}}
DBI.Models.Register(factory.ModelInstancers{`CodeInvitation`: factory.NewMI("code_invitation", func(connID int) factory.Model { return &CodeInvitation{base: *((&factory.Base{}).SetConnID(connID))} }, "邀请码"), `CollectorGroup`: factory.NewMI("collector_group", func(connID int) factory.Model { return &CollectorGroup{base: *((&factory.Base{}).SetConnID(connID))} }, "采集规则组"), `Config`: factory.NewMI("config", func(connID int) factory.Model { return &Config{base: *((&factory.Base{}).SetConnID(connID))} }, "配置"), `FileThumb`: factory.NewMI("file_thumb", func(connID int) factory.Model { return &FileThumb{base: *((&factory.Base{}).SetConnID(connID))} }, "图片文件缩略图"), `TaskGroup`: factory.NewMI("task_group", func(connID int) factory.Model { return &TaskGroup{base: *((&factory.Base{}).SetConnID(connID))} }, "任务组"), `CollectorExport`: factory.NewMI("collector_export", func(connID int) factory.Model { return &CollectorExport{base: *((&factory.Base{}).SetConnID(connID))} }, "导出规则"), `ForeverProcess`: factory.NewMI("forever_process", func(connID int) factory.Model { return &ForeverProcess{base: *((&factory.Base{}).SetConnID(connID))} }, "持久进程"), `FrpClient`: factory.NewMI("frp_client", func(connID int) factory.Model { return &FrpClient{base: *((&factory.Base{}).SetConnID(connID))} }, "FRP客户端设置"), `FtpUserGroup`: factory.NewMI("ftp_user_group", func(connID int) factory.Model { return &FtpUserGroup{base: *((&factory.Base{}).SetConnID(connID))} }, "FTP用户组"), `SshUserGroup`: factory.NewMI("ssh_user_group", func(connID int) factory.Model { return &SshUserGroup{base: *((&factory.Base{}).SetConnID(connID))} }, "SSH账号组"), `Command`: factory.NewMI("command", func(connID int) factory.Model { return &Command{base: *((&factory.Base{}).SetConnID(connID))} }, "指令集"), `DbSync`: factory.NewMI("db_sync", func(connID int) factory.Model { return &DbSync{base: *((&factory.Base{}).SetConnID(connID))} }, "数据表同步方案"), `File`: factory.NewMI("file", func(connID int) factory.Model { return &File{base: *((&factory.Base{}).SetConnID(connID))} }, "文件表"), `FileEmbedded`: factory.NewMI("file_embedded", func(connID int) factory.Model { return &FileEmbedded{base: *((&factory.Base{}).SetConnID(connID))} }, "嵌入文件"), `FrpGroup`: factory.NewMI("frp_group", func(connID int) factory.Model { return &FrpGroup{base: *((&factory.Base{}).SetConnID(connID))} }, "FRP服务组"), `SendingLog`: factory.NewMI("sending_log", func(connID int) factory.Model { return &SendingLog{base: *((&factory.Base{}).SetConnID(connID))} }, "邮件短信等发送日志"), `User`: factory.NewMI("user", func(connID int) factory.Model { return &User{base: *((&factory.Base{}).SetConnID(connID))} }, "用户"), `CodeVerification`: factory.NewMI("code_verification", func(connID int) factory.Model { return &CodeVerification{base: *((&factory.Base{}).SetConnID(connID))} }, "验证码"), `CollectorPage`: factory.NewMI("collector_page", func(connID int) factory.Model { return &CollectorPage{base: *((&factory.Base{}).SetConnID(connID))} }, "采集页面"), `DbAccount`: factory.NewMI("db_account", func(connID int) factory.Model { return &DbAccount{base: *((&factory.Base{}).SetConnID(connID))} }, "数据库账号"), `SshUser`: factory.NewMI("ssh_user", func(connID int) factory.Model { return &SshUser{base: *((&factory.Base{}).SetConnID(connID))} }, "数据库账号"), `TaskLog`: factory.NewMI("task_log", func(connID int) factory.Model { return &TaskLog{base: *((&factory.Base{}).SetConnID(connID))} }, "任务日志"), `Vhost`: factory.NewMI("vhost", func(connID int) factory.Model { return &Vhost{base: *((&factory.Base{}).SetConnID(connID))} }, "虚拟主机"), `AccessLog`: factory.NewMI("access_log", func(connID int) factory.Model { return &AccessLog{base: *((&factory.Base{}).SetConnID(connID))} }, ""), `VhostGroup`: factory.NewMI("vhost_group", func(connID int) factory.Model { return &VhostGroup{base: *((&factory.Base{}).SetConnID(connID))} }, "虚拟主机组"), `CollectorHistory`: factory.NewMI("collector_history", func(connID int) factory.Model { return &CollectorHistory{base: *((&factory.Base{}).SetConnID(connID))} }, "采集历史"), `DbSyncLog`: factory.NewMI("db_sync_log", func(connID int) factory.Model { return &DbSyncLog{base: *((&factory.Base{}).SetConnID(connID))} }, "数据表同步日志"), `FrpServer`: factory.NewMI("frp_server", func(connID int) factory.Model { return &FrpServer{base: *((&factory.Base{}).SetConnID(connID))} }, "FRP服务器设置"), `FtpUser`: factory.NewMI("ftp_user", func(connID int) factory.Model { return &FtpUser{base: *((&factory.Base{}).SetConnID(connID))} }, "FTP用户"), `UserRole`: factory.NewMI("user_role", func(connID int) factory.Model { return &UserRole{base: *((&factory.Base{}).SetConnID(connID))} }, "用户角色"), `CloudStorage`: factory.NewMI("cloud_storage", func(connID int) factory.Model { return &CloudStorage{base: *((&factory.Base{}).SetConnID(connID))} }, "云存储账号"), `CollectorExportLog`: factory.NewMI("collector_export_log", func(connID int) factory.Model {
return &CollectorExportLog{base: *((&factory.Base{}).SetConnID(connID))}
}, "导出日志"), `CollectorRule`: factory.NewMI("collector_rule", func(connID int) factory.Model { return &CollectorRule{base: *((&factory.Base{}).SetConnID(connID))} }, "页面中的元素采集规则"), `Task`: factory.NewMI("task", func(connID int) factory.Model { return &Task{base: *((&factory.Base{}).SetConnID(connID))} }, "任务"), `UserU2f`: factory.NewMI("user_u2f", func(connID int) factory.Model { return &UserU2f{base: *((&factory.Base{}).SetConnID(connID))} }, "两步验证")})
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/admpub/nging.git
git@gitee.com:admpub/nging.git
admpub
nging
nging
v2.1.0

搜索帮助