-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.go
107 lines (98 loc) · 160 KB
/
init.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// @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.FieldsRegister(map[string]map[string]*factory.FieldInfo{"official_ad_item": {"content": {Name: "content", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 500, Options: []string{}, DefaultValue: "", Comment: "广告内容", GoType: "string", MyType: "", GoName: "Content"}, "contype": {Name: "contype", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"text", "image", "video", "audio"}, DefaultValue: "image", Comment: "内容类型", GoType: "string", MyType: "", GoName: "Contype"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "end": {Name: "end", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "生效结束时间", GoType: "uint", MyType: "", GoName: "End"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "mode": {Name: "mode", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"CPA", "CPM", "CPC", "CPS", "CPT"}, DefaultValue: "CPS", Comment: "广告模式", GoType: "string", MyType: "", GoName: "Mode"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "广告名称", GoType: "string", MyType: "", GoName: "Name"}, "position_id": {Name: "position_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "广告位ID", GoType: "uint64", MyType: "", GoName: "PositionId"}, "publisher_id": {Name: "publisher_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "广告商ID", GoType: "uint64", MyType: "", GoName: "PublisherId"}, "sort": {Name: "sort", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "500", Comment: "序号", GoType: "int", MyType: "", GoName: "Sort"}, "start": {Name: "start", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "生效起始时间", GoType: "uint", MyType: "", GoName: "Start"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}, "url": {Name: "url", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "广告链接", GoType: "string", MyType: "", GoName: "Url"}}, "official_ad_position": {"content": {Name: "content", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 500, Options: []string{}, DefaultValue: "", Comment: "默认内容", GoType: "string", MyType: "", GoName: "Content"}, "contype": {Name: "contype", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"text", "image", "video", "audio"}, DefaultValue: "image", Comment: "内容类型", GoType: "string", MyType: "", GoName: "Contype"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "height": {Name: "height", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "高度", GoType: "uint", MyType: "", GoName: "Height"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "ident": {Name: "ident", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "唯一标识", GoType: "string", MyType: "", GoName: "Ident"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "位置名称", GoType: "string", MyType: "", GoName: "Name"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}, "url": {Name: "url", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "广告链接", GoType: "string", MyType: "", GoName: "Url"}, "width": {Name: "width", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "宽度", GoType: "uint", MyType: "", GoName: "Width"}}, "official_ad_publisher": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "deposit": {Name: "deposit", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+10, Precision: 2, MaxSize: 12, Options: []string{}, DefaultValue: "0.00", Comment: "押金", GoType: "float64", MyType: "", GoName: "Deposit"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "owner_id": {Name: "owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "所有者ID", GoType: "uint64", MyType: "", GoName: "OwnerId"}, "owner_type": {Name: "owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "customer", Comment: "所有者类型(customer-前台客户;user-后台用户)", GoType: "string", MyType: "", GoName: "OwnerType"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_ad_settings": {"advert_id": {Name: "advert_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "广告ID", GoType: "uint64", MyType: "", GoName: "AdvertId"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "t_end": {Name: "t_end", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "结束时间", GoType: "uint", MyType: "", GoName: "TEnd"}, "t_start": {Name: "t_start", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "起始时间", GoType: "uint", MyType: "", GoName: "TStart"}, "type": {Name: "type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"area", "age", "time", "client", "gendar"}, DefaultValue: "area", Comment: "设置类型(area-地区;age-年龄;time-时段;client-客户端类型;gendar-性别)", GoType: "string", MyType: "", GoName: "Type"}, "v_end": {Name: "v_end", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "结束值", GoType: "uint", MyType: "", GoName: "VEnd"}, "v_start": {Name: "v_start", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "起始值", GoType: "uint", MyType: "", GoName: "VStart"}, "value": {Name: "value", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "值", GoType: "string", MyType: "", GoName: "Value"}}, "official_common_api_account": {"app_id": {Name: "app_id", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "APP ID", GoType: "string", MyType: "", GoName: "AppId"}, "app_secret": {Name: "app_secret", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "APP 密钥", GoType: "string", MyType: "", GoName: "AppSecret"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "encryption": {Name: "encryption", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "加密方式", GoType: "string", MyType: "", GoName: "Encryption"}, "extra": {Name: "extra", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "扩展数据(JSON格式)", GoType: "string", MyType: "", GoName: "Extra"}, "group_id": {Name: "group_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "分组", GoType: "uint", MyType: "", GoName: "GroupId"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "接口名称", GoType: "string", MyType: "", GoName: "Name"}, "owner_id": {Name: "owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "所有者ID", GoType: "uint64", MyType: "", GoName: "OwnerId"}, "owner_type": {Name: "owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "user", Comment: "所有者类型(user-后台用户;customer-前台客户)", GoType: "string", MyType: "", GoName: "OwnerType"}, "public_key": {Name: "public_key", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "公钥", GoType: "string", MyType: "", GoName: "PublicKey"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}, "url": {Name: "url", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "接口网址(生产环境)", GoType: "string", MyType: "", GoName: "Url"}, "url_dev": {Name: "url_dev", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "接口网址(测试环境)", GoType: "string", MyType: "", GoName: "UrlDev"}}, "official_common_area": {"code": {Name: "code", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "长途区号", GoType: "string", MyType: "", GoName: "Code"}, "country_abbr": {Name: "country_abbr", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 2, Options: []string{}, DefaultValue: "CN", Comment: "国家缩写", GoType: "string", MyType: "", GoName: "CountryAbbr"}, "first": {Name: "first", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 50, Options: []string{}, DefaultValue: "", Comment: "首字母", GoType: "string", MyType: "", GoName: "First"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "lat": {Name: "lat", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "纬度", GoType: "string", MyType: "", GoName: "Lat"}, "level": {Name: "level", DataType: "tinyint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "层级(1,2,3-省,市,区县)", GoType: "uint", MyType: "", GoName: "Level"}, "lng": {Name: "lng", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "经度", GoType: "string", MyType: "", GoName: "Lng"}, "merged": {Name: "merged", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "全称", GoType: "string", MyType: "", GoName: "Merged"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "名称", GoType: "string", MyType: "", GoName: "Name"}, "pid": {Name: "pid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "父id", GoType: "uint", MyType: "", GoName: "Pid"}, "pinyin": {Name: "pinyin", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "拼音", GoType: "string", MyType: "", GoName: "Pinyin"}, "short": {Name: "short", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "简称", GoType: "string", MyType: "", GoName: "Short"}, "zip": {Name: "zip", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "邮编", GoType: "string", MyType: "", GoName: "Zip"}}, "official_common_area_group": {"abbr": {Name: "abbr", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "组缩写", GoType: "string", MyType: "", GoName: "Abbr"}, "area_ids": {Name: "area_ids", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "根地区ID", GoType: "string", MyType: "", GoName: "AreaIds"}, "country_abbr": {Name: "country_abbr", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 2, Options: []string{}, DefaultValue: "", Comment: "国家缩写", GoType: "string", MyType: "", GoName: "CountryAbbr"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "组名称", GoType: "string", MyType: "", GoName: "Name"}, "sort": {Name: "sort", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "排序编号", GoType: "int", MyType: "", GoName: "Sort"}}, "official_common_article": {"category1": {Name: "category1", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "顶级分类ID", GoType: "uint", MyType: "", GoName: "Category1"}, "category2": {Name: "category2", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "二级分类ID", GoType: "uint", MyType: "", GoName: "Category2"}, "category3": {Name: "category3", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "三级分类ID", GoType: "uint", MyType: "", GoName: "Category3"}, "category_id": {Name: "category_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "最底层分类ID", GoType: "uint", MyType: "", GoName: "CategoryId"}, "close_comment": {Name: "close_comment", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "关闭评论", GoType: "string", MyType: "", GoName: "CloseComment"}, "comment_allow_user": {Name: "comment_allow_user", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"all", "buyer", "author", "admin", "allAgent", "curAgent", "none", "designated"}, DefaultValue: "all", Comment: "允许评论的用户(all-所有人;buyer-当前商品买家;author-当前文章作者;admin-管理员;allAgent-所有代理;curAgent-当前产品代理;none-无人;designated-指定人员)", GoType: "string", MyType: "", GoName: "CommentAllowUser"}, "comment_auto_display": {Name: "comment_auto_display", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "自动显示评论", GoType: "string", MyType: "", GoName: "CommentAutoDisplay"}, "comments": {Name: "comments", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "评论数量", GoType: "uint64", MyType: "", GoName: "Comments"}, "content": {Name: "content", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "内容", GoType: "string", MyType: "", GoName: "Content"}, "contype": {Name: "contype", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"text", "html", "markdown"}, DefaultValue: "markdown", Comment: "内容类型", GoType: "string", MyType: "", GoName: "Contype"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "display": {Name: "display", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "Y", Comment: "是否显示", GoType: "string", MyType: "", GoName: "Display"}, "hates": {Name: "hates", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "差评数量", GoType: "uint64", MyType: "", GoName: "Hates"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "image": {Name: "image", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "缩略图", GoType: "string", MyType: "", GoName: "Image"}, "image_original": {Name: "image_original", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "原始图", GoType: "string", MyType: "", GoName: "ImageOriginal"}, "likes": {Name: "likes", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "好评数量", GoType: "uint64", MyType: "", GoName: "Likes"}, "owner_id": {Name: "owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "新闻发布者", GoType: "uint64", MyType: "", GoName: "OwnerId"}, "owner_type": {Name: "owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "customer", Comment: "所有者类型(customer-前台客户;user-后台用户)", GoType: "string", MyType: "", GoName: "OwnerType"}, "price": {Name: "price", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+08, Precision: 2, MaxSize: 10, Options: []string{}, DefaultValue: "0.00", Comment: "价格", GoType: "float64", MyType: "", GoName: "Price"}, "slugify": {Name: "slugify", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "SEO-friendly URLs with Slugify", GoType: "string", MyType: "", GoName: "Slugify"}, "source_id": {Name: "source_id", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "来源ID(空代表不限)", GoType: "string", MyType: "", GoName: "SourceId"}, "source_table": {Name: "source_table", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "来源表(不含official_前缀)", GoType: "string", MyType: "", GoName: "SourceTable"}, "summary": {Name: "summary", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "摘要", GoType: "string", MyType: "", GoName: "Summary"}, "tags": {Name: "tags", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "标签", GoType: "string", MyType: "", GoName: "Tags"}, "template": {Name: "template", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "模版", GoType: "string", MyType: "", GoName: "Template"}, "title": {Name: "title", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "新闻标题", GoType: "string", MyType: "", GoName: "Title"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}, "views": {Name: "views", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "浏览次数", GoType: "uint64", MyType: "", GoName: "Views"}}, "official_common_category": {"cover": {Name: "cover", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "分类封面图", GoType: "string", MyType: "", GoName: "Cover"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "分类说明", GoType: "string", MyType: "", GoName: "Description"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "has_child": {Name: "has_child", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否有子分类", GoType: "string", MyType: "", GoName: "HasChild"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "level": {Name: "level", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "层级", GoType: "uint", MyType: "", GoName: "Level"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "分类名称", GoType: "string", MyType: "", GoName: "Name"}, "parent_id": {Name: "parent_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "上级分类ID", GoType: "uint", MyType: "", GoName: "ParentId"}, "show_on_menu": {Name: "show_on_menu", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "Y", Comment: "是否(Y/N)显示在导航菜单上", GoType: "string", MyType: "", GoName: "ShowOnMenu"}, "slugify": {Name: "slugify", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "SEO-friendly URLs with Slugify", GoType: "string", MyType: "", GoName: "Slugify"}, "sort": {Name: "sort", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "5000", Comment: "排序编号(从小到大)", GoType: "int", MyType: "", GoName: "Sort"}, "template": {Name: "template", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "分类列表页模版", GoType: "string", MyType: "", GoName: "Template"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "article", Comment: "类型", GoType: "string", MyType: "", GoName: "Type"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_common_click_flow": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "owner_id": {Name: "owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "用户ID", GoType: "uint64", MyType: "", GoName: "OwnerId"}, "owner_type": {Name: "owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "customer", Comment: "用户类型(customer-前台客户;user-后台用户)", GoType: "string", MyType: "", GoName: "OwnerType"}, "target_id": {Name: "target_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "目标ID", GoType: "uint64", MyType: "", GoName: "TargetId"}, "target_type": {Name: "target_type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "article", Comment: "目标类型", GoType: "string", MyType: "", GoName: "TargetType"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "类型(例如:like,hate)", GoType: "string", MyType: "", GoName: "Type"}}, "official_common_comment": {"content": {Name: "content", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "评论内容", GoType: "string", MyType: "", GoName: "Content"}, "contype": {Name: "contype", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"text", "html", "markdown"}, DefaultValue: "text", Comment: "内容类型", GoType: "string", MyType: "", GoName: "Contype"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "display": {Name: "display", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "显示", GoType: "string", MyType: "", GoName: "Display"}, "hates": {Name: "hates", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "不喜欢数量", GoType: "uint64", MyType: "", GoName: "Hates"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "level": {Name: "level", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "层数", GoType: "uint", MyType: "", GoName: "Level"}, "likes": {Name: "likes", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "喜欢数量", GoType: "uint64", MyType: "", GoName: "Likes"}, "owner_id": {Name: "owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "评论者ID", GoType: "uint64", MyType: "", GoName: "OwnerId"}, "owner_type": {Name: "owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "customer", Comment: "评论者类型(customer-前台客户;user-后台用户)", GoType: "string", MyType: "", GoName: "OwnerType"}, "path": {Name: "path", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "路径", GoType: "string", MyType: "", GoName: "Path"}, "replies": {Name: "replies", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "回复数", GoType: "uint64", MyType: "", GoName: "Replies"}, "reply_comment_id": {Name: "reply_comment_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "回复评论ID", GoType: "uint64", MyType: "", GoName: "ReplyCommentId"}, "reply_owner_id": {Name: "reply_owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "回复用户ID", GoType: "uint64", MyType: "", GoName: "ReplyOwnerId"}, "reply_owner_type": {Name: "reply_owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "customer", Comment: "回复用户类型(customer-前台客户;user-后台用户)", GoType: "string", MyType: "", GoName: "ReplyOwnerType"}, "root_id": {Name: "root_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "根评论ID", GoType: "uint64", MyType: "", GoName: "RootId"}, "target_id": {Name: "target_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "评论目标ID", GoType: "uint64", MyType: "", GoName: "TargetId"}, "target_owner_id": {Name: "target_owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "目标作者ID", GoType: "uint64", MyType: "", GoName: "TargetOwnerId"}, "target_owner_type": {Name: "target_owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "customer", Comment: "目标作者类型(customer-前台客户;user-后台用户)", GoType: "string", MyType: "", GoName: "TargetOwnerType"}, "target_subtype": {Name: "target_subtype", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "评论目标子类型", GoType: "string", MyType: "", GoName: "TargetSubtype"}, "target_type": {Name: "target_type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "article", Comment: "评论目标类型(article,product...)", GoType: "string", MyType: "", GoName: "TargetType"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "编辑时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_common_complaint": {"content": {Name: "content", DataType: "mediumtext", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "投诉内容", GoType: "string", MyType: "", GoName: "Content"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "客户ID", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "process": {Name: "process", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"idle", "reject", "done", "queue"}, DefaultValue: "idle", Comment: "处理状态(idle-空闲;reject-驳回;done-已处理;queue-等待处理中)", GoType: "string", MyType: "", GoName: "Process"}, "result": {Name: "result", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "处理结果说明", GoType: "string", MyType: "", GoName: "Result"}, "target_id": {Name: "target_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "投诉对象ID", GoType: "uint64", MyType: "", GoName: "TargetId"}, "target_ident": {Name: "target_ident", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "投诉对象标识", GoType: "string", MyType: "", GoName: "TargetIdent"}, "target_name": {Name: "target_name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "对象名称", GoType: "string", MyType: "", GoName: "TargetName"}, "target_type": {Name: "target_type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "投诉对象类型", GoType: "string", MyType: "", GoName: "TargetType"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "投诉类型", GoType: "string", MyType: "", GoName: "Type"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_common_friendlink": {"category_id": {Name: "category_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "分类", GoType: "uint", MyType: "", GoName: "CategoryId"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "客户ID", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "网站说明", GoType: "string", MyType: "", GoName: "Description"}, "host": {Name: "host", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "网址主机名(域名)", GoType: "string", MyType: "", GoName: "Host"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "logo": {Name: "logo", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 150, Options: []string{}, DefaultValue: "", Comment: "LOGO", GoType: "string", MyType: "", GoName: "Logo"}, "logo_original": {Name: "logo_original", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 150, Options: []string{}, DefaultValue: "", Comment: "LOGO原图", GoType: "string", MyType: "", GoName: "LogoOriginal"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "网站名称", GoType: "string", MyType: "", GoName: "Name"}, "process": {Name: "process", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"idle", "success", "reject"}, DefaultValue: "idle", Comment: "处理结果(idle-待处理;success-成功;reject-拒绝)", GoType: "string", MyType: "", GoName: "Process"}, "process_remark": {Name: "process_remark", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "处理备注", GoType: "string", MyType: "", GoName: "ProcessRemark"}, "return_count": {Name: "return_count", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "回访次数", GoType: "uint", MyType: "", GoName: "ReturnCount"}, "return_time": {Name: "return_time", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "回访时间", GoType: "uint", MyType: "", GoName: "ReturnTime"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}, "url": {Name: "url", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "网址", GoType: "string", MyType: "", GoName: "Url"}, "verify_fail_count": {Name: "verify_fail_count", DataType: "tinyint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "验证失败次数", GoType: "uint", MyType: "", GoName: "VerifyFailCount"}, "verify_result": {Name: "verify_result", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"ok", "invalid", "none"}, DefaultValue: "none", Comment: "验证结果(ok-成功;invalid-无效;none-未验证)", GoType: "string", MyType: "", GoName: "VerifyResult"}, "verify_time": {Name: "verify_time", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "验证时间", GoType: "uint", MyType: "", GoName: "VerifyTime"}}, "official_common_group": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "组名", GoType: "string", MyType: "", GoName: "Name"}, "parent_id": {Name: "parent_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "上级ID", GoType: "uint", MyType: "", GoName: "ParentId"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "customer", Comment: "类型(customer-客户组;cert-证书组;order-订单组;product-产品组;attr-产品属性组;openapp-开放平台应用;api-外部接口组)", GoType: "string", MyType: "", GoName: "Type"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "用户ID", GoType: "uint", MyType: "", GoName: "Uid"}}, "official_common_message": {"content": {Name: "content", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "消息内容", GoType: "string", MyType: "", GoName: "Content"}, "contype": {Name: "contype", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"text", "html", "markdown"}, DefaultValue: "text", Comment: "内容类型", GoType: "string", MyType: "", GoName: "Contype"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "发送时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_a": {Name: "customer_a", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "发信人ID(0为系统消息)", GoType: "uint64", MyType: "", GoName: "CustomerA"}, "customer_b": {Name: "customer_b", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "收信人ID", GoType: "uint64", MyType: "", GoName: "CustomerB"}, "customer_group_id": {Name: "customer_group_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "客户组消息", GoType: "uint", MyType: "", GoName: "CustomerGroupId"}, "encrypted": {Name: "encrypted", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否为加密消息", GoType: "string", MyType: "", GoName: "Encrypted"}, "has_new_reply": {Name: "has_new_reply", DataType: "tinyint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "是否(1/0)有新回复", GoType: "uint", MyType: "", GoName: "HasNewReply"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "password": {Name: "password", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 64, Options: []string{}, DefaultValue: "", Comment: "密码", GoType: "string", MyType: "", GoName: "Password"}, "reply_id": {Name: "reply_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "回复ID", GoType: "uint64", MyType: "", GoName: "ReplyId"}, "root_id": {Name: "root_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "根ID", GoType: "uint64", MyType: "", GoName: "RootId"}, "title": {Name: "title", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "消息标题", GoType: "string", MyType: "", GoName: "Title"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "消息类型", GoType: "string", MyType: "", GoName: "Type"}, "url": {Name: "url", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "网址", GoType: "string", MyType: "", GoName: "Url"}, "user_a": {Name: "user_a", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "发信人ID(后台用户ID,用于系统消息)", GoType: "uint", MyType: "", GoName: "UserA"}, "user_b": {Name: "user_b", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "收信人ID(后台用户ID,用于后台消息)", GoType: "uint", MyType: "", GoName: "UserB"}, "user_role_id": {Name: "user_role_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "后台角色消息", GoType: "uint", MyType: "", GoName: "UserRoleId"}, "view_progress": {Name: "view_progress", DataType: "tinyint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "查看总进度(100为100%)", GoType: "uint", MyType: "", GoName: "ViewProgress"}}, "official_common_message_viewed": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "查看时间", GoType: "uint", MyType: "", GoName: "Created"}, "message_id": {Name: "message_id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "消息ID", GoType: "uint64", MyType: "", GoName: "MessageId"}, "viewer_id": {Name: "viewer_id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "浏览者ID", GoType: "uint64", MyType: "", GoName: "ViewerId"}, "viewer_type": {Name: "viewer_type", DataType: "enum", Unsigned: false, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "customer", Comment: "浏览者类型", GoType: "string", MyType: "", GoName: "ViewerType"}}, "official_common_navigate": {"badge": {Name: "badge", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "徽标文本", GoType: "string", MyType: "", GoName: "Badge"}, "cover": {Name: "cover", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "图片封面", GoType: "string", MyType: "", GoName: "Cover"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "添加时间", GoType: "uint", MyType: "", GoName: "Created"}, "direction": {Name: "direction", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"X", "Y"}, DefaultValue: "Y", Comment: "非自定义链接的排列方向(X-横向;Y-纵向)", GoType: "string", MyType: "", GoName: "Direction"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "has_child": {Name: "has_child", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否有子菜单", GoType: "string", MyType: "", GoName: "HasChild"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "ident": {Name: "ident", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "标识", GoType: "string", MyType: "", GoName: "Ident"}, "level": {Name: "level", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "层级", GoType: "uint", MyType: "", GoName: "Level"}, "link_type": {Name: "link_type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "custom", Comment: "菜单类型(category-分类;custom-自定义链接)", GoType: "string", MyType: "", GoName: "LinkType"}, "parent_id": {Name: "parent_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "上级ID", GoType: "uint", MyType: "", GoName: "ParentId"}, "remark": {Name: "remark", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "备注", GoType: "string", MyType: "", GoName: "Remark"}, "sort": {Name: "sort", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "5000", Comment: "排序", GoType: "int", MyType: "", GoName: "Sort"}, "target": {Name: "target", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "打开目标(_self/_blank/_parent/_top)", GoType: "string", MyType: "", GoName: "Target"}, "title": {Name: "title", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "菜单标题", GoType: "string", MyType: "", GoName: "Title"}, "type": {Name: "type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"default", "userCenter", "backend", "other"}, DefaultValue: "default", Comment: "导航类型(default-前后默认;userCenter-用户中心;backend-后台)", GoType: "string", MyType: "", GoName: "Type"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}, "url": {Name: "url", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "网址", GoType: "string", MyType: "", GoName: "Url"}}, "official_common_remark": {"content": {Name: "content", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "简短描述", GoType: "string", MyType: "", GoName: "Content"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "owner_id": {Name: "owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "所有者ID", GoType: "uint64", MyType: "", GoName: "OwnerId"}, "owner_type": {Name: "owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "customer", Comment: "所有者类型(customer-前台客户;user-后台用户)", GoType: "string", MyType: "", GoName: "OwnerType"}, "source_id": {Name: "source_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "来源ID", GoType: "uint64", MyType: "", GoName: "SourceId"}, "source_table": {Name: "source_table", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "来源表", GoType: "string", MyType: "", GoName: "SourceTable"}, "source_type": {Name: "source_type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "来源类型(组)", GoType: "string", MyType: "", GoName: "SourceType"}}, "official_common_route_page": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "method": {Name: "method", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "GET", Comment: "路由方法(GET/POST/PUT...)", GoType: "string", MyType: "", GoName: "Method"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "页面名称", GoType: "string", MyType: "", GoName: "Name"}, "page_content": {Name: "page_content", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "页面内容", GoType: "string", MyType: "", GoName: "PageContent"}, "page_id": {Name: "page_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "页面ID(可选,0为不关联)", GoType: "uint", MyType: "", GoName: "PageId"}, "page_type": {Name: "page_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"html", "json", "text", "xml", "redirect"}, DefaultValue: "html", Comment: "页面类型", GoType: "string", MyType: "", GoName: "PageType"}, "page_vars": {Name: "page_vars", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "页面变量(JSON)", GoType: "string", MyType: "", GoName: "PageVars"}, "route": {Name: "route", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "路由网址", GoType: "string", MyType: "", GoName: "Route"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更改时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_common_sensitive": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "添加时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "type": {Name: "type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"bad", "noise"}, DefaultValue: "bad", Comment: "类型(bad-敏感词;noise-噪音词)", GoType: "string", MyType: "", GoName: "Type"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}, "words": {Name: "words", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "敏感词", GoType: "string", MyType: "", GoName: "Words"}}, "official_common_tags": {"display": {Name: "display", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "Y", Comment: "是否显示", GoType: "string", MyType: "", GoName: "Display"}, "group": {Name: "group", DataType: "varchar", Unsigned: false, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "分组标识", GoType: "string", MyType: "", GoName: "Group"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "标签名", GoType: "string", MyType: "", GoName: "Name"}, "num": {Name: "num", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "数量", GoType: "uint64", MyType: "", GoName: "Num"}}, "official_customer": {"agent_level": {Name: "agent_level", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "代理等级", GoType: "uint", MyType: "", GoName: "AgentLevel"}, "avatar": {Name: "avatar", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "头像", GoType: "string", MyType: "", GoName: "Avatar"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "email": {Name: "email", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "邮箱", GoType: "string", MyType: "", GoName: "Email"}, "email_bind": {Name: "email_bind", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "邮箱是否已绑定", GoType: "string", MyType: "", GoName: "EmailBind"}, "file_num": {Name: "file_num", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "上传文件数量", GoType: "uint64", MyType: "", GoName: "FileNum"}, "file_size": {Name: "file_size", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "上传文件总大小", GoType: "uint64", MyType: "", GoName: "FileSize"}, "followers": {Name: "followers", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "关注我的人数", GoType: "uint", MyType: "", GoName: "Followers"}, "following": {Name: "following", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "我关注的人数", GoType: "uint", MyType: "", GoName: "Following"}, "gender": {Name: "gender", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"male", "female", "secret"}, DefaultValue: "secret", Comment: "性别(male-男;female-女;secret-保密)", GoType: "string", MyType: "", GoName: "Gender"}, "group_id": {Name: "group_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "分组ID", GoType: "uint", MyType: "", GoName: "GroupId"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "id_card_no": {Name: "id_card_no", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "身份证号", GoType: "string", MyType: "", GoName: "IdCardNo"}, "inviter_id": {Name: "inviter_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "推荐人(代理)ID", GoType: "uint64", MyType: "", GoName: "InviterId"}, "level_id": {Name: "level_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "客户等级", GoType: "uint", MyType: "", GoName: "LevelId"}, "licenses": {Name: "licenses", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "有效证书数量", GoType: "uint64", MyType: "", GoName: "Licenses"}, "login_fails": {Name: "login_fails", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "连续登录失败次数", GoType: "uint", MyType: "", GoName: "LoginFails"}, "mobile": {Name: "mobile", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "手机号", GoType: "string", MyType: "", GoName: "Mobile"}, "mobile_bind": {Name: "mobile_bind", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "手机是否已绑定", GoType: "string", MyType: "", GoName: "MobileBind"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "名称", GoType: "string", MyType: "", GoName: "Name"}, "online": {Name: "online", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否在线", GoType: "string", MyType: "", GoName: "Online"}, "password": {Name: "password", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 64, Options: []string{}, DefaultValue: "", Comment: "密码", GoType: "string", MyType: "", GoName: "Password"}, "real_name": {Name: "real_name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "真实姓名", GoType: "string", MyType: "", GoName: "RealName"}, "registered_by": {Name: "registered_by", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "注册来源", GoType: "string", MyType: "", GoName: "RegisteredBy"}, "role_ids": {Name: "role_ids", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "角色ID(多个用“,”分隔开)", GoType: "string", MyType: "", GoName: "RoleIds"}, "safe_pwd": {Name: "safe_pwd", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 64, Options: []string{}, DefaultValue: "", Comment: "安全密码", GoType: "string", MyType: "", GoName: "SafePwd"}, "salt": {Name: "salt", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 64, Options: []string{}, DefaultValue: "", Comment: "盐值", GoType: "string", MyType: "", GoName: "Salt"}, "session_id": {Name: "session_id", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 64, Options: []string{}, DefaultValue: "", Comment: "session id", GoType: "string", MyType: "", GoName: "SessionId"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "系统用户ID", GoType: "uint", MyType: "", GoName: "Uid"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_customer_agent_level": {"agency_fee": {Name: "agency_fee", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+16, Precision: 2, MaxSize: 18, Options: []string{}, DefaultValue: "0.00", Comment: "代理费", GoType: "float64", MyType: "", GoName: "AgencyFee"}, "agency_fee_rebate_ratio": {Name: "agency_fee_rebate_ratio", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 10, Precision: 3, MaxSize: 4, Options: []string{}, DefaultValue: "0.000", Comment: "下级代理费回扣比例", GoType: "float64", MyType: "", GoName: "AgencyFeeRebateRatio"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "等级说明", GoType: "string", MyType: "", GoName: "Description"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "等级名称", GoType: "string", MyType: "", GoName: "Name"}, "role_ids": {Name: "role_ids", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 225, Options: []string{}, DefaultValue: "", Comment: "角色ID(多个用“,”分隔开)", GoType: "string", MyType: "", GoName: "RoleIds"}, "sales_commission_ratio_1": {Name: "sales_commission_ratio_1", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 10, Precision: 3, MaxSize: 4, Options: []string{}, DefaultValue: "0.000", Comment: "销售提成比例(1级下线)", GoType: "float64", MyType: "", GoName: "SalesCommissionRatio1"}, "sales_commission_ratio_10": {Name: "sales_commission_ratio_10", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 10, Precision: 3, MaxSize: 4, Options: []string{}, DefaultValue: "0.000", Comment: "销售提成比例(10级下线)", GoType: "float64", MyType: "", GoName: "SalesCommissionRatio10"}, "sales_commission_ratio_2": {Name: "sales_commission_ratio_2", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 10, Precision: 3, MaxSize: 4, Options: []string{}, DefaultValue: "0.000", Comment: "销售提成比例(2级下线)", GoType: "float64", MyType: "", GoName: "SalesCommissionRatio2"}, "sales_commission_ratio_3": {Name: "sales_commission_ratio_3", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 10, Precision: 3, MaxSize: 4, Options: []string{}, DefaultValue: "0.000", Comment: "销售提成比例(3级下线)", GoType: "float64", MyType: "", GoName: "SalesCommissionRatio3"}, "sales_commission_ratio_4": {Name: "sales_commission_ratio_4", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 10, Precision: 3, MaxSize: 4, Options: []string{}, DefaultValue: "0.000", Comment: "销售提成比例(4级下线)", GoType: "float64", MyType: "", GoName: "SalesCommissionRatio4"}, "sales_commission_ratio_5": {Name: "sales_commission_ratio_5", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 10, Precision: 3, MaxSize: 4, Options: []string{}, DefaultValue: "0.000", Comment: "销售提成比例(5级下线)", GoType: "float64", MyType: "", GoName: "SalesCommissionRatio5"}, "sales_commission_ratio_6": {Name: "sales_commission_ratio_6", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 10, Precision: 3, MaxSize: 4, Options: []string{}, DefaultValue: "0.000", Comment: "销售提成比例(6级下线)", GoType: "float64", MyType: "", GoName: "SalesCommissionRatio6"}, "sales_commission_ratio_7": {Name: "sales_commission_ratio_7", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 10, Precision: 3, MaxSize: 4, Options: []string{}, DefaultValue: "0.000", Comment: "销售提成比例(7级下线)", GoType: "float64", MyType: "", GoName: "SalesCommissionRatio7"}, "sales_commission_ratio_8": {Name: "sales_commission_ratio_8", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 10, Precision: 3, MaxSize: 4, Options: []string{}, DefaultValue: "0.000", Comment: "销售提成比例(8级下线)", GoType: "float64", MyType: "", GoName: "SalesCommissionRatio8"}, "sales_commission_ratio_9": {Name: "sales_commission_ratio_9", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 10, Precision: 3, MaxSize: 4, Options: []string{}, DefaultValue: "0.000", Comment: "销售提成比例(9级下线)", GoType: "float64", MyType: "", GoName: "SalesCommissionRatio9"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_customer_agent_product": {"agent_id": {Name: "agent_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "代理商UID(customer表id)", GoType: "uint64", MyType: "", GoName: "AgentId"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "expired": {Name: "expired", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "过期时间", GoType: "uint", MyType: "", GoName: "Expired"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "performance": {Name: "performance", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+20, Precision: 3, MaxSize: 23, Options: []string{}, DefaultValue: "0.000", Comment: "业绩", GoType: "float64", MyType: "", GoName: "Performance"}, "product_id": {Name: "product_id", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "商品ID", GoType: "string", MyType: "", GoName: "ProductId"}, "product_table": {Name: "product_table", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "商品表名称(不含official_前缀)", GoType: "string", MyType: "", GoName: "ProductTable"}, "sold": {Name: "sold", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "销量", GoType: "uint64", MyType: "", GoName: "Sold"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_customer_agent_profile": {"apply_level": {Name: "apply_level", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "申请代理等级ID", GoType: "uint", MyType: "", GoName: "ApplyLevel"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "申请时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "客户ID", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "earning_balance": {Name: "earning_balance", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+18, Precision: 2, MaxSize: 20, Options: []string{}, DefaultValue: "0.00", Comment: "可提现收入金额", GoType: "float64", MyType: "", GoName: "EarningBalance"}, "freeze_amount": {Name: "freeze_amount", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+18, Precision: 2, MaxSize: 20, Options: []string{}, DefaultValue: "0.00", Comment: "冻结金额(提现中)", GoType: "float64", MyType: "", GoName: "FreezeAmount"}, "margin_amount": {Name: "margin_amount", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "保证金金额", GoType: "uint64", MyType: "", GoName: "MarginAmount"}, "members": {Name: "members", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "成员统计", GoType: "uint64", MyType: "", GoName: "Members"}, "remark": {Name: "remark", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "备注", GoType: "string", MyType: "", GoName: "Remark"}, "sold": {Name: "sold", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "销量", GoType: "uint64", MyType: "", GoName: "Sold"}, "status": {Name: "status", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"idle", "pending", "paid", "unconfirm", "success", "reject", "cheat", "signedContract", "unsignedContract"}, DefaultValue: "pending", Comment: "状态(idle:空闲/草稿;pending:待付款;paid:已付款;unconfirm:未确认;success:申请成功;reject:拒绝;cheat:作弊封号;unsignedContract-未签合同;signedContract-已签合同)", GoType: "string", MyType: "", GoName: "Status"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "资料更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_customer_agent_recv": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "申请时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "客户ID", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "recv_contract_address": {Name: "recv_contract_address", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "合同接收地址", GoType: "string", MyType: "", GoName: "RecvContractAddress"}, "recv_contract_addressee": {Name: "recv_contract_addressee", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "合同接收人姓名", GoType: "string", MyType: "", GoName: "RecvContractAddressee"}, "recv_contract_tel": {Name: "recv_contract_tel", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "合同接收人电话", GoType: "string", MyType: "", GoName: "RecvContractTel"}, "recv_money_account": {Name: "recv_money_account", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "收款账号(提现)", GoType: "string", MyType: "", GoName: "RecvMoneyAccount"}, "recv_money_branch": {Name: "recv_money_branch", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "收款银行分行(收款方式为银行类时有效)", GoType: "string", MyType: "", GoName: "RecvMoneyBranch"}, "recv_money_method": {Name: "recv_money_method", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "alipay", Comment: "收款方式(提现)", GoType: "string", MyType: "", GoName: "RecvMoneyMethod"}, "recv_money_owner": {Name: "recv_money_owner", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "收款人户名(提现)", GoType: "string", MyType: "", GoName: "RecvMoneyOwner"}, "recv_money_times": {Name: "recv_money_times", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "收款次数(提现)", GoType: "uint", MyType: "", GoName: "RecvMoneyTimes"}, "recv_money_total": {Name: "recv_money_total", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+19, Precision: 3, MaxSize: 22, Options: []string{}, DefaultValue: "0.000", Comment: "提现总额", GoType: "float64", MyType: "", GoName: "RecvMoneyTotal"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "资料更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_customer_counter": {"customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "客户ID", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "target": {Name: "target", DataType: "varchar", Unsigned: false, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "目标", GoType: "string", MyType: "", GoName: "Target"}, "total": {Name: "total", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "统计", GoType: "uint64", MyType: "", GoName: "Total"}}, "official_customer_device": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "登录时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "客户ID", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "device_no": {Name: "device_no", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "设备编号", GoType: "string", MyType: "", GoName: "DeviceNo"}, "expired": {Name: "expired", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "过期时间", GoType: "uint", MyType: "", GoName: "Expired"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "platform": {Name: "platform", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 16, Options: []string{}, DefaultValue: "", Comment: "系统平台", GoType: "string", MyType: "", GoName: "Platform"}, "scense": {Name: "scense", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "场景标识", GoType: "string", MyType: "", GoName: "Scense"}, "session_id": {Name: "session_id", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 64, Options: []string{}, DefaultValue: "", Comment: "session id", GoType: "string", MyType: "", GoName: "SessionId"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_customer_following": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_a": {Name: "customer_a", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "关注人ID", GoType: "uint64", MyType: "", GoName: "CustomerA"}, "customer_b": {Name: "customer_b", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "被关注人ID", GoType: "uint64", MyType: "", GoName: "CustomerB"}, "mutual": {Name: "mutual", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否相互关注", GoType: "string", MyType: "", GoName: "Mutual"}}, "official_customer_invitation": {"agent_level_id": {Name: "agent_level_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "代理等级ID", GoType: "uint", MyType: "", GoName: "AgentLevelId"}, "allow_num": {Name: "allow_num", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "1", Comment: "剩余允许使用次数", GoType: "uint", MyType: "", GoName: "AllowNum"}, "code": {Name: "code", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 40, Options: []string{}, DefaultValue: "", Comment: "邀请码", GoType: "string", MyType: "", GoName: "Code"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "end": {Name: "end", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "失效时间", GoType: "uint", MyType: "", GoName: "End"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "level_id": {Name: "level_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "客户等级ID", GoType: "uint", MyType: "", GoName: "LevelId"}, "owner_id": {Name: "owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建者ID", GoType: "uint64", MyType: "", GoName: "OwnerId"}, "owner_type": {Name: "owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "user", Comment: "创建者类型", GoType: "string", MyType: "", GoName: "OwnerType"}, "role_ids": {Name: "role_ids", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "注册为角色(多个用“,”分隔开)", GoType: "string", MyType: "", GoName: "RoleIds"}, "start": {Name: "start", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "有效时间", GoType: "uint", MyType: "", GoName: "Start"}, "used_num": {Name: "used_num", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "已使用次数", GoType: "uint", MyType: "", GoName: "UsedNum"}}, "official_customer_invitation_used": {"agent_level_id": {Name: "agent_level_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "代理等级ID", GoType: "uint", MyType: "", GoName: "AgentLevelId"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "客户ID", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "invitation_id": {Name: "invitation_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "邀请码ID", GoType: "uint", MyType: "", GoName: "InvitationId"}, "level_id": {Name: "level_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "客户等级ID", GoType: "uint", MyType: "", GoName: "LevelId"}, "role_ids": {Name: "role_ids", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "注册为角色(多个用“,”分隔开)", GoType: "string", MyType: "", GoName: "RoleIds"}}, "official_customer_level": {"bgcolor": {Name: "bgcolor", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "背景色", GoType: "string", MyType: "", GoName: "Bgcolor"}, "color": {Name: "color", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "颜色", GoType: "string", MyType: "", GoName: "Color"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "添加时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "等级简介", GoType: "string", MyType: "", GoName: "Description"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "extra": {Name: "extra", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "扩展配置(JSON)", GoType: "string", MyType: "", GoName: "Extra"}, "group": {Name: "group", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "base", Comment: "扩展组(base-基础组,其它名称为扩展组。客户只能有一个基础组等级,可以有多个扩展组等级)", GoType: "string", MyType: "", GoName: "Group"}, "icon_class": {Name: "icon_class", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "图片class名", GoType: "string", MyType: "", GoName: "IconClass"}, "icon_image": {Name: "icon_image", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "图标图片", GoType: "string", MyType: "", GoName: "IconImage"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "integral_max": {Name: "integral_max", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+27, Precision: 3, MaxSize: 30, Options: []string{}, DefaultValue: "0.000", Comment: "最大积分", GoType: "float64", MyType: "", GoName: "IntegralMax"}, "integral_min": {Name: "integral_min", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+27, Precision: 3, MaxSize: 30, Options: []string{}, DefaultValue: "0.000", Comment: "最小积分", GoType: "float64", MyType: "", GoName: "IntegralMin"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "等级名称", GoType: "string", MyType: "", GoName: "Name"}, "price": {Name: "price", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+07, Precision: 3, MaxSize: 10, Options: []string{}, DefaultValue: "0.000", Comment: "升级价格(0为免费)", GoType: "float64", MyType: "", GoName: "Price"}, "role_ids": {Name: "role_ids", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "角色ID(多个用“,”分隔开)", GoType: "string", MyType: "", GoName: "RoleIds"}, "score": {Name: "score", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "50000", Comment: "分值(分值越大等级越高)", GoType: "int", MyType: "", GoName: "Score"}, "short": {Name: "short", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "等级简称", GoType: "string", MyType: "", GoName: "Short"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_customer_level_relation": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "客户ID", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "expired": {Name: "expired", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "过期时间(0为永不过期)", GoType: "uint", MyType: "", GoName: "Expired"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "level_id": {Name: "level_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "等级ID", GoType: "uint", MyType: "", GoName: "LevelId"}, "reason": {Name: "reason", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "原因", GoType: "string", MyType: "", GoName: "Reason"}, "status": {Name: "status", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"unpaid", "unconfirmed", "reject", "success", "failure", "expired"}, DefaultValue: "unpaid", Comment: "状态(unpaid-未付款;unconfirmed-未确认;reject-拒绝;success-成功;failure-失败;expired-已过期)", GoType: "string", MyType: "", GoName: "Status"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_customer_oauth": {"access_token": {Name: "access_token", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "Access Token", GoType: "string", MyType: "", GoName: "AccessToken"}, "avatar": {Name: "avatar", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "头像", GoType: "string", MyType: "", GoName: "Avatar"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "添加时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "客户ID", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "email": {Name: "email", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "E-mail", GoType: "string", MyType: "", GoName: "Email"}, "expired": {Name: "expired", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "过期时间", GoType: "uint", MyType: "", GoName: "Expired"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "mobile": {Name: "mobile", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "手机号", GoType: "string", MyType: "", GoName: "Mobile"}, "open_id": {Name: "open_id", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "OPEN ID", GoType: "string", MyType: "", GoName: "OpenId"}, "refresh_token": {Name: "refresh_token", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "Refresh Token", GoType: "string", MyType: "", GoName: "RefreshToken"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "wechat", Comment: "类型(例如:wechat/qq/alipay)", GoType: "string", MyType: "", GoName: "Type"}, "union_id": {Name: "union_id", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "UNION ID", GoType: "string", MyType: "", GoName: "UnionId"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_customer_prepaid_card": {"amount": {Name: "amount", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "面值", GoType: "uint", MyType: "", GoName: "Amount"}, "bg_image": {Name: "bg_image", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "背景图片", GoType: "string", MyType: "", GoName: "BgImage"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "客户ID(使用者)", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "end": {Name: "end", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "失效时间", GoType: "uint", MyType: "", GoName: "End"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "number": {Name: "number", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 40, Options: []string{}, DefaultValue: "", Comment: "卡号", GoType: "string", MyType: "", GoName: "Number"}, "password": {Name: "password", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 40, Options: []string{}, DefaultValue: "", Comment: "卡密", GoType: "string", MyType: "", GoName: "Password"}, "sale_price": {Name: "sale_price", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+10, Precision: 2, MaxSize: 12, Options: []string{}, DefaultValue: "", Comment: "售价", GoType: "float64", MyType: "", GoName: "SalePrice"}, "start": {Name: "start", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "有效时间", GoType: "uint", MyType: "", GoName: "Start"}, "uid": {Name: "uid", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建者ID", GoType: "uint", MyType: "", GoName: "Uid"}, "used": {Name: "used", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "使用时间", GoType: "uint", MyType: "", GoName: "Used"}}, "official_customer_role": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "添加时间", GoType: "uint", MyType: "", GoName: "Created"}, "description": {Name: "description", DataType: "tinytext", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "说明", GoType: "string", MyType: "", GoName: "Description"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "is_default": {Name: "is_default", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否作为新用户注册时的默认角色", GoType: "string", MyType: "", GoName: "IsDefault"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "名称", GoType: "string", MyType: "", GoName: "Name"}, "parent_id": {Name: "parent_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "父级ID", GoType: "uint", MyType: "", GoName: "ParentId"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_customer_role_permission": {"permission": {Name: "permission", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "权限值", GoType: "string", MyType: "", GoName: "Permission"}, "role_id": {Name: "role_id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "角色ID", GoType: "uint", MyType: "", GoName: "RoleId"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "权限类型", GoType: "string", MyType: "", GoName: "Type"}}, "official_customer_u2f": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "绑定时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "客户ID", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "extra": {Name: "extra", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "扩展设置", GoType: "string", MyType: "", GoName: "Extra"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 100, Options: []string{}, DefaultValue: "", Comment: "名称", GoType: "string", MyType: "", GoName: "Name"}, "step": {Name: "step", DataType: "tinyint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "2", Comment: "第几步", GoType: "uint", MyType: "", GoName: "Step"}, "token": {Name: "token", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "签名", GoType: "string", MyType: "", GoName: "Token"}, "type": {Name: "type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "类型", GoType: "string", MyType: "", GoName: "Type"}}, "official_customer_wallet": {"asset_type": {Name: "asset_type", DataType: "varchar", Unsigned: false, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 15, Options: []string{}, DefaultValue: "money", Comment: "资产类型(money-钱;point-点数;credit-信用分;integral-积分;gold-金币;silver-银币;copper-铜币;experience-经验)", GoType: "string", MyType: "", GoName: "AssetType"}, "balance": {Name: "balance", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+26, Precision: 4, MaxSize: 30, Options: []string{}, DefaultValue: "0.0000", Comment: "余额", GoType: "float64", MyType: "", GoName: "Balance"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "客户ID", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "freeze": {Name: "freeze", DataType: "decimal", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 1e+26, Precision: 4, MaxSize: 30, Options: []string{}, DefaultValue: "0.0000", Comment: "冻结金额", GoType: "float64", MyType: "", GoName: "Freeze"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_customer_wallet_flow": {"amount": {Name: "amount", DataType: "decimal", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -5e+25, Max: 5e+25, Precision: 4, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "金额(正数为收入;负数为支出)", GoType: "float64", MyType: "", GoName: "Amount"}, "amount_type": {Name: "amount_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"balance", "freeze"}, DefaultValue: "balance", Comment: "金额类型(balance-余额;freeze-冻结额)", GoType: "string", MyType: "", GoName: "AmountType"}, "asset_type": {Name: "asset_type", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10, Options: []string{}, DefaultValue: "", Comment: "资产类型", GoType: "string", MyType: "", GoName: "AssetType"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "customer_id": {Name: "customer_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "客户ID", GoType: "uint64", MyType: "", GoName: "CustomerId"}, "description": {Name: "description", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "简短描述", GoType: "string", MyType: "", GoName: "Description"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "number": {Name: "number", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "备用编号", GoType: "uint64", MyType: "", GoName: "Number"}, "source_customer": {Name: "source_customer", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "来自谁", GoType: "uint64", MyType: "", GoName: "SourceCustomer"}, "source_id": {Name: "source_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "来源ID(来自物品ID)", GoType: "uint64", MyType: "", GoName: "SourceId"}, "source_table": {Name: "source_table", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "来源表(来自物品表)", GoType: "string", MyType: "", GoName: "SourceTable"}, "source_type": {Name: "source_type", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "来源类型(组)", GoType: "string", MyType: "", GoName: "SourceType"}, "status": {Name: "status", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"pending", "confirmed", "refunded", "failed", "succeed", "canceled"}, DefaultValue: "confirmed", Comment: "状态(pending-待确认;confirmed-已确认;canceled-已取消)", GoType: "string", MyType: "", GoName: "Status"}, "trade_no": {Name: "trade_no", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "交易号(来自哪个交易)", GoType: "string", MyType: "", GoName: "TradeNo"}, "wallet_amount": {Name: "wallet_amount", DataType: "decimal", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -5e+25, Max: 5e+25, Precision: 4, MaxSize: 30, Options: []string{}, DefaultValue: "0.0000", Comment: "变动后钱包总金额", GoType: "float64", MyType: "", GoName: "WalletAmount"}}, "official_page": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "添加时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "ident": {Name: "ident", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "英文唯一标识", GoType: "string", MyType: "", GoName: "Ident"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "名称", GoType: "string", MyType: "", GoName: "Name"}, "template": {Name: "template", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "模版文件", GoType: "string", MyType: "", GoName: "Template"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_page_block": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "item_configs": {Name: "item_configs", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "项目配置", GoType: "string", MyType: "", GoName: "ItemConfigs"}, "name": {Name: "name", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 60, Options: []string{}, DefaultValue: "", Comment: "区块名称", GoType: "string", MyType: "", GoName: "Name"}, "style": {Name: "style", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "区块自定义样式", GoType: "string", MyType: "", GoName: "Style"}, "template": {Name: "template", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 200, Options: []string{}, DefaultValue: "", Comment: "模版文件", GoType: "string", MyType: "", GoName: "Template"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}, "with_items": {Name: "with_items", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 255, Options: []string{}, DefaultValue: "", Comment: "包含项目", GoType: "string", MyType: "", GoName: "WithItems"}}, "official_page_layout": {"block_id": {Name: "block_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "区块ID", GoType: "uint", MyType: "", GoName: "BlockId"}, "configs": {Name: "configs", DataType: "text", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "区块在布局中的配置", GoType: "string", MyType: "", GoName: "Configs"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "添加时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "id": {Name: "id", DataType: "int", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint", MyType: "", GoName: "Id"}, "page_id": {Name: "page_id", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "页面ID", GoType: "uint", MyType: "", GoName: "PageId"}, "sort": {Name: "sort", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "5000", Comment: "排序", GoType: "int", MyType: "", GoName: "Sort"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "修改时间", GoType: "uint", MyType: "", GoName: "Updated"}}, "official_short_url": {"available": {Name: "available", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "Y", Comment: "是否有效", GoType: "string", MyType: "", GoName: "Available"}, "created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "domain_id": {Name: "domain_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "域名ID", GoType: "uint64", MyType: "", GoName: "DomainId"}, "expired": {Name: "expired", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "过期时间(0为不限制)", GoType: "uint", MyType: "", GoName: "Expired"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "long_hash": {Name: "long_hash", DataType: "char", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 32, Options: []string{}, DefaultValue: "", Comment: "长网址MD5值", GoType: "string", MyType: "", GoName: "LongHash"}, "long_url": {Name: "long_url", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 10240, Options: []string{}, DefaultValue: "", Comment: "长网址", GoType: "string", MyType: "", GoName: "LongUrl"}, "owner_id": {Name: "owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "添加者ID", GoType: "uint64", MyType: "", GoName: "OwnerId"}, "owner_type": {Name: "owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "customer", Comment: "所有者类型(customer-前台客户;user-后台用户)", GoType: "string", MyType: "", GoName: "OwnerType"}, "password": {Name: "password", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 32, Options: []string{}, DefaultValue: "", Comment: "访问密码md5(空代表无需密码)", GoType: "string", MyType: "", GoName: "Password"}, "short_url": {Name: "short_url", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "短网址", GoType: "string", MyType: "", GoName: "ShortUrl"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}, "visited": {Name: "visited", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "最近访问时间", GoType: "uint", MyType: "", GoName: "Visited"}, "visits": {Name: "visits", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "访问次数", GoType: "uint64", MyType: "", GoName: "Visits"}}, "official_short_url_domain": {"created": {Name: "created", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "uint", MyType: "", GoName: "Created"}, "disabled": {Name: "disabled", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"Y", "N"}, DefaultValue: "N", Comment: "是否(Y/N)禁用", GoType: "string", MyType: "", GoName: "Disabled"}, "domain": {Name: "domain", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "域名", GoType: "string", MyType: "", GoName: "Domain"}, "id": {Name: "id", DataType: "bigint", Unsigned: true, PrimaryKey: true, AutoIncrement: true, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "ID", GoType: "uint64", MyType: "", GoName: "Id"}, "owner_id": {Name: "owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "所有者客户ID", GoType: "uint64", MyType: "", GoName: "OwnerId"}, "owner_type": {Name: "owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "customer", Comment: "所有者类型(customer-前台客户;user-后台用户)", GoType: "string", MyType: "", GoName: "OwnerType"}, "updated": {Name: "updated", DataType: "int", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "更新时间", GoType: "uint", MyType: "", GoName: "Updated"}, "url_count": {Name: "url_count", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "网址统计", GoType: "uint64", MyType: "", GoName: "UrlCount"}}, "official_short_url_visit": {"browser": {Name: "browser", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "浏览器", GoType: "string", MyType: "", GoName: "Browser"}, "browser_version": {Name: "browser_version", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "浏览器版本", GoType: "string", MyType: "", GoName: "BrowserVersion"}, "city": {Name: "city", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "城市", GoType: "string", MyType: "", GoName: "City"}, "country": {Name: "country", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "国家", GoType: "string", MyType: "", GoName: "Country"}, "created": {Name: "created", DataType: "int", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: -0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "创建时间", GoType: "int", MyType: "", GoName: "Created"}, "day": {Name: "day", DataType: "tinyint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "日", GoType: "uint", MyType: "", GoName: "Day"}, "domain_id": {Name: "domain_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "域名ID", GoType: "uint64", MyType: "", GoName: "DomainId"}, "hour": {Name: "hour", DataType: "tinyint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "时", GoType: "uint", MyType: "", GoName: "Hour"}, "ip": {Name: "ip", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 20, Options: []string{}, DefaultValue: "", Comment: "IP", GoType: "string", MyType: "", GoName: "Ip"}, "isp": {Name: "isp", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "ISP网络", GoType: "string", MyType: "", GoName: "Isp"}, "language": {Name: "language", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "语言", GoType: "string", MyType: "", GoName: "Language"}, "month": {Name: "month", DataType: "tinyint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "月", GoType: "uint", MyType: "", GoName: "Month"}, "os": {Name: "os", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "操作系统", GoType: "string", MyType: "", GoName: "Os"}, "os_version": {Name: "os_version", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "操作系统版本", GoType: "string", MyType: "", GoName: "OsVersion"}, "owner_id": {Name: "owner_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "0", Comment: "所有者ID", GoType: "uint64", MyType: "", GoName: "OwnerId"}, "owner_type": {Name: "owner_type", DataType: "enum", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{"user", "customer"}, DefaultValue: "customer", Comment: "所有者类型(customer-前台客户;user-后台用户)", GoType: "string", MyType: "", GoName: "OwnerType"}, "province": {Name: "province", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "省份", GoType: "string", MyType: "", GoName: "Province"}, "referer": {Name: "referer", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 120, Options: []string{}, DefaultValue: "", Comment: "来源网址", GoType: "string", MyType: "", GoName: "Referer"}, "region": {Name: "region", DataType: "varchar", Unsigned: false, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 30, Options: []string{}, DefaultValue: "", Comment: "行政区", GoType: "string", MyType: "", GoName: "Region"}, "url_id": {Name: "url_id", DataType: "bigint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "网址ID", GoType: "uint64", MyType: "", GoName: "UrlId"}, "year": {Name: "year", DataType: "mediumint", Unsigned: true, PrimaryKey: false, AutoIncrement: false, Min: 0, Max: 0, Precision: 0, MaxSize: 0, Options: []string{}, DefaultValue: "", Comment: "年", GoType: "uint", MyType: "", GoName: "Year"}}})
DBI.ColumnsRegister(map[string][]string{"official_ad_item": {"id", "name", "publisher_id", "position_id", "content", "contype", "mode", "url", "disabled", "start", "end", "sort", "created", "updated"}, "official_ad_position": {"id", "ident", "name", "width", "height", "content", "contype", "url", "disabled", "created", "updated"}, "official_ad_publisher": {"id", "owner_id", "owner_type", "deposit", "disabled", "created", "updated"}, "official_ad_settings": {"id", "advert_id", "type", "value", "v_start", "v_end", "t_start", "t_end", "disabled"}, "official_common_api_account": {"id", "owner_type", "owner_id", "group_id", "name", "url", "url_dev", "app_id", "app_secret", "public_key", "encryption", "extra", "disabled", "created", "updated"}, "official_common_area": {"id", "pid", "short", "name", "merged", "level", "pinyin", "code", "zip", "first", "lng", "lat", "country_abbr"}, "official_common_area_group": {"id", "country_abbr", "name", "abbr", "area_ids", "sort"}, "official_common_article": {"id", "category1", "category2", "category3", "category_id", "source_id", "source_table", "owner_id", "owner_type", "title", "image", "image_original", "summary", "content", "contype", "created", "updated", "display", "template", "comments", "close_comment", "comment_auto_display", "comment_allow_user", "likes", "hates", "views", "tags", "price", "slugify"}, "official_common_category": {"id", "parent_id", "has_child", "level", "name", "description", "cover", "type", "sort", "template", "disabled", "show_on_menu", "created", "updated", "slugify"}, "official_common_click_flow": {"id", "target_type", "target_id", "owner_id", "owner_type", "type", "created"}, "official_common_comment": {"id", "reply_comment_id", "reply_owner_id", "reply_owner_type", "root_id", "target_type", "target_subtype", "target_id", "target_owner_id", "target_owner_type", "owner_id", "owner_type", "content", "contype", "created", "updated", "display", "level", "path", "replies", "likes", "hates"}, "official_common_complaint": {"id", "customer_id", "target_name", "target_id", "target_type", "target_ident", "type", "content", "process", "result", "created", "updated"}, "official_common_friendlink": {"id", "category_id", "customer_id", "logo", "logo_original", "name", "description", "url", "host", "verify_time", "verify_fail_count", "verify_result", "process", "process_remark", "created", "updated", "return_time", "return_count"}, "official_common_group": {"id", "parent_id", "uid", "name", "type", "description", "created"}, "official_common_message": {"id", "type", "customer_a", "customer_b", "customer_group_id", "user_a", "user_b", "user_role_id", "title", "content", "contype", "encrypted", "password", "created", "url", "root_id", "reply_id", "has_new_reply", "view_progress"}, "official_common_message_viewed": {"message_id", "viewer_id", "viewer_type", "created"}, "official_common_navigate": {"id", "type", "link_type", "parent_id", "has_child", "level", "title", "cover", "url", "ident", "remark", "sort", "disabled", "target", "direction", "badge", "created", "updated"}, "official_common_remark": {"id", "owner_id", "owner_type", "source_type", "source_table", "source_id", "content", "created"}, "official_common_route_page": {"id", "name", "route", "method", "page_content", "page_vars", "page_type", "page_id", "disabled", "created", "updated"}, "official_common_sensitive": {"id", "words", "type", "disabled", "created", "updated"}, "official_common_tags": {"name", "num", "group", "display"}, "official_customer": {"id", "uid", "group_id", "name", "password", "salt", "safe_pwd", "session_id", "real_name", "mobile", "mobile_bind", "email", "email_bind", "online", "disabled", "gender", "id_card_no", "created", "updated", "description", "avatar", "licenses", "login_fails", "level_id", "agent_level", "inviter_id", "following", "followers", "role_ids", "file_size", "file_num", "registered_by"}, "official_customer_agent_level": {"id", "name", "description", "agency_fee", "agency_fee_rebate_ratio", "sales_commission_ratio_1", "sales_commission_ratio_2", "sales_commission_ratio_3", "sales_commission_ratio_4", "sales_commission_ratio_5", "sales_commission_ratio_6", "sales_commission_ratio_7", "sales_commission_ratio_8", "sales_commission_ratio_9", "sales_commission_ratio_10", "created", "updated", "disabled", "role_ids"}, "official_customer_agent_product": {"id", "agent_id", "product_id", "product_table", "sold", "performance", "created", "expired", "updated", "disabled"}, "official_customer_agent_profile": {"customer_id", "earning_balance", "freeze_amount", "margin_amount", "sold", "members", "status", "apply_level", "remark", "created", "updated"}, "official_customer_agent_recv": {"customer_id", "recv_money_method", "recv_money_branch", "recv_money_account", "recv_money_owner", "recv_money_times", "recv_money_total", "recv_contract_address", "recv_contract_addressee", "recv_contract_tel", "created", "updated"}, "official_customer_counter": {"customer_id", "target", "total"}, "official_customer_device": {"id", "customer_id", "session_id", "scense", "platform", "device_no", "created", "updated", "expired"}, "official_customer_following": {"customer_a", "customer_b", "created", "mutual"}, "official_customer_invitation": {"id", "owner_id", "owner_type", "code", "created", "start", "end", "disabled", "level_id", "agent_level_id", "role_ids", "used_num", "allow_num"}, "official_customer_invitation_used": {"id", "customer_id", "invitation_id", "created", "level_id", "agent_level_id", "role_ids"}, "official_customer_level": {"id", "name", "short", "description", "icon_image", "icon_class", "color", "bgcolor", "price", "integral_min", "integral_max", "created", "updated", "score", "disabled", "extra", "group", "role_ids"}, "official_customer_level_relation": {"id", "customer_id", "level_id", "status", "reason", "expired", "created", "updated"}, "official_customer_oauth": {"id", "customer_id", "union_id", "open_id", "type", "avatar", "email", "mobile", "access_token", "refresh_token", "expired", "created", "updated"}, "official_customer_prepaid_card": {"id", "uid", "customer_id", "amount", "sale_price", "number", "password", "created", "start", "end", "used", "disabled", "bg_image"}, "official_customer_role": {"id", "name", "description", "created", "updated", "disabled", "is_default", "parent_id"}, "official_customer_role_permission": {"role_id", "type", "permission"}, "official_customer_u2f": {"id", "customer_id", "name", "token", "type", "extra", "step", "created"}, "official_customer_wallet": {"customer_id", "asset_type", "balance", "freeze", "created", "updated"}, "official_customer_wallet_flow": {"id", "customer_id", "asset_type", "amount_type", "amount", "wallet_amount", "source_customer", "source_type", "source_table", "source_id", "number", "trade_no", "status", "description", "created"}, "official_page": {"id", "name", "ident", "template", "disabled", "created", "updated"}, "official_page_block": {"id", "name", "style", "with_items", "item_configs", "template", "disabled", "created", "updated"}, "official_page_layout": {"id", "block_id", "page_id", "configs", "sort", "disabled", "created", "updated"}, "official_short_url": {"id", "owner_id", "owner_type", "long_url", "long_hash", "short_url", "domain_id", "visited", "visits", "available", "created", "updated", "expired", "password"}, "official_short_url_domain": {"id", "owner_id", "owner_type", "domain", "url_count", "disabled", "created", "updated"}, "official_short_url_visit": {"owner_id", "owner_type", "url_id", "domain_id", "year", "month", "day", "hour", "ip", "referer", "language", "country", "region", "province", "city", "isp", "os", "os_version", "browser", "browser_version", "created"}})
DBI.ModelsRegister(factory.ModelInstancers{`OfficialAdItem`: factory.NewMI("official_ad_item", func(connID int) factory.Model { return &OfficialAdItem{base: *((&factory.Base{}).SetConnID(connID))} }, "广告"), `OfficialAdPosition`: factory.NewMI("official_ad_position", func(connID int) factory.Model {
return &OfficialAdPosition{base: *((&factory.Base{}).SetConnID(connID))}
}, "广告位置"), `OfficialAdPublisher`: factory.NewMI("official_ad_publisher", func(connID int) factory.Model {
return &OfficialAdPublisher{base: *((&factory.Base{}).SetConnID(connID))}
}, "广告主"), `OfficialAdSettings`: factory.NewMI("official_ad_settings", func(connID int) factory.Model {
return &OfficialAdSettings{base: *((&factory.Base{}).SetConnID(connID))}
}, "广告设置"), `OfficialCommonApiAccount`: factory.NewMI("official_common_api_account", func(connID int) factory.Model {
return &OfficialCommonApiAccount{base: *((&factory.Base{}).SetConnID(connID))}
}, ""), `OfficialCommonArea`: factory.NewMI("official_common_area", func(connID int) factory.Model {
return &OfficialCommonArea{base: *((&factory.Base{}).SetConnID(connID))}
}, "地区表"), `OfficialCommonAreaGroup`: factory.NewMI("official_common_area_group", func(connID int) factory.Model {
return &OfficialCommonAreaGroup{base: *((&factory.Base{}).SetConnID(connID))}
}, "地区分组"), `OfficialCommonArticle`: factory.NewMI("official_common_article", func(connID int) factory.Model {
return &OfficialCommonArticle{base: *((&factory.Base{}).SetConnID(connID))}
}, "官方新闻"), `OfficialCommonCategory`: factory.NewMI("official_common_category", func(connID int) factory.Model {
return &OfficialCommonCategory{base: *((&factory.Base{}).SetConnID(connID))}
}, "分类"), `OfficialCommonClickFlow`: factory.NewMI("official_common_click_flow", func(connID int) factory.Model {
return &OfficialCommonClickFlow{base: *((&factory.Base{}).SetConnID(connID))}
}, "点击流水记录"), `OfficialCommonComment`: factory.NewMI("official_common_comment", func(connID int) factory.Model {
return &OfficialCommonComment{base: *((&factory.Base{}).SetConnID(connID))}
}, "评论表"), `OfficialCommonComplaint`: factory.NewMI("official_common_complaint", func(connID int) factory.Model {
return &OfficialCommonComplaint{base: *((&factory.Base{}).SetConnID(connID))}
}, "投诉信息"), `OfficialCommonFriendlink`: factory.NewMI("official_common_friendlink", func(connID int) factory.Model {
return &OfficialCommonFriendlink{base: *((&factory.Base{}).SetConnID(connID))}
}, "友情链接"), `OfficialCommonGroup`: factory.NewMI("official_common_group", func(connID int) factory.Model {
return &OfficialCommonGroup{base: *((&factory.Base{}).SetConnID(connID))}
}, "分组"), `OfficialCommonMessage`: factory.NewMI("official_common_message", func(connID int) factory.Model {
return &OfficialCommonMessage{base: *((&factory.Base{}).SetConnID(connID))}
}, "站内信"), `OfficialCommonMessageViewed`: factory.NewMI("official_common_message_viewed", func(connID int) factory.Model {
return &OfficialCommonMessageViewed{base: *((&factory.Base{}).SetConnID(connID))}
}, "消息浏览记录"), `OfficialCommonNavigate`: factory.NewMI("official_common_navigate", func(connID int) factory.Model {
return &OfficialCommonNavigate{base: *((&factory.Base{}).SetConnID(connID))}
}, "导航连接"), `OfficialCommonRemark`: factory.NewMI("official_common_remark", func(connID int) factory.Model {
return &OfficialCommonRemark{base: *((&factory.Base{}).SetConnID(connID))}
}, "备注"), `OfficialCommonRoutePage`: factory.NewMI("official_common_route_page", func(connID int) factory.Model {
return &OfficialCommonRoutePage{base: *((&factory.Base{}).SetConnID(connID))}
}, "自定义路由页面"), `OfficialCommonSensitive`: factory.NewMI("official_common_sensitive", func(connID int) factory.Model {
return &OfficialCommonSensitive{base: *((&factory.Base{}).SetConnID(connID))}
}, "敏感词"), `OfficialCommonTags`: factory.NewMI("official_common_tags", func(connID int) factory.Model {
return &OfficialCommonTags{base: *((&factory.Base{}).SetConnID(connID))}
}, "标签库"), `OfficialCustomer`: factory.NewMI("official_customer", func(connID int) factory.Model { return &OfficialCustomer{base: *((&factory.Base{}).SetConnID(connID))} }, "客户资料"), `OfficialCustomerAgentLevel`: factory.NewMI("official_customer_agent_level", func(connID int) factory.Model {
return &OfficialCustomerAgentLevel{base: *((&factory.Base{}).SetConnID(connID))}
}, "代理等级"), `OfficialCustomerAgentProduct`: factory.NewMI("official_customer_agent_product", func(connID int) factory.Model {
return &OfficialCustomerAgentProduct{base: *((&factory.Base{}).SetConnID(connID))}
}, "代理产品列表"), `OfficialCustomerAgentProfile`: factory.NewMI("official_customer_agent_profile", func(connID int) factory.Model {
return &OfficialCustomerAgentProfile{base: *((&factory.Base{}).SetConnID(connID))}
}, ""), `OfficialCustomerAgentRecv`: factory.NewMI("official_customer_agent_recv", func(connID int) factory.Model {
return &OfficialCustomerAgentRecv{base: *((&factory.Base{}).SetConnID(connID))}
}, ""), `OfficialCustomerCounter`: factory.NewMI("official_customer_counter", func(connID int) factory.Model {
return &OfficialCustomerCounter{base: *((&factory.Base{}).SetConnID(connID))}
}, "客户的其它数据计数"), `OfficialCustomerDevice`: factory.NewMI("official_customer_device", func(connID int) factory.Model {
return &OfficialCustomerDevice{base: *((&factory.Base{}).SetConnID(connID))}
}, "客户登录设备"), `OfficialCustomerFollowing`: factory.NewMI("official_customer_following", func(connID int) factory.Model {
return &OfficialCustomerFollowing{base: *((&factory.Base{}).SetConnID(connID))}
}, "关注"), `OfficialCustomerInvitation`: factory.NewMI("official_customer_invitation", func(connID int) factory.Model {
return &OfficialCustomerInvitation{base: *((&factory.Base{}).SetConnID(connID))}
}, "邀请码"), `OfficialCustomerInvitationUsed`: factory.NewMI("official_customer_invitation_used", func(connID int) factory.Model {
return &OfficialCustomerInvitationUsed{base: *((&factory.Base{}).SetConnID(connID))}
}, "邀请客户"), `OfficialCustomerLevel`: factory.NewMI("official_customer_level", func(connID int) factory.Model {
return &OfficialCustomerLevel{base: *((&factory.Base{}).SetConnID(connID))}
}, "客户等级"), `OfficialCustomerLevelRelation`: factory.NewMI("official_customer_level_relation", func(connID int) factory.Model {
return &OfficialCustomerLevelRelation{base: *((&factory.Base{}).SetConnID(connID))}
}, "客户等级关联"), `OfficialCustomerOauth`: factory.NewMI("official_customer_oauth", func(connID int) factory.Model {
return &OfficialCustomerOauth{base: *((&factory.Base{}).SetConnID(connID))}
}, "第三方登录"), `OfficialCustomerPrepaidCard`: factory.NewMI("official_customer_prepaid_card", func(connID int) factory.Model {
return &OfficialCustomerPrepaidCard{base: *((&factory.Base{}).SetConnID(connID))}
}, "充值卡"), `OfficialCustomerRole`: factory.NewMI("official_customer_role", func(connID int) factory.Model {
return &OfficialCustomerRole{base: *((&factory.Base{}).SetConnID(connID))}
}, "客户角色"), `OfficialCustomerRolePermission`: factory.NewMI("official_customer_role_permission", func(connID int) factory.Model {
return &OfficialCustomerRolePermission{base: *((&factory.Base{}).SetConnID(connID))}
}, ""), `OfficialCustomerU2f`: factory.NewMI("official_customer_u2f", func(connID int) factory.Model {
return &OfficialCustomerU2f{base: *((&factory.Base{}).SetConnID(connID))}
}, "两步验证"), `OfficialCustomerWallet`: factory.NewMI("official_customer_wallet", func(connID int) factory.Model {
return &OfficialCustomerWallet{base: *((&factory.Base{}).SetConnID(connID))}
}, "钱包"), `OfficialCustomerWalletFlow`: factory.NewMI("official_customer_wallet_flow", func(connID int) factory.Model {
return &OfficialCustomerWalletFlow{base: *((&factory.Base{}).SetConnID(connID))}
}, "钱包流水记录"), `OfficialPage`: factory.NewMI("official_page", func(connID int) factory.Model { return &OfficialPage{base: *((&factory.Base{}).SetConnID(connID))} }, "页面布局"), `OfficialPageBlock`: factory.NewMI("official_page_block", func(connID int) factory.Model {
return &OfficialPageBlock{base: *((&factory.Base{}).SetConnID(connID))}
}, "页面区块"), `OfficialPageLayout`: factory.NewMI("official_page_layout", func(connID int) factory.Model {
return &OfficialPageLayout{base: *((&factory.Base{}).SetConnID(connID))}
}, "页面布局所含区块"), `OfficialShortUrl`: factory.NewMI("official_short_url", func(connID int) factory.Model { return &OfficialShortUrl{base: *((&factory.Base{}).SetConnID(connID))} }, "创建时间"), `OfficialShortUrlDomain`: factory.NewMI("official_short_url_domain", func(connID int) factory.Model {
return &OfficialShortUrlDomain{base: *((&factory.Base{}).SetConnID(connID))}
}, "短网址域名"), `OfficialShortUrlVisit`: factory.NewMI("official_short_url_visit", func(connID int) factory.Model {
return &OfficialShortUrlVisit{base: *((&factory.Base{}).SetConnID(connID))}
}, "网址访问日志")})
}