This commit is contained in:
孟帅
2022-11-24 23:37:34 +08:00
parent 4ffe54b6ac
commit 29bda0dcdd
1487 changed files with 97869 additions and 96539 deletions

View File

View File

@@ -0,0 +1,25 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// AdminDept is the golang structure for table admin_dept.
type AdminDept struct {
Id int64 `json:"id" description:"部门id"`
Pid int64 `json:"pid" description:"父部门id"`
Name string `json:"name" description:"部门名称"`
Code string `json:"code" description:"部门编码"`
Type string `json:"type" description:"部门类型"`
Leader string `json:"leader" description:"负责人"`
Phone string `json:"phone" description:"联系电话"`
Email string `json:"email" description:"邮箱"`
Sort int `json:"sort" description:"排序"`
Status int `json:"status" description:"部门状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}

View File

@@ -0,0 +1,42 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// AdminMember is the golang structure for table admin_member.
type AdminMember struct {
Id int64 `json:"id" description:""`
DeptId int64 `json:"deptId" description:"部门ID"`
Username string `json:"username" description:"帐号"`
PasswordHash string `json:"passwordHash" description:"密码"`
Salt string `json:"salt" description:"密码盐"`
AuthKey string `json:"authKey" description:"授权令牌"`
PasswordResetToken string `json:"passwordResetToken" description:"密码重置令牌"`
Type string `json:"type" description:"1:普通管理员;10超级管理员"`
Realname string `json:"realname" description:"真实姓名"`
Avatar string `json:"avatar" description:"头像"`
Sex int `json:"sex" description:"性别[1:男;2:女;3:未知]"`
Qq string `json:"qq" description:"qq"`
Email string `json:"email" description:"邮箱"`
Birthday *gtime.Time `json:"birthday" description:"生日"`
ProvinceId int `json:"provinceId" description:"省"`
CityId int `json:"cityId" description:"城市"`
AreaId int `json:"areaId" description:"地区"`
Address string `json:"address" description:"默认地址"`
Mobile string `json:"mobile" description:"手机号码"`
HomePhone string `json:"homePhone" description:"家庭号码"`
DingtalkRobotToken string `json:"dingtalkRobotToken" description:"钉钉机器人token"`
VisitCount uint `json:"visitCount" description:"访问次数"`
LastTime int `json:"lastTime" description:"最后一次登录时间"`
LastIp string `json:"lastIp" description:"最后一次登录ip"`
Role int64 `json:"role" description:"权限"`
Remark string `json:"remark" description:"备注"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"修改时间"`
}

View File

@@ -0,0 +1,11 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// AdminMemberPost is the golang structure for table admin_member_post.
type AdminMemberPost struct {
MemberId int64 `json:"memberId" description:"用户ID"`
PostId int64 `json:"postId" description:"岗位ID"`
}

View File

@@ -0,0 +1,11 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// AdminMemberRole is the golang structure for table admin_member_role.
type AdminMemberRole struct {
MemberId int64 `json:"memberId" description:"用户ID"`
RoleId int64 `json:"roleId" description:"角色ID"`
}

View File

@@ -0,0 +1,39 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// AdminMenu is the golang structure for table admin_menu.
type AdminMenu struct {
Id int64 `json:"id" description:"菜单ID"`
Pid int64 `json:"pid" description:"父菜单ID"`
Title string `json:"title" description:"菜单名称"`
Name string `json:"name" description:"名称编码"`
Path string `json:"path" description:"路由地址"`
Icon string `json:"icon" description:"菜单图标"`
Type int `json:"type" description:"菜单类型1目录 2菜单 3按钮"`
Redirect string `json:"redirect" description:"重定向地址"`
Permissions string `json:"permissions" description:"菜单包含权限集合"`
PermissionName string `json:"permissionName" description:"权限名称"`
Component string `json:"component" description:"组件路径"`
AlwaysShow int `json:"alwaysShow" description:"取消自动计算根路由模式"`
ActiveMenu string `json:"activeMenu" description:"高亮菜单编码"`
IsRoot int `json:"isRoot" description:"是否跟路由"`
IsFrame int `json:"isFrame" description:"是否内嵌"`
FrameSrc string `json:"frameSrc" description:"内联外部地址"`
KeepAlive int `json:"keepAlive" description:"缓存该路由"`
Hidden int `json:"hidden" description:"是否隐藏"`
Affix int `json:"affix" description:"是否固定"`
Level int `json:"level" description:"级别"`
Tree string `json:"tree" description:"树"`
Sort int `json:"sort" description:"排序"`
Remark string `json:"remark" description:"备注"`
Status int `json:"status" description:"菜单状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}

View File

@@ -0,0 +1,24 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// AdminNotice is the golang structure for table admin_notice.
type AdminNotice struct {
Id int64 `json:"id" description:"公告ID"`
Title string `json:"title" description:"公告标题"`
Type int64 `json:"type" description:"公告类型1通知 2公告"`
Content string `json:"content" description:"公告内容"`
Receiver string `json:"receiver" description:"接收者"`
Reader string `json:"reader" description:"已读人"`
Remark string `json:"remark" description:"备注"`
Sort int `json:"sort" description:"排序"`
Status int `json:"status" description:"公告状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}

View File

@@ -0,0 +1,21 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// AdminPost is the golang structure for table admin_post.
type AdminPost struct {
Id int64 `json:"id" description:"岗位ID"`
Code string `json:"code" description:"岗位编码"`
Name string `json:"name" description:"岗位名称"`
Remark string `json:"remark" description:"备注"`
Sort int `json:"sort" description:"显示顺序"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}

View File

@@ -0,0 +1,24 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// AdminRole is the golang structure for table admin_role.
type AdminRole struct {
Id int64 `json:"id" description:"角色ID"`
Name string `json:"name" description:"角色名称"`
Key string `json:"key" description:"角色权限字符串"`
DataScope int `json:"dataScope" description:"数据范围1全部数据权限 2自定数据权限 3本部门数据权限 4本部门及以下数据权限"`
MenuCheckStrictly int `json:"menuCheckStrictly" description:"菜单树选择项是否关联显示"`
DeptCheckStrictly int `json:"deptCheckStrictly" description:"部门树选择项是否关联显示"`
Remark string `json:"remark" description:"备注"`
Sort int `json:"sort" description:"排序"`
Status int `json:"status" description:"角色状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}

View File

@@ -0,0 +1,17 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// AdminRoleCasbin is the golang structure for table admin_role_casbin.
type AdminRoleCasbin struct {
Id int64 `json:"id" description:""`
PType string `json:"pType" description:""`
V0 string `json:"v0" description:""`
V1 string `json:"v1" description:""`
V2 string `json:"v2" description:""`
V3 string `json:"v3" description:""`
V4 string `json:"v4" description:""`
V5 string `json:"v5" description:""`
}

View File

@@ -0,0 +1,11 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// AdminRoleDept is the golang structure for table admin_role_dept.
type AdminRoleDept struct {
RoleId int64 `json:"roleId" description:"角色ID"`
DeptId int64 `json:"deptId" description:"部门ID"`
}

View File

@@ -0,0 +1,11 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// AdminRoleMenu is the golang structure for table admin_role_menu.
type AdminRoleMenu struct {
RoleId int64 `json:"roleId" description:"角色ID"`
MenuId int64 `json:"menuId" description:"菜单ID"`
}

View File

@@ -0,0 +1,30 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysAttachment is the golang structure for table sys_attachment.
type SysAttachment struct {
Id int64 `json:"id" description:""`
AppId string `json:"appId" description:"应用ID"`
MemberId int64 `json:"memberId" description:"用户"`
CateId uint64 `json:"cateId" description:"分类"`
Drive string `json:"drive" description:"驱动"`
Name string `json:"name" description:"文件原始名"`
Kind string `json:"kind" description:"上传类型"`
MetaType string `json:"metaType" description:"类别"`
NaiveType string `json:"naiveType" description:"NaiveUI类型"`
Path string `json:"path" description:"本地路径"`
FileUrl string `json:"fileUrl" description:"url"`
Size int64 `json:"size" description:"长度"`
Ext string `json:"ext" description:"扩展名"`
Md5 string `json:"md5" description:"md5校验码"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"修改时间"`
}

View File

@@ -0,0 +1,19 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysBlacklist is the golang structure for table sys_blacklist.
type SysBlacklist struct {
Id int64 `json:"id" description:"主键"`
Ip string `json:"ip" description:"ip地址"`
Remark string `json:"remark" description:"备注"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}

View File

@@ -0,0 +1,26 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysConfig is the golang structure for table sys_config.
type SysConfig struct {
Id int64 `json:"id" description:"配置ID"`
Group string `json:"group" description:"分组"`
Name string `json:"name" description:"参数名称"`
Type string `json:"type" description:"类型:string,text,int,bool,array,datetime,date,file"`
Key string `json:"key" description:"参数键名"`
Value string `json:"value" description:"参数键值"`
DefaultValue string `json:"defaultValue" description:"默认值"`
Sort int `json:"sort" description:"排序"`
Tip string `json:"tip" description:"变量描述"`
IsDefault int `json:"isDefault" description:"是否默认"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}

View File

@@ -0,0 +1,25 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysCron is the golang structure for table sys_cron.
type SysCron struct {
Id int64 `json:"id" description:"主键"`
GroupId int64 `json:"groupId" description:"分组ID"`
Name string `json:"name" description:"任务名称"`
Params string `json:"params" description:"函数参数"`
Pattern string `json:"pattern" description:"定时表达式"`
Policy int64 `json:"policy" description:"策略"`
Count int64 `json:"count" description:"执行次数"`
Sort int `json:"sort" description:"排序"`
Remark string `json:"remark" description:"备注"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}

View File

@@ -0,0 +1,22 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysCronGroup is the golang structure for table sys_cron_group.
type SysCronGroup struct {
Id int64 `json:"id" description:"主键"`
Pid int64 `json:"pid" description:"父类ID"`
Name string `json:"name" description:"分组名称"`
IsDefault int `json:"isDefault" description:"是否默认"`
Sort int `json:"sort" description:"排序"`
Remark string `json:"remark" description:"备注"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}

View File

@@ -0,0 +1,24 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysDictData is the golang structure for table sys_dict_data.
type SysDictData struct {
Id int64 `json:"id" description:"字典编码"`
Label string `json:"label" description:"字典标签"`
Value string `json:"value" description:"字典键值"`
Type string `json:"type" description:"字典类型"`
ListClass string `json:"listClass" description:"表格回显样式"`
IsDefault int `json:"isDefault" description:"是否默认"`
Sort int `json:"sort" description:"字典排序"`
Remark string `json:"remark" description:"备注"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}

View File

@@ -0,0 +1,22 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysDictType is the golang structure for table sys_dict_type.
type SysDictType struct {
Id int64 `json:"id" description:"字典主键"`
Pid int64 `json:"pid" description:"父类ID"`
Name string `json:"name" description:"字典名称"`
Type string `json:"type" description:"字典类型"`
Sort int `json:"sort" description:"排序"`
Remark string `json:"remark" description:"备注"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}

View File

@@ -0,0 +1,36 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysLog is the golang structure for table sys_log.
type SysLog struct {
Id int64 `json:"id" description:""`
AppId string `json:"appId" description:"应用id"`
MerchantId uint64 `json:"merchantId" description:"商户id"`
MemberId int64 `json:"memberId" description:"用户id"`
Method string `json:"method" description:"提交类型"`
Module string `json:"module" description:"模块"`
Url string `json:"url" description:"提交url"`
GetData string `json:"getData" description:"get数据"`
PostData string `json:"postData" description:"post数据"`
HeaderData string `json:"headerData" description:"header数据"`
Ip string `json:"ip" description:"ip地址"`
ProvinceId int64 `json:"provinceId" description:"省编码"`
CityId int64 `json:"cityId" description:"市编码"`
ErrorCode int `json:"errorCode" description:"报错code"`
ErrorMsg string `json:"errorMsg" description:"报错信息"`
ErrorData string `json:"errorData" description:"报错日志"`
ReqId string `json:"reqId" description:"对外id"`
Timestamp int64 `json:"timestamp" description:"响应时间"`
UserAgent string `json:"userAgent" description:"UA信息"`
TakeUpTime int64 `json:"takeUpTime" description:"请求耗时"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"修改时间"`
}

View File

@@ -0,0 +1,28 @@
// =================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SysProvinces is the golang structure for table sys_provinces.
type SysProvinces struct {
Id int64 `json:"id" description:"ID"`
Title string `json:"title" description:"栏目名"`
Pid int64 `json:"pid" description:"父栏目"`
ShortTitle string `json:"shortTitle" description:"缩写"`
Areacode int `json:"areacode" description:"区域编码"`
Zipcode int `json:"zipcode" description:"邮政编码"`
Pinyin string `json:"pinyin" description:"拼音"`
Lng string `json:"lng" description:"经度"`
Lat string `json:"lat" description:"纬度"`
Level int `json:"level" description:"级别"`
Tree string `json:"tree" description:""`
Sort int `json:"sort" description:"排序"`
Status int `json:"status" description:"状态"`
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}