签入版本
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Article is the golang structure for table article.
|
||||
type Article struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
TenantId int `json:"tenantId" orm:"tenant_id" description:"租户ID:0=平台级"` // 租户ID:0=平台级
|
||||
CategoryId int `json:"categoryId" orm:"category_id" description:"分类ID"` // 分类ID
|
||||
Title string `json:"title" orm:"title" description:"文章标题"` // 文章标题
|
||||
Cover string `json:"cover" orm:"cover" description:"文章封面"` // 文章封面
|
||||
Images string `json:"images" orm:"images" description:"文章图集"` // 文章图集
|
||||
Intro string `json:"intro" orm:"intro" description:"文章导读"` // 文章导读
|
||||
Content string `json:"content" orm:"content" description:"文章内容"` // 文章内容
|
||||
Author string `json:"author" orm:"author" description:"文章作者"` // 文章作者
|
||||
Status int `json:"status" orm:"status" description:"文章状态:0-正常 1-下架"` // 文章状态:0-正常 1-下架
|
||||
Click int `json:"click" orm:"click" description:"文章点击率"` // 文章点击率
|
||||
Sort int `json:"sort" orm:"sort" description:"文章排序"` // 文章排序
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Category is the golang structure for table category.
|
||||
type Category struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
TenantId int `json:"tenantId" orm:"tenant_id" description:"租户ID:0=平台级"` // 租户ID:0=平台级
|
||||
CategoryName string `json:"categoryName" orm:"category_name" description:"分类名称"` // 分类名称
|
||||
CategoryCode string `json:"categoryCode" orm:"category_code" description:"分类编码"` // 分类编码
|
||||
ParentId int `json:"parentId" orm:"parent_id" description:"上级ID"` // 上级ID
|
||||
Sort int `json:"sort" orm:"sort" description:"排序"` // 排序
|
||||
Note string `json:"note" orm:"note" description:"分类备注"` // 分类备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// City is the golang structure for table city.
|
||||
type City struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
CityCode string `json:"cityCode" orm:"city_code" description:"城市区号"` // 城市区号
|
||||
AreaCode string `json:"areaCode" orm:"area_code" description:"行政编码"` // 行政编码
|
||||
ParentCode string `json:"parentCode" orm:"parent_code" description:"上级行政编码"` // 上级行政编码
|
||||
ZipCode string `json:"zipCode" orm:"zip_code" description:"邮政编码"` // 邮政编码
|
||||
Level int `json:"level" orm:"level" description:"城市级别:0-省份 1-城市 2-县区 3-街道 4-社区"` // 城市级别:0-省份 1-城市 2-县区 3-街道 4-社区
|
||||
Pid int `json:"pid" orm:"pid" description:"上级城市ID"` // 上级城市ID
|
||||
Name string `json:"name" orm:"name" description:"城市名称"` // 城市名称
|
||||
ShortName string `json:"shortName" orm:"short_name" description:"城市简称"` // 城市简称
|
||||
FullName string `json:"fullName" orm:"full_name" description:"城市全称"` // 城市全称
|
||||
Pinyin string `json:"pinyin" orm:"pinyin" description:"城市拼音"` // 城市拼音
|
||||
Lng string `json:"lng" orm:"lng" description:"城市经度"` // 城市经度
|
||||
Lat string `json:"lat" orm:"lat" description:"城市纬度"` // 城市纬度
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Config is the golang structure for table config.
|
||||
type Config struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
Name string `json:"name" orm:"name" description:"配置名称"` // 配置名称
|
||||
Code string `json:"code" orm:"code" description:"配置编码"` // 配置编码
|
||||
Sort int `json:"sort" orm:"sort" description:"配置排序"` // 配置排序
|
||||
Note string `json:"note" orm:"note" description:"配置备注"` // 配置备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// ConfigItem is the golang structure for table config_item.
|
||||
type ConfigItem struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
Name string `json:"name" orm:"name" description:"配置项名称"` // 配置项名称
|
||||
Code string `json:"code" orm:"code" description:"配置项编码"` // 配置项编码
|
||||
Value string `json:"value" orm:"value" description:"配置项值"` // 配置项值
|
||||
Options string `json:"options" orm:"options" description:"配置选项"` // 配置选项
|
||||
ConfigId int `json:"configId" orm:"config_id" description:"配置ID"` // 配置ID
|
||||
Type string `json:"type" orm:"type" description:"配置类型"` // 配置类型
|
||||
Status int `json:"status" orm:"status" description:"配置状态:1-正常 2-停用"` // 配置状态:1-正常 2-停用
|
||||
Sort int `json:"sort" orm:"sort" description:"配置项顺序"` // 配置项顺序
|
||||
Note string `json:"note" orm:"note" description:"配置项备注"` // 配置项备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Dept is the golang structure for table dept.
|
||||
type Dept struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
TenantId int `json:"tenantId" orm:"tenant_id" description:"租户ID:0=平台级"` // 租户ID:0=平台级
|
||||
Name string `json:"name" orm:"name" description:"部门名称"` // 部门名称
|
||||
Type int `json:"type" orm:"type" description:"部门类型:1-公司 2-子公司 3-部门 4-小组"` // 部门类型:1-公司 2-子公司 3-部门 4-小组
|
||||
ParentId int `json:"parentId" orm:"parent_id" description:"上级部门ID"` // 上级部门ID
|
||||
Sort int `json:"sort" orm:"sort" description:"部门排序"` // 部门排序
|
||||
Note string `json:"note" orm:"note" description:"备注"` // 备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Dict is the golang structure for table dict.
|
||||
type Dict struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
Name string `json:"name" orm:"name" description:"字典名称"` // 字典名称
|
||||
Code string `json:"code" orm:"code" description:"字典编码"` // 字典编码
|
||||
Sort int `json:"sort" orm:"sort" description:"字典排序"` // 字典排序
|
||||
Note string `json:"note" orm:"note" description:"字典备注"` // 字典备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// DictItem is the golang structure for table dict_item.
|
||||
type DictItem struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
Name string `json:"name" orm:"name" description:"字典项名称"` // 字典项名称
|
||||
Value string `json:"value" orm:"value" description:"字典项值"` // 字典项值
|
||||
DictId int `json:"dictId" orm:"dict_id" description:"字典ID"` // 字典ID
|
||||
Sort int `json:"sort" orm:"sort" description:"字典项顺序"` // 字典项顺序
|
||||
Note string `json:"note" orm:"note" description:"字典项备注"` // 字典项备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Example is the golang structure for table example.
|
||||
type Example struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
Name string `json:"name" orm:"name" description:"案例名称"` // 案例名称
|
||||
Avatar string `json:"avatar" orm:"avatar" description:"案例图片"` // 案例图片
|
||||
Type int `json:"type" orm:"type" description:"案例类型:1-类型1 2-类型2 3-类型3 4-类型4"` // 案例类型:1-类型1 2-类型2 3-类型3 4-类型4
|
||||
Status int `json:"status" orm:"status" description:"案例状态:1-在用 2-停用"` // 案例状态:1-在用 2-停用
|
||||
Sort int `json:"sort" orm:"sort" description:"案例排序"` // 案例排序
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// FileTemplate is the golang structure for table file_template.
|
||||
type FileTemplate struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
Name string `json:"name" orm:"name" description:"模板名称"` // 模板名称
|
||||
Code string `json:"code" orm:"code" description:"模板编码"` // 模板编码
|
||||
FileName string `json:"fileName" orm:"file_name" description:"文件名称"` // 文件名称
|
||||
FilePath string `json:"filePath" orm:"file_path" description:"文件路径"` // 文件路径
|
||||
Note string `json:"note" orm:"note" description:"文件模板备注"` // 文件模板备注
|
||||
Sort int `json:"sort" orm:"sort" description:"文件模板顺序"` // 文件模板顺序
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Job is the golang structure for table job.
|
||||
type Job struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
JobName string `json:"jobName" orm:"job_name" description:"任务名称"` // 任务名称
|
||||
JobAlias string `json:"jobAlias" orm:"job_alias" description:"任务别名"` // 任务别名
|
||||
JobGroup string `json:"jobGroup" orm:"job_group" description:"任务分组"` // 任务分组
|
||||
JobTrigger string `json:"jobTrigger" orm:"job_trigger" description:"任务触发器"` // 任务触发器
|
||||
Status int `json:"status" orm:"status" description:"任务状态:0-未发布 1-运行中 2-暂停 3-删除"` // 任务状态:0-未发布 1-运行中 2-暂停 3-删除
|
||||
CronExpression string `json:"cronExpression" orm:"cron_expression" description:"Cron表达式"` // Cron表达式
|
||||
ExecutePolicy int `json:"executePolicy" orm:"execute_policy" description:"执行策略:1-立即执行 2-执行一次 3-放弃执行"` // 执行策略:1-立即执行 2-执行一次 3-放弃执行
|
||||
IsSync int `json:"isSync" orm:"is_sync" description:"是否同步任务:0-否 1-是"` // 是否同步任务:0-否 1-是
|
||||
Url string `json:"url" orm:"url" description:"任务URL"` // 任务URL
|
||||
Params string `json:"params" orm:"params" description:"任务参数"` // 任务参数
|
||||
Note string `json:"note" orm:"note" description:"任务备注"` // 任务备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// JobLog is the golang structure for table job_log.
|
||||
type JobLog struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
JobId int `json:"jobId" orm:"job_id" description:"任务ID"` // 任务ID
|
||||
JobName string `json:"jobName" orm:"job_name" description:"任务名称"` // 任务名称
|
||||
JobGroup string `json:"jobGroup" orm:"job_group" description:"任务分组"` // 任务分组
|
||||
JobTrigger string `json:"jobTrigger" orm:"job_trigger" description:"任务触发器"` // 任务触发器
|
||||
JobMessage string `json:"jobMessage" orm:"job_message" description:"任务日志信息"` // 任务日志信息
|
||||
CronExpression string `json:"cronExpression" orm:"cron_expression" description:"Cron表达式"` // Cron表达式
|
||||
Status int `json:"status" orm:"status" description:"执行状态:0-正常 1-失败"` // 执行状态:0-正常 1-失败
|
||||
StartTime *gtime.Time `json:"startTime" orm:"start_time" description:"执行开始时间"` // 执行开始时间
|
||||
EndTime *gtime.Time `json:"endTime" orm:"end_time" description:"执行结束时间"` // 执行结束时间
|
||||
ConsumeTime int64 `json:"consumeTime" orm:"consume_time" description:"执行耗时,单位:毫秒"` // 执行耗时,单位:毫秒
|
||||
ExceptionInfo string `json:"exceptionInfo" orm:"exception_info" description:"异常信息"` // 异常信息
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Level is the golang structure for table level.
|
||||
type Level struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
TenantId int `json:"tenantId" orm:"tenant_id" description:"租户ID:0=平台级"` // 租户ID:0=平台级
|
||||
Name string `json:"name" orm:"name" description:"职级名称"` // 职级名称
|
||||
Status int `json:"status" orm:"status" description:"职级状态:1-在用 2-停用"` // 职级状态:1-在用 2-停用
|
||||
Sort int `json:"sort" orm:"sort" description:"职级排序"` // 职级排序
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Link is the golang structure for table link.
|
||||
type Link struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
TenantId int `json:"tenantId" orm:"tenant_id" description:"租户ID:0=平台级"` // 租户ID:0=平台级
|
||||
Name string `json:"name" orm:"name" description:"友链名称"` // 友链名称
|
||||
Type int `json:"type" orm:"type" description:"友链类型:1-友情链接 2-合作伙伴"` // 友链类型:1-友情链接 2-合作伙伴
|
||||
Url string `json:"url" orm:"url" description:"友链URL"` // 友链URL
|
||||
Form int `json:"form" orm:"form" description:"友链形式:1-文字链接 2-图片链接"` // 友链形式:1-文字链接 2-图片链接
|
||||
Image string `json:"image" orm:"image" description:"友链图片"` // 友链图片
|
||||
Status int `json:"status" orm:"status" description:"友链状态:1-正常 2-停用"` // 友链状态:1-正常 2-停用
|
||||
Sort int `json:"sort" orm:"sort" description:"友链顺序"` // 友链顺序
|
||||
Note string `json:"note" orm:"note" description:"友链备注"` // 友链备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// LoginLog is the golang structure for table login_log.
|
||||
type LoginLog struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
Username string `json:"username" orm:"username" description:"登录账号"` // 登录账号
|
||||
LogType int `json:"logType" orm:"log_type" description:"日志类型:1-登录,2-退出"` // 日志类型:1-登录,2-退出
|
||||
Source int `json:"source" orm:"source" description:"登录来源:0-后台,1-前台"` // 登录来源:0-后台,1-前台
|
||||
Method string `json:"method" orm:"method" description:"请求方法"` // 请求方法
|
||||
RequestMethod string `json:"requestMethod" orm:"request_method" description:"请求方式"` // 请求方式
|
||||
Url string `json:"url" orm:"url" description:"请求URL"` // 请求URL
|
||||
Param string `json:"param" orm:"param" description:"请求参数"` // 请求参数
|
||||
Result string `json:"result" orm:"result" description:"返回结果"` // 返回结果
|
||||
Ip string `json:"ip" orm:"ip" description:"IP地址"` // IP地址
|
||||
Location string `json:"location" orm:"location" description:"IP归属地"` // IP归属地
|
||||
Os string `json:"os" orm:"os" description:"操作系统"` // 操作系统
|
||||
Browser string `json:"browser" orm:"browser" description:"浏览器"` // 浏览器
|
||||
ConsumeTime int `json:"consumeTime" orm:"consume_time" description:"请求耗时"` // 请求耗时
|
||||
Status int `json:"status" orm:"status" description:"操作状态:0-正常,1-异常"` // 操作状态:0-正常,1-异常
|
||||
Error string `json:"error" orm:"error" description:"错误信息"` // 错误信息
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Menu is the golang structure for table menu.
|
||||
type Menu struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
Name string `json:"name" orm:"name" description:"菜单名称"` // 菜单名称
|
||||
Icon string `json:"icon" orm:"icon" description:"菜单图标"` // 菜单图标
|
||||
Icon2 string `json:"icon2" orm:"icon2" description:"菜单图标"` // 菜单图标
|
||||
ParentId int `json:"parentId" orm:"parent_id" description:"上级ID"` // 上级ID
|
||||
Path string `json:"path" orm:"path" description:"菜单路径"` // 菜单路径
|
||||
Component string `json:"component" orm:"component" description:"菜单组件"` // 菜单组件
|
||||
Permission string `json:"permission" orm:"permission" description:"权限节点"` // 权限节点
|
||||
Target int `json:"target" orm:"target" description:"打开方式:0-组件 1-内链 2-外链"` // 打开方式:0-组件 1-内链 2-外链
|
||||
Type int `json:"type" orm:"type" description:"菜单类型:0-菜单 1-节点"` // 菜单类型:0-菜单 1-节点
|
||||
Status int `json:"status" orm:"status" description:"菜单状态:0-正常 1-停用"` // 菜单状态:0-正常 1-停用
|
||||
Hide int `json:"hide" orm:"hide" description:"是否可见:0-可见 1-不可见"` // 是否可见:0-可见 1-不可见
|
||||
Sort int `json:"sort" orm:"sort" description:"排序"` // 排序
|
||||
Note string `json:"note" orm:"note" description:"备注"` // 备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Notice is the golang structure for table notice.
|
||||
type Notice struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
TenantId int `json:"tenantId" orm:"tenant_id" description:"租户ID:0=平台级"` // 租户ID:0=平台级
|
||||
Title string `json:"title" orm:"title" description:"通知标题"` // 通知标题
|
||||
Cover string `json:"cover" orm:"cover" description:"通知封面"` // 通知封面
|
||||
Type int `json:"type" orm:"type" description:"通知类型:1-通知 2-公告"` // 通知类型:1-通知 2-公告
|
||||
ClickNum int `json:"clickNum" orm:"click_num" description:"点击率"` // 点击率
|
||||
Status int `json:"status" orm:"status" description:"通知状态:1-正常 2-停用"` // 通知状态:1-正常 2-停用
|
||||
Content string `json:"content" orm:"content" description:"通知公告内容"` // 通知公告内容
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// OperationLog is the golang structure for table operation_log.
|
||||
type OperationLog struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
Title string `json:"title" orm:"title" description:"请求标题"` // 请求标题
|
||||
Type int `json:"type" orm:"type" description:"请求类型"` // 请求类型
|
||||
Source int `json:"source" orm:"source" description:"请求来源:0-后台,1-前台"` // 请求来源:0-后台,1-前台
|
||||
Method string `json:"method" orm:"method" description:"请求方法"` // 请求方法
|
||||
RequestMethod string `json:"requestMethod" orm:"request_method" description:"请求方式"` // 请求方式
|
||||
Url string `json:"url" orm:"url" description:"请求URL"` // 请求URL
|
||||
Param string `json:"param" orm:"param" description:"请求参数"` // 请求参数
|
||||
Result string `json:"result" orm:"result" description:"请求结果"` // 请求结果
|
||||
Ip string `json:"ip" orm:"ip" description:"请求IP"` // 请求IP
|
||||
Location string `json:"location" orm:"location" description:"请求所在区域"` // 请求所在区域
|
||||
Os string `json:"os" orm:"os" description:"操作系统"` // 操作系统
|
||||
Browser string `json:"browser" orm:"browser" description:"浏览器"` // 浏览器
|
||||
ConsumeTime int64 `json:"consumeTime" orm:"consume_time" description:"请求耗时"` // 请求耗时
|
||||
Status int `json:"status" orm:"status" description:"请求状态:0-正常,1-异常"` // 请求状态:0-正常,1-异常
|
||||
Error string `json:"error" orm:"error" description:"错误描述"` // 错误描述
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Param is the golang structure for table param.
|
||||
type Param struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
Name string `json:"name" orm:"name" description:"参数名称"` // 参数名称
|
||||
Code string `json:"code" orm:"code" description:"参数编码"` // 参数编码
|
||||
Value string `json:"value" orm:"value" description:"参数值"` // 参数值
|
||||
Type int `json:"type" orm:"type" description:"参数类型:0-系统 1-业务"` // 参数类型:0-系统 1-业务
|
||||
Status int `json:"status" orm:"status" description:"参数状态:1-正常 2-禁用"` // 参数状态:1-正常 2-禁用
|
||||
Sort int `json:"sort" orm:"sort" description:"参数排序"` // 参数排序
|
||||
Note string `json:"note" orm:"note" description:"参数备注"` // 参数备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Position is the golang structure for table position.
|
||||
type Position struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
TenantId int `json:"tenantId" orm:"tenant_id" description:"租户ID:0=平台级"` // 租户ID:0=平台级
|
||||
Name string `json:"name" orm:"name" description:"岗位名称"` // 岗位名称
|
||||
Status int `json:"status" orm:"status" description:"岗位状态:1-在用 2-停用"` // 岗位状态:1-在用 2-停用
|
||||
Sort int `json:"sort" orm:"sort" description:"岗位排序"` // 岗位排序
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Role is the golang structure for table role.
|
||||
type Role struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
TenantId int `json:"tenantId" orm:"tenant_id" description:"租户ID:0=平台级"` // 租户ID:0=平台级
|
||||
Name string `json:"name" orm:"name" description:"角色名称"` // 角色名称
|
||||
Code string `json:"code" orm:"code" description:"角色编码"` // 角色编码
|
||||
DataScope int `json:"dataScope" orm:"data_scope" description:"数据范围:1-全部 2-本部门及以下 3-本部门 4-仅本人"` // 数据范围:1-全部 2-本部门及以下 3-本部门 4-仅本人
|
||||
Sort int `json:"sort" orm:"sort" description:"角色排序"` // 角色排序
|
||||
Note string `json:"note" orm:"note" description:"角色备注"` // 角色备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// RoleMenu is the golang structure for table role_menu.
|
||||
type RoleMenu struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
RoleId int `json:"roleId" orm:"role_id" description:"角色ID"` // 角色ID
|
||||
MenuId int `json:"menuId" orm:"menu_id" description:"菜单ID"` // 菜单ID
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Tenant is the golang structure for table tenant.
|
||||
type Tenant struct {
|
||||
Id int `json:"id" orm:"id" description:""` //
|
||||
Name string `json:"name" orm:"name" description:"租户名称"` // 租户名称
|
||||
Code string `json:"code" orm:"code" description:"租户编码(系统自动生成:T+4位ID左补零)"` // 租户编码(系统自动生成:T+4位ID左补零)
|
||||
Contact string `json:"contact" orm:"contact" description:"联系人"` // 联系人
|
||||
Mobile string `json:"mobile" orm:"mobile" description:"联系电话"` // 联系电话
|
||||
Email string `json:"email" orm:"email" description:"邮箱"` // 邮箱
|
||||
Address string `json:"address" orm:"address" description:"地址"` // 地址
|
||||
Logo string `json:"logo" orm:"logo" description:"租户LOGO"` // 租户LOGO
|
||||
Status int `json:"status" orm:"status" description:"状态:1=正常 2=禁用"` // 状态:1=正常 2=禁用
|
||||
ExpireTime *gtime.Time `json:"expireTime" orm:"expire_time" description:"过期时间"` // 过期时间
|
||||
MaxUserNum int `json:"maxUserNum" orm:"max_user_num" description:"最大用户数"` // 最大用户数
|
||||
Note string `json:"note" orm:"note" description:"备注"` // 备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:""` //
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:""` //
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:""` //
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:""` //
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:""` //
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// User is the golang structure for table user.
|
||||
type User struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
TenantId int `json:"tenantId" orm:"tenant_id" description:"租户ID:0=平台用户"` // 租户ID:0=平台用户
|
||||
Code string `json:"code" orm:"code" description:"用户编码"` // 用户编码
|
||||
Realname string `json:"realname" orm:"realname" description:"用户姓名"` // 用户姓名
|
||||
Gender int `json:"gender" orm:"gender" description:"性别:1-男 2-女 3-保密"` // 性别:1-男 2-女 3-保密
|
||||
Avatar string `json:"avatar" orm:"avatar" description:"用户头像"` // 用户头像
|
||||
Mobile string `json:"mobile" orm:"mobile" description:"手机号"` // 手机号
|
||||
Email string `json:"email" orm:"email" description:"邮箱"` // 邮箱
|
||||
DeptId int `json:"deptId" orm:"dept_id" description:"部门ID"` // 部门ID
|
||||
LevelId int `json:"levelId" orm:"level_id" description:"职级ID"` // 职级ID
|
||||
PositionId int `json:"positionId" orm:"position_id" description:"岗位ID"` // 岗位ID
|
||||
ProvinceCode string `json:"provinceCode" orm:"province_code" description:"省份编码"` // 省份编码
|
||||
CityCode string `json:"cityCode" orm:"city_code" description:"城市编码"` // 城市编码
|
||||
DistrictCode string `json:"districtCode" orm:"district_code" description:"县区编码"` // 县区编码
|
||||
StreetCode string `json:"streetCode" orm:"street_code" description:"街道编码"` // 街道编码
|
||||
CityInfo string `json:"cityInfo" orm:"city_info" description:"省市区信息"` // 省市区信息
|
||||
Address string `json:"address" orm:"address" description:"详细地址"` // 详细地址
|
||||
Username string `json:"username" orm:"username" description:"用户名"` // 用户名
|
||||
Password string `json:"password" orm:"password" description:"密码"` // 密码
|
||||
Salt string `json:"salt" orm:"salt" description:"加密盐"` // 加密盐
|
||||
Intro string `json:"intro" orm:"intro" description:"个人简介"` // 个人简介
|
||||
Status int `json:"status" orm:"status" description:"状态:1-正常 2-禁用"` // 状态:1-正常 2-禁用
|
||||
Sort int `json:"sort" orm:"sort" description:"排序"` // 排序
|
||||
Note string `json:"note" orm:"note" description:"个人备注"` // 个人备注
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// UserRole is the golang structure for table user_role.
|
||||
type UserRole struct {
|
||||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
UserId int `json:"userId" orm:"user_id" description:"用户ID"` // 用户ID
|
||||
RoleId int `json:"roleId" orm:"role_id" description:"角色ID"` // 角色ID
|
||||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||||
}
|
||||
Reference in New Issue
Block a user