Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysConfig ¶
type SysConfig struct { ConfigId int `json:"configId" ` // 参数主键 ConfigName string `json:"configName" ` // 参数名称 ConfigKey string `json:"configKey" ` // 参数键名 ConfigValue string `json:"configValue" ` // 参数键值 ConfigType string `json:"configType" ` // 系统内置(Y是 N否) Remark string `json:"remark" ` // 备注 CreatedAt *gtime.Time `json:"createdAt" ` // 创建时间 UpdatedAt *gtime.Time `json:"updatedAt" ` // 更新时间 DeletedAt *gtime.Time `json:"deletedAt" ` // 删除时间 }
SysConfig is the golang structure for table sys_config.
type SysDept ¶
type SysDept struct { DeptId int64 `json:"deptId" ` // 部门id ParentId int64 `json:"parentId" ` // 父部门id DeptName string `json:"deptName" ` // 部门名称 Description string `json:"description"` //部门描述 OrderNum int `json:"orderNum" ` // 显示顺序 Leader string `json:"leader" ` // 负责人 Phone string `json:"phone" ` // 手机号码 Email string `json:"email" ` // 邮箱 Status int `json:"status" ` // 部门状态(0正常 1停用) CreatedAt *gtime.Time `json:"createdAt" ` // 创建时间 UpdatedAt *gtime.Time `json:"updatedAt" ` // 更新时间 DeletedAt *gtime.Time `json:"deletedAt" ` // 删除时间 }
SysDept is the golang structure for table sys_dept.
type SysDictData ¶
type SysDictData struct { DictCode int64 `json:"dictCode" ` // 字典编码 DictSort int `json:"dictSort" ` // 字典排序 DictLabel string `json:"dictLabel" ` // 字典标签 DictValue string `json:"dictValue" ` // 字典键值 DictType string `json:"dictType" ` // 字典类型 CssClass string `json:"cssClass" ` // 样式属性(其他样式扩展) ListClass string `json:"listClass" ` // 表格回显样式 IsDefault string `json:"isDefault" ` // 是否默认(0是 1否) Status int `json:"status" ` // 状态(0正常 1停用) Remark string `json:"remark" ` // 备注 CreatedAt *gtime.Time `json:"createdAt" ` // 创建日期 UpdatedAt *gtime.Time `json:"updatedAt" ` // 修改日期 DeletedAt *gtime.Time `json:"deletedAt" ` // 删除日期 }
SysDictData is the golang structure for table sys_dict_data.
type SysDictType ¶
type SysDictType struct { DictId int64 `json:"dictId" ` // 字典主键 DictName string `json:"dictName" ` // 字典名称 DictType string `json:"dictType" ` // 字典类型 Status int `json:"status" ` // 状态(0正常 1停用) Remark string `json:"remark" ` // 备注 CreatedAt *gtime.Time `json:"createdAt" ` // 创建日期 UpdatedAt *gtime.Time `json:"updatedAt" ` // 修改日期 DeletedAt *gtime.Time `json:"deletedAt" ` // 删除日期 }
SysDictType is the golang structure for table sys_dict_type.
type SysFile ¶
type SysFile struct { Id int64 `json:"id" ` // 自增ID Name string `json:"name" ` // 文件名称 Src string `json:"src" ` // 本地文件存储路径 Url string `json:"url" ` // URL地址,可能为空 FileType string `json:"fileType" ` // 文件类型 UserId int `json:"userId" ` // 操作用户 CreatedAt *gtime.Time `json:"createdAt" ` // 创建时间 }
SysFile is the golang structure for table sys_file.
type SysJob ¶
type SysJob struct { JobId int64 `json:"jobId" ` // 任务ID JobName string `json:"jobName" ` // 任务名称 JobGroup string `json:"jobGroup" ` // 任务组名 InvokeTarget string `json:"invokeTarget" ` // 调用目标字符串 JobParams string `json:"jobParams" ` // 参数 CronExpression string `json:"cronExpression" ` // cron执行表达式 MisfirePolicy string `json:"misfirePolicy" ` // 计划执行错误策略(1立即执行 2执行一次 3放弃执行) Status int `json:"status" ` // 状态(0正常 1暂停) Remark string `json:"remark" ` // 备注信息 CreatedAt *gtime.Time `json:"createdAt" ` // 创建时间 UpdatedAt *gtime.Time `json:"updatedAt" ` // 更新时间 DeletedAt *gtime.Time `json:"deletedAt" ` // 删除时间 }
SysJob is the golang structure for table sys_job.
type SysJobLog ¶
type SysJobLog struct { JobLogId int64 `json:"jobLogId" ` // 任务日志ID JobName string `json:"jobName" ` // 任务名称 JobGroup string `json:"jobGroup" ` // 任务组名 InvokeTarget string `json:"invokeTarget" ` // 调用目标字符串 JobParams string `json:"jobParams" ` // 参数 JobMessage string `json:"jobMessage" ` // 日志信息 Status int `json:"status" ` // 执行状态(0正常 1失败) ExceptionInfo string `json:"exceptionInfo" ` // 异常信息 CreateTime *gtime.Time `json:"createTime" ` // 创建时间 }
SysJobLog is the golang structure for table sys_job_log.
type SysLoginLog ¶
type SysLoginLog struct { InfoId int64 `json:"infoId" ` // 访问ID UserName string `json:"userName" ` // 登录账号 Ipaddr string `json:"ipaddr" ` // 登录IP地址 LoginLocation string `json:"loginLocation" ` // 登录地点 Browser string `json:"browser" ` // 浏览器类型 Os string `json:"os" ` // 操作系统 Status int `json:"status" ` // 登录状态(0成功 1失败) Msg string `json:"msg" ` // 提示消息 CreatedAt *gtime.Time `json:"createdAt" ` // 登录时间 }
SysLoginLog is the golang structure for table sys_login_log.
type SysMenu ¶
type SysMenu struct { MenuId int `json:"menuId" ` // 菜单ID MenuName string `json:"menuName" ` // 菜单名称 ParentId int `json:"parentId" ` // 父菜单ID Sort int `json:"sort" ` // 排序标记 Path string `json:"path" ` // 路由地址 Component string `json:"component" ` // 组件路径 IsFrame string `json:"isFrame" ` // 是否为外链(0是 1否) IsCache string `json:"isCache" ` // 是否缓存(0缓存 1不缓存) Query string `json:"query" ` // 路由参数 MenuType string `json:"menuType" ` // 菜单类型(M目录 C菜单 F按钮) Visible int `json:"visible" ` // 显示状态(0显示 1隐藏) Status int `json:"status" ` // 菜单状态(0正常 1停用) Perms string `json:"perms" ` // 权限标识 IsAuth string `json:"isAuth" ` // 是否验证(0是 1否) IsLog int `json:"isLog" ` // 是否记录操作日志(0是 1否) Icon string `json:"icon" ` // 菜单图标 CreatedAt *gtime.Time `json:"createdAt" ` // 创建时间 UpdatedAt *gtime.Time `json:"updatedAt" ` // 更新时间 DeletedAt *gtime.Time `json:"deletedAt" ` // 删除时间 }
SysMenu is the golang structure for table sys_menu.
type SysOperLog ¶
type SysOperLog struct { OperId int `json:"operId" ` // 日志主键 Title string `json:"title" ` // 模块标题 BusinessType int `json:"businessType" ` // 业务类型(0其它 1新增 2删除 3修改 4查询) Method string `json:"method" ` // 方法名称 RequestMethod string `json:"requestMethod" ` // 请求方式 OperatorType int `json:"operatorType" ` // 操作类别(0其它 1后台用户 2手机端用户) OperName string `json:"operName" ` // 操作人员 DeptName string `json:"deptName" ` // 部门名称 OperUrl string `json:"operUrl" ` // 请求URL OperIp string `json:"operIp" ` // 主机地址 OperLocation string `json:"operLocation" ` // 操作地点 OperParam string `json:"operParam" ` // 请求参数 JsonResult string `json:"jsonResult" ` // 返回参数 Status int `json:"status" ` // 操作状态(0正常 1异常) ErrorMsg string `json:"errorMsg" ` // 错误消息 CreatedAt *gtime.Time `json:"createdAt" ` // 操作时间 }
SysOperLog is the golang structure for table sys_oper_log.
type SysRole ¶
type SysRole struct { RoleId int `json:"roleId" ` // 角色ID RoleName string `json:"roleName" ` // 角色名称 RoleSort int `json:"roleSort" ` // 显示顺序 Status int `json:"status" ` // 角色状态(0正常 1停用) Remark string `json:"remark" ` // 备注 CreatedAt *gtime.Time `json:"createdAt" ` // 创建时间 UpdatedAt *gtime.Time `json:"updatedAt" ` // 更新时间 DeletedAt *gtime.Time `json:"deletedAt" ` // 删除时间 }
SysRole is the golang structure for table sys_role.
type SysRoleMenu ¶
SysRoleMenu is the golang structure for table sys_role_menu.
type SysUser ¶
type SysUser struct { UserId int `json:"userId" ` // 用户ID UserName string `json:"userName" ` // 用户账号 NickName string `json:"nickName" ` // 用户昵称 Password string `json:"password" ` // 登录密码 Mobile string `json:"mobile" ` // 手机号码 Avatar string `json:"avatar" ` // 用户头像地址 Status int `json:"status" ` // 用户状态(0正常 1停用) DeptId int64 `json:"deptId" ` // 部门id Remark string `json:"remark" ` // 备注 LoginIp string `json:"loginIp" ` // 最后登录IP LoginDate *gtime.Time `json:"loginDate" ` // 最后登录时间 CreatedAt *gtime.Time `json:"createdAt" ` // 创建时间 UpdatedAt *gtime.Time `json:"updatedAt" ` // 更新时间 DeletedAt *gtime.Time `json:"deletedAt" ` // 删除时间 }
SysUser is the golang structure for table sys_user.
type SysUserOnline ¶
type SysUserOnline struct { Id int `json:"id" ` // 用户ID Token string `json:"token" ` // 用户token UserId int64 `json:"userId" ` // 用户id UserName string `json:"userName" ` // 用户名 Os string `json:"os" ` // 操作系统 Ipaddr string `json:"ipaddr" ` // 登录IP地址 LoginLocation string `json:"loginLocation" ` // 登录地点 Browser string `json:"browser" ` // 浏览器类型 CreatedAt *gtime.Time `json:"createdAt" ` // 登录时间 }
SysUserOnline is the golang structure for table sys_user_online.
type SysUserRole ¶
SysUserRole is the golang structure for table sys_user_role.
type ToolsGenTable ¶
type ToolsGenTable struct { TableId int64 `json:"tableId" ` // 编号 TableName string `json:"tableName" ` // 表名称 TableComment string `json:"tableComment" ` // 表描述 TplCategory string `json:"tplCategory" ` // 使用的模板(crud单表操作 tree树表操作) ObjectName string `json:"objectName" ` // 数据对象名称 ApiFile string `json:"apiFile" ` // api文件夹 ControllerFile string `json:"controllerFile" ` // controller文件夹 ServerFile string `json:"serverFile" ` // server文件夹 FunctionName string `json:"functionName" ` // 生成功能描述 FunctionAuthor string `json:"functionAuthor" ` // 生成功能作者 Options string `json:"options" ` // 其它生成选项 Remark string `json:"remark" ` // 备注 CreatedAt *gtime.Time `json:"createdAt" ` // 创建时间 UpdatedAt *gtime.Time `json:"updatedAt" ` // 更新时间 DeletedAt *gtime.Time `json:"deletedAt" ` // 删除时间 }
ToolsGenTable is the golang structure for table tools_gen_table.
type ToolsGenTableColumn ¶
type ToolsGenTableColumn struct { ColumnId int64 `json:"columnId" ` // 编号 TableId int64 `json:"tableId" ` // 归属表编号 ColumnName string `json:"columnName" ` // 列名称 ColumnComment string `json:"columnComment" ` // 列描述 ColumnType string `json:"columnType" ` // 列类型 GoType string `json:"goType" ` // Go类型 GoField string `json:"goField" ` // Go字段名 HtmlField string `json:"htmlField" ` // html字段名 IsPk string `json:"isPk" ` // 是否主键(1是) IsIncrement string `json:"isIncrement" ` // 是否自增(1是) IsRequired string `json:"isRequired" ` // 是否必填(1是) IsInsert string `json:"isInsert" ` // 是否为插入字段(1是) IsEdit string `json:"isEdit" ` // 是否编辑字段(1是) IsList string `json:"isList" ` // 是否列表字段(1是) IsQuery string `json:"isQuery" ` // 是否查询字段(1是) QueryType string `json:"queryType" ` // 查询方式(等于、不等于、大于、小于、范围) HtmlType string `json:"htmlType" ` // 显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件) DictType string `json:"dictType" ` // 字典类型 Sort int `json:"sort" ` // 排序 LinkTableName string `json:"linkTableName" ` // 关联表名 LinkTableClass string `json:"linkTableClass" ` // 关联表类名 LinkTablePackage string `json:"linkTablePackage" ` // 关联表包名 LinkLabelId string `json:"linkLabelId" ` // 关联表键名 LinkLabelName string `json:"linkLabelName" ` // 关联表字段值 }
ToolsGenTableColumn is the golang structure for table tools_gen_table_column.