Documentation
¶
Index ¶
- type AlarmLevel
- type AlarmLog
- type AlarmRule
- type BaseDbLink
- type CityData
- type DataNode
- type DataSource
- type DataTemplate
- type DataTemplateBusi
- type DataTemplateNode
- type DevDevice
- type DevDeviceTag
- type DevProduct
- type DevProductCategory
- type NetworkServer
- type NetworkTunnel
- type NoticeConfig
- type NoticeInfo
- type NoticeLog
- type NoticeTemplate
- type SysApi
- type SysAuthorize
- type SysConfig
- type SysDept
- type SysDictData
- type SysDictType
- type SysJob
- type SysLoginLog
- type SysMenu
- type SysMenuApi
- type SysMenuButton
- type SysMenuColumn
- type SysNotifications
- type SysOperLog
- type SysOrganization
- type SysPlugins
- type SysPluginsConfig
- type SysPost
- type SysRole
- type SysRoleDept
- type SysUser
- type SysUserOnline
- type SysUserPost
- type SysUserRole
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlarmLevel ¶
type AlarmLevel struct {
g.Meta `orm:"table:alarm_level, do:true"`
Level interface{} // 告警级别
Name interface{} // 名称
}
AlarmLevel is the golang structure of table alarm_level for DAO operations like Where/Data.
type AlarmLog ¶
type AlarmLog struct {
g.Meta `orm:"table:alarm_log, do:true"`
Id interface{} //
Type interface{} // 告警类型:1=规则告警,2=设备自主告警
RuleId interface{} // 规则id
RuleName interface{} // 规则名称
Level interface{} // 告警级别
Data interface{} // 触发告警的数据
ProductKey interface{} // 产品标识
DeviceKey interface{} // 设备标识
Status interface{} // 告警状态:0=未处理,1=已处理
CreatedAt *gtime.Time // 告警时间
UpdateBy interface{} // 告警处理人员
UpdatedAt *gtime.Time // 处理时间
Content interface{} // 处理意见
}
AlarmLog is the golang structure of table alarm_log for DAO operations like Where/Data.
type AlarmRule ¶
type AlarmRule struct {
g.Meta `orm:"table:alarm_rule, do:true"`
Id interface{} //
Name interface{} // 告警规则名称
Level interface{} // 告警级别,默认:4(一般)
ProductKey interface{} // 产品标识
DeviceKey interface{} // 设备标识
TriggerType interface{} // 触发类型:1=上线,2=离线,3=属性上报
TriggerCondition interface{} // 触发条件
Action interface{} // 执行动作
Status interface{} // 状态:0=未启用,1=已启用
CreateBy interface{} // 创建者
UpdateBy interface{} // 更新者
DeletedBy interface{} // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
AlarmRule is the golang structure of table alarm_rule for DAO operations like Where/Data.
type BaseDbLink ¶
type BaseDbLink struct {
g.Meta `orm:"table:base_db_link, do:true"`
Id interface{} //
Name interface{} // 名称
Types interface{} // 驱动类型 mysql或oracle
Host interface{} // 主机地址
Port interface{} // 端口号
UserName interface{} // 用户名称
Password interface{} // 密码
Description interface{} // 描述
Status interface{} // 状态 0 停用 1启用
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreatedBy interface{} // 创建人
CreatedAt *gtime.Time // 创建时间
UpdatedBy interface{} // 修改人
UpdatedAt *gtime.Time // 更新时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
BaseDbLink is the golang structure of table base_db_link for DAO operations like Where/Data.
type CityData ¶
type CityData struct {
g.Meta `orm:"table:city_data, do:true"`
Id interface{} //
Name interface{} // 名字
Code interface{} // 编码
ParentId interface{} // 父ID
Sort interface{} // 排序
Status interface{} // 状态;0:禁用;1:正常
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreatedBy interface{} // 创建者
CreatedAt *gtime.Time // 创建日期
UpdatedBy interface{} // 更新者
UpdatedAt *gtime.Time // 修改日期
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
CityData is the golang structure of table city_data for DAO operations like Where/Data.
type DataNode ¶
type DataNode struct {
g.Meta `orm:"table:data_node, do:true"`
NodeId interface{} //
SourceId interface{} // 数据源ID
Name interface{} // 数据节点名称
Key interface{} // 数据节点标识
DataType interface{} // 数据类型
Value interface{} // 取值项
IsPk interface{} // 是否主键:0=否,1=是
Rule interface{} // 规则配置json
CreateBy interface{} // 创建者
UpdateBy interface{} // 更新者
DeletedBy interface{} // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
DataNode is the golang structure of table data_node for DAO operations like Where/Data.
type DataSource ¶
type DataSource struct {
g.Meta `orm:"table:data_source, do:true"`
SourceId interface{} //
Name interface{} // 数据源名称
Key interface{} // 数据源标识
Desc interface{} // 描述
From interface{} // 数据来源:1=api导入,2=数据库,3=文件,4=设备
Config interface{} // 数据源配置json:api配置、数据库配置、文件配置
Rule interface{} // 规则配置json
LockKey interface{} // 锁定key标识:0=未锁定,1=锁定,不允许修改
Status interface{} // 状态:0=未发布,1=已发布
DataTable interface{} // 数据表名称
CreateBy interface{} // 创建者
UpdateBy interface{} // 更新者
DeletedBy interface{} // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
DataSource is the golang structure of table data_source for DAO operations like Where/Data.
type DataTemplate ¶
type DataTemplate struct {
g.Meta `orm:"table:data_template, do:true"`
Id interface{} // ID
Name interface{} // 名称
Key interface{} // 标识
Desc interface{} // 描述
Status interface{} // 状态:0=未发布,1=已发布
CronExpression interface{} // cron执行表达式
SortNodeKey interface{} // 排序节点标识
SortDesc interface{} // 排序方式:1=倒序,2=正序
DataTable interface{} // 数据表名称
LockKey interface{} // 锁定key标识:0=未锁定,1=锁定,不允许修改
MainSourceId interface{} // 主数据源
SourceNodeKey interface{} // 数据源关联节点
CreateBy interface{} // 创建者
UpdateBy interface{} // 更新者
DeletedBy interface{} // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
DataTemplate is the golang structure of table data_template for DAO operations like Where/Data.
type DataTemplateBusi ¶
type DataTemplateBusi struct {
g.Meta `orm:"table:data_template_busi, do:true"`
Id interface{} //
DataTemplateId interface{} // 数据建模ID
BusiTypes interface{} // 业务单元
IsDeleted interface{} // 0未删除 1已删除
CreatedBy interface{} // 创建人
CreatedAt *gtime.Time // 创建时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
DataTemplateBusi is the golang structure of table data_template_busi for DAO operations like Where/Data.
type DataTemplateNode ¶
type DataTemplateNode struct {
g.Meta `orm:"table:data_template_node, do:true"`
Id interface{} // ID
Tid interface{} // 模型ID
From interface{} // 字段生成方式:1=自动生成,2=数据源
SourceId interface{} // 数据源ID
NodeId interface{} // 数据源ID
Name interface{} // 节点名称
Key interface{} // 节点标识
DataType interface{} // 数据类型
Default interface{} // 默认值
Method interface{} // 数值类型,取值方式
IsPk interface{} // 是否主键:0=否,1=是
Desc interface{} // 描述
CreateBy interface{} // 创建者
UpdateBy interface{} // 更新者
DeletedBy interface{} // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
DataTemplateNode is the golang structure of table data_template_node for DAO operations like Where/Data.
type DevDevice ¶
type DevDevice struct {
g.Meta `orm:"table:dev_device, do:true"`
Id interface{} //
Key interface{} // 设备标识
Name interface{} // 设备名称
ProductId interface{} // 所属产品
Desc interface{} // 描述
MetadataTable interface{} // 是否生成物模型子表:0=否,1=是
Status interface{} // 状态:0=未启用,1=离线,2=在线
RegistryTime *gtime.Time // 激活时间
LastOnlineTime *gtime.Time // 最后上线时间
Certificate interface{} // 设备证书
SecureKey interface{} // 设备密钥
Version interface{} // 固件版本号
TunnelId interface{} // tunnelId
CreateBy interface{} // 创建者
UpdateBy interface{} // 更新者
DeletedBy interface{} // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
DevDevice is the golang structure of table dev_device for DAO operations like Where/Data.
type DevDeviceTag ¶
type DevDeviceTag struct {
g.Meta `orm:"table:dev_device_tag, do:true"`
Id interface{} //
DeviceId interface{} // 设备ID
DeviceKey interface{} // 设备标识
Key interface{} // 标签标识
Name interface{} // 标签名称
Value interface{} // 标签值
CreateBy interface{} // 创建者
UpdateBy interface{} // 更新者
DeletedBy interface{} // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
DevDeviceTag is the golang structure of table dev_device_tag for DAO operations like Where/Data.
type DevProduct ¶
type DevProduct struct {
g.Meta `orm:"table:dev_product, do:true"`
Id interface{} //
Key interface{} // 产品标识
Name interface{} // 产品名称
CategoryId interface{} // 所属品类
MessageProtocol interface{} // 消息协议
TransportProtocol interface{} // 传输协议: MQTT,COAP,UDP
ProtocolId interface{} // 协议id
DeviceType interface{} // 设备类型: 网关,设备
Desc interface{} // 描述
Icon interface{} // 图片地址
Metadata interface{} // 物模型
MetadataTable interface{} // 是否生成物模型表:0=否,1=是
Policy interface{} // 采集策略
Status interface{} // 发布状态:0=未发布,1=已发布
CreateBy interface{} // 创建者
UpdateBy interface{} // 更新者
DeletedBy interface{} // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
DevProduct is the golang structure of table dev_product for DAO operations like Where/Data.
type DevProductCategory ¶
type DevProductCategory struct {
g.Meta `orm:"table:dev_product_category, do:true"`
Id interface{} //
ParentId interface{} // 父ID
Key interface{} // 分类标识
Name interface{} // 分类名称
Desc interface{} // 描述
CreateBy interface{} // 创建者
UpdateBy interface{} // 更新者
DeletedBy interface{} // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
DevProductCategory is the golang structure of table dev_product_category for DAO operations like Where/Data.
type NetworkServer ¶
type NetworkServer struct {
g.Meta `orm:"table:network_server, do:true"`
Id interface{} //
Name interface{} //
Types interface{} // tcp/udp
Addr interface{} //
Register interface{} // 注册包
Heartbeat interface{} // 心跳包
Protocol interface{} // 协议
Devices interface{} // 默认设备
Status interface{} //
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
CreateBy interface{} //
Remark interface{} // 备注
}
NetworkServer is the golang structure of table network_server for DAO operations like Where/Data.
type NetworkTunnel ¶
type NetworkTunnel struct {
g.Meta `orm:"table:network_tunnel, do:true"`
Id interface{} //
ServerId interface{} // 服务ID
Name interface{} //
Types interface{} //
Addr interface{} //
Remote interface{} //
Retry interface{} // 断线重连
Heartbeat interface{} // 心跳包
Serial interface{} // 串口参数
Protoccol interface{} // 适配协议
DeviceKey interface{} // 设备标识
Status interface{} //
Last *gtime.Time //
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
Remark interface{} // 备注
}
NetworkTunnel is the golang structure of table network_tunnel for DAO operations like Where/Data.
type NoticeConfig ¶
type NoticeConfig struct {
g.Meta `orm:"table:notice_config, do:true"`
Id interface{} //
Title interface{} //
SendGateway interface{} //
Types interface{} //
CreatedAt *gtime.Time //
}
NoticeConfig is the golang structure of table notice_config for DAO operations like Where/Data.
type NoticeInfo ¶
type NoticeInfo struct {
g.Meta `orm:"table:notice_info, do:true"`
Id interface{} //
ConfigId interface{} //
ComeFrom interface{} //
Method interface{} //
MsgTitle interface{} //
MsgBody interface{} //
MsgUrl interface{} //
UserIds interface{} //
OrgIds interface{} //
Totag interface{} //
Status interface{} //
MethodCron interface{} //
MethodNum interface{} //
CreatedAt *gtime.Time //
}
NoticeInfo is the golang structure of table notice_info for DAO operations like Where/Data.
type NoticeLog ¶
type NoticeLog struct {
g.Meta `orm:"table:notice_log, do:true"`
Id interface{} //
SendGateway interface{} // 通知渠道
TemplateId interface{} // 通知模板ID
Addressee interface{} // 收信人列表
Title interface{} // 通知标题
Content interface{} // 通知内容
Status interface{} // 发送状态:0=失败,1=成功
FailMsg interface{} // 失败信息
SendTime *gtime.Time // 发送时间
}
NoticeLog is the golang structure of table notice_log for DAO operations like Where/Data.
type NoticeTemplate ¶
type NoticeTemplate struct {
g.Meta `orm:"table:notice_template, do:true"`
Id interface{} //
ConfigId interface{} //
SendGateway interface{} //
Code interface{} //
Title interface{} //
Content interface{} //
CreatedAt *gtime.Time //
}
NoticeTemplate is the golang structure of table notice_template for DAO operations like Where/Data.
type SysApi ¶
type SysApi struct {
g.Meta `orm:"table:sys_api, do:true"`
Id interface{} //
ParentId interface{} //
Name interface{} // 名称
Types interface{} // 1 分类 2接口
Method interface{} // 请求方式(数据字典维护)
Address interface{} // 接口地址
Remark interface{} // 备注
Status interface{} // 状态 0 停用 1启用
Sort interface{} // 排序
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreateBy interface{} // 创建者
CreatedAt *gtime.Time // 创建时间
UpdatedBy interface{} // 更新者
UpdatedAt *gtime.Time // 修改时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysApi is the golang structure of table sys_api for DAO operations like Where/Data.
type SysAuthorize ¶
type SysAuthorize struct {
g.Meta `orm:"table:sys_authorize, do:true"`
Id interface{} //
RoleId interface{} // 角色ID
ItemsType interface{} // 项目类型 menu菜单 button按钮 column列表字段 api接口
ItemsId interface{} // 项目ID
IsCheckAll interface{} // 是否全选 1是 0否
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreatedBy interface{} // 创建人
CreatedAt *gtime.Time // 创建时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysAuthorize is the golang structure of table sys_authorize for DAO operations like Where/Data.
type SysConfig ¶
type SysConfig struct {
g.Meta `orm:"table:sys_config, do:true"`
ConfigId interface{} // 参数主键
ConfigName interface{} // 参数名称
ConfigKey interface{} // 参数键名
ConfigValue interface{} // 参数键值
ConfigType interface{} // 系统内置(1是 2否)
Remark interface{} // 备注
Status interface{} // 状态 0 停用 1启用
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreateBy interface{} // 创建者
CreatedAt *gtime.Time // 创建时间
UpdateBy interface{} // 更新者
UpdatedAt *gtime.Time // 修改时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysConfig is the golang structure of table sys_config for DAO operations like Where/Data.
type SysDept ¶
type SysDept struct {
g.Meta `orm:"table:sys_dept, do:true"`
DeptId interface{} // 部门id
OrganizationId interface{} // 组织ID
ParentId interface{} // 父部门id
Ancestors interface{} // 祖级列表
DeptName interface{} // 部门名称
OrderNum interface{} // 显示顺序
Leader interface{} // 负责人
Phone interface{} // 联系电话
Email interface{} // 邮箱
Status interface{} // 部门状态(0停用 1正常)
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreatedAt *gtime.Time // 创建时间
CreatedBy interface{} // 创建人
UpdatedBy interface{} // 修改人
UpdatedAt *gtime.Time // 修改时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysDept is the golang structure of table sys_dept for DAO operations like Where/Data.
type SysDictData ¶
type SysDictData struct {
g.Meta `orm:"table:sys_dict_data, do:true"`
DictCode interface{} // 字典编码
DictSort interface{} // 字典排序
DictLabel interface{} // 字典标签
DictValue interface{} // 字典键值
DictType interface{} // 字典类型
CssClass interface{} // 样式属性(其他样式扩展)
ListClass interface{} // 表格回显样式
IsDefault interface{} // 是否默认(1是 0否)
Remark interface{} // 备注
Status interface{} // 状态(0正常 1停用)
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreateBy interface{} // 创建者
CreatedAt *gtime.Time // 创建时间
UpdateBy interface{} // 更新者
UpdatedAt *gtime.Time // 修改时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysDictData is the golang structure of table sys_dict_data for DAO operations like Where/Data.
type SysDictType ¶
type SysDictType struct {
g.Meta `orm:"table:sys_dict_type, do:true"`
DictId interface{} // 字典主键
ParentId interface{} // 父主键ID
DictName interface{} // 字典名称
DictType interface{} // 字典类型
ModuleClassify interface{} // 模块分类
Remark interface{} // 备注
Status interface{} // 状态(0正常 1停用)
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreateBy interface{} // 创建者
CreatedAt *gtime.Time // 创建日期
UpdateBy interface{} // 更新者
UpdatedAt *gtime.Time // 修改日期
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysDictType is the golang structure of table sys_dict_type for DAO operations like Where/Data.
type SysJob ¶
type SysJob struct {
g.Meta `orm:"table:sys_job, do:true"`
JobId interface{} // 任务ID
JobName interface{} // 任务名称
JobParams interface{} // 参数
JobGroup interface{} // 任务组名
InvokeTarget interface{} // 调用目标字符串
CronExpression interface{} // cron执行表达式
MisfirePolicy interface{} // 计划执行策略(1多次执行 2执行一次)
Concurrent interface{} // 是否并发执行(0允许 1禁止)
Status interface{} // 状态(0正常 1暂停)
CreateBy interface{} // 创建者
UpdateBy interface{} // 更新者
Remark interface{} // 备注信息
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间
}
SysJob is the golang structure of table sys_job for DAO operations like Where/Data.
type SysLoginLog ¶
type SysLoginLog struct {
g.Meta `orm:"table:sys_login_log, do:true"`
InfoId interface{} // 访问ID
LoginName interface{} // 登录账号
Ipaddr interface{} // 登录IP地址
LoginLocation interface{} // 登录地点
Browser interface{} // 浏览器类型
Os interface{} // 操作系统
Status interface{} // 登录状态(0成功 1失败)
Msg interface{} // 提示消息
LoginTime *gtime.Time // 登录时间
Module interface{} // 登录模块
}
SysLoginLog is the golang structure of table sys_login_log for DAO operations like Where/Data.
type SysMenu ¶
type SysMenu struct {
g.Meta `orm:"table:sys_menu, do:true"`
Id interface{} //
ParentId interface{} // 父ID
Name interface{} // 规则名称
Title interface{} // 规则名称
Icon interface{} // 图标
Condition interface{} // 条件
Remark interface{} // 备注
MenuType interface{} // 类型 0目录 1菜单 2按钮
Weigh interface{} // 权重
IsHide interface{} // 显示状态
Path interface{} // 路由地址
Component interface{} // 组件路径
IsLink interface{} // 是否外链 1是 0否
ModuleType interface{} // 所属模块 system 运维 company企业
ModelId interface{} // 模型ID
IsIframe interface{} // 是否内嵌iframe
IsCached interface{} // 是否缓存
Redirect interface{} // 路由重定向地址
IsAffix interface{} // 是否固定
LinkUrl interface{} // 链接地址
Status interface{} // 状态 0 停用 1启用
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreatedBy interface{} // 创建人
CreatedAt *gtime.Time // 创建时间
UpdatedBy interface{} // 修改人
UpdatedAt *gtime.Time // 更新时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysMenu is the golang structure of table sys_menu for DAO operations like Where/Data.
type SysMenuApi ¶
type SysMenuApi struct {
g.Meta `orm:"table:sys_menu_api, do:true"`
Id interface{} // id
MenuId interface{} // 菜单ID
ApiId interface{} // apiId
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreatedBy interface{} // 创建人
CreatedAt *gtime.Time // 创建时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysMenuApi is the golang structure of table sys_menu_api for DAO operations like Where/Data.
type SysMenuButton ¶
type SysMenuButton struct {
g.Meta `orm:"table:sys_menu_button, do:true"`
Id interface{} //
ParentId interface{} // 父ID
MenuId interface{} // 菜单ID
Name interface{} // 名称
Types interface{} // 类型 自定义 add添加 edit编辑 del 删除
Description interface{} // 描述
Status interface{} // 状态 0 停用 1启用
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreatedBy interface{} // 创建人
CreatedAt *gtime.Time // 创建时间
UpdatedBy interface{} // 修改人
UpdatedAt *gtime.Time // 更新时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysMenuButton is the golang structure of table sys_menu_button for DAO operations like Where/Data.
type SysMenuColumn ¶
type SysMenuColumn struct {
g.Meta `orm:"table:sys_menu_column, do:true"`
Id interface{} //
ParentId interface{} // 父ID
MenuId interface{} // 菜单ID
Name interface{} // 名称
Code interface{} // 代表字段
Description interface{} // 描述
Status interface{} // 状态 0 停用 1启用
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreatedBy interface{} // 创建人
CreatedAt *gtime.Time // 创建时间
UpdatedBy interface{} // 修改人
UpdatedAt *gtime.Time // 更新时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysMenuColumn is the golang structure of table sys_menu_column for DAO operations like Where/Data.
type SysNotifications ¶
type SysNotifications struct {
g.Meta `orm:"table:sys_notifications, do:true"`
Id interface{} //
Title interface{} // 标题
Doc interface{} // 描述
Source interface{} // 消息来源
Types interface{} // 类型
CreatedAt *gtime.Time // 发送时间
Status interface{} // 0,未读,1,已读
}
SysNotifications is the golang structure of table sys_notifications for DAO operations like Where/Data.
type SysOperLog ¶
type SysOperLog struct {
g.Meta `orm:"table:sys_oper_log, do:true"`
OperId interface{} // 日志主键
Title interface{} // 模块标题
BusinessType interface{} // 业务类型(0其它 1新增 2修改 3删除)
Method interface{} // 方法名称
RequestMethod interface{} // 请求方式
OperatorType interface{} // 操作类别(0其它 1后台用户 2手机端用户)
OperName interface{} // 操作人员
DeptName interface{} // 部门名称
OperUrl interface{} // 请求URL
OperIp interface{} // 主机地址
OperLocation interface{} // 操作地点
OperParam interface{} // 请求参数
JsonResult interface{} // 返回参数
Status interface{} // 操作状态(0正常 1异常)
ErrorMsg interface{} // 错误消息
OperTime *gtime.Time // 操作时间
}
SysOperLog is the golang structure of table sys_oper_log for DAO operations like Where/Data.
type SysOrganization ¶
type SysOrganization struct {
g.Meta `orm:"table:sys_organization, do:true"`
Id interface{} // 组织ID
ParentId interface{} // 父组织id
Ancestors interface{} // 祖级列表
Name interface{} // 组织名称
Number interface{} // 组织编号
OrderNum interface{} // 显示顺序
Leader interface{} // 负责人
Phone interface{} // 联系电话
Email interface{} // 邮箱
Status interface{} // 组织状态(0停用 1正常)
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreatedAt *gtime.Time // 创建时间
CreatedBy interface{} // 创建人
UpdatedBy interface{} // 修改人
UpdatedAt *gtime.Time // 修改时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysOrganization is the golang structure of table sys_organization for DAO operations like Where/Data.
type SysPlugins ¶
type SysPlugins struct {
g.Meta `orm:"table:sys_plugins, do:true"`
Id interface{} // ID
Name interface{} // 名称
Title interface{} // 标题
Intro interface{} // 介绍
Version interface{} // 版本
Status interface{} // 状态
Types interface{} // 插件类型
Author interface{} //
StartTime *gtime.Time //
}
SysPlugins is the golang structure of table sys_plugins for DAO operations like Where/Data.
type SysPluginsConfig ¶
type SysPluginsConfig struct {
g.Meta `orm:"table:sys_plugins_config, do:true"`
Id interface{} //
Type interface{} // 插件类型
Name interface{} // 插件名称
Value interface{} // 配置内容
Doc interface{} // 配置说明
}
SysPluginsConfig is the golang structure of table sys_plugins_config for DAO operations like Where/Data.
type SysPost ¶
type SysPost struct {
g.Meta `orm:"table:sys_post, do:true"`
PostId interface{} // 岗位ID
ParentId interface{} // 父ID
PostCode interface{} // 岗位编码
PostName interface{} // 岗位名称
PostSort interface{} // 显示顺序
Status interface{} // 状态(0正常 1停用)
Remark interface{} // 备注
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreatedBy interface{} // 创建人
CreatedAt *gtime.Time // 创建时间
UpdatedBy interface{} // 修改人
UpdatedAt *gtime.Time // 修改时间
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysPost is the golang structure of table sys_post for DAO operations like Where/Data.
type SysRole ¶
type SysRole struct {
g.Meta `orm:"table:sys_role, do:true"`
Id interface{} //
ParentId interface{} // 父ID
ListOrder interface{} // 排序
Name interface{} // 角色名称
DataScope interface{} // 数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)
Remark interface{} // 备注
Status interface{} // 状态;0:禁用;1:正常
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreateBy interface{} // 创建者
CreatedAt *gtime.Time // 创建日期
UpdateBy interface{} // 更新者
UpdatedAt *gtime.Time // 修改日期
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysRole is the golang structure of table sys_role for DAO operations like Where/Data.
type SysRoleDept ¶
type SysRoleDept struct {
g.Meta `orm:"table:sys_role_dept, do:true"`
RoleId interface{} // 角色ID
DeptId interface{} // 部门ID
}
SysRoleDept is the golang structure of table sys_role_dept for DAO operations like Where/Data.
type SysUser ¶
type SysUser struct {
g.Meta `orm:"table:sys_user, do:true"`
Id interface{} //
UserName interface{} // 用户名
UserTypes interface{} // 系统 system 企业 company
Mobile interface{} // 中国手机不带国家代码,国际手机号格式为:国家代码-手机号
UserNickname interface{} // 用户昵称
Birthday interface{} // 生日
UserPassword interface{} // 登录密码;cmf_password加密
UserSalt interface{} // 加密盐
UserEmail interface{} // 用户登录邮箱
Sex interface{} // 性别;0:保密,1:男,2:女
Avatar interface{} // 用户头像
DeptId interface{} // 部门id
Remark interface{} // 备注
IsAdmin interface{} // 是否后台管理员 1 是 0 否
Address interface{} // 联系地址
Describe interface{} // 描述信息
LastLoginIp interface{} // 最后登录ip
LastLoginTime *gtime.Time // 最后登录时间
Status interface{} // 用户状态;0:禁用,1:正常,2:未验证
IsDeleted interface{} // 是否删除 0未删除 1已删除
CreateBy interface{} // 创建者
CreatedAt *gtime.Time // 创建日期
UpdateBy interface{} // 更新者
UpdatedAt *gtime.Time // 修改日期
DeletedBy interface{} // 删除人
DeletedAt *gtime.Time // 删除时间
}
SysUser is the golang structure of table sys_user for DAO operations like Where/Data.
type SysUserOnline ¶
type SysUserOnline struct {
g.Meta `orm:"table:sys_user_online, do:true"`
Id interface{} //
Uuid interface{} // 用户标识
Key interface{} //
Token interface{} // 用户token
CreatedAt *gtime.Time // 登录时间
UserName interface{} // 用户名
Ip interface{} // 登录ip
Explorer interface{} // 浏览器
Os interface{} // 操作系统
}
SysUserOnline is the golang structure of table sys_user_online for DAO operations like Where/Data.
type SysUserPost ¶
type SysUserPost struct {
g.Meta `orm:"table:sys_user_post, do:true"`
UserId interface{} // 用户ID
PostId interface{} // 岗位ID
}
SysUserPost is the golang structure of table sys_user_post for DAO operations like Where/Data.
type SysUserRole ¶
type SysUserRole struct {
g.Meta `orm:"table:sys_user_role, do:true"`
UserId interface{} //
RoleId interface{} //
}
SysUserRole is the golang structure of table sys_user_role for DAO operations like Where/Data.
Source Files
¶
- alarm_level.go
- alarm_log.go
- alarm_rule.go
- base_db_link.go
- city_data.go
- data_node.go
- data_source.go
- data_template.go
- data_template_busi.go
- data_template_node.go
- dev_device.go
- dev_device_tag.go
- dev_product.go
- dev_product_category.go
- network_server.go
- network_tunnel.go
- notice_config.go
- notice_info.go
- notice_log.go
- notice_template.go
- sys_api.go
- sys_authorize.go
- sys_config.go
- sys_dept.go
- sys_dict_data.go
- sys_dict_type.go
- sys_job.go
- sys_login_log.go
- sys_menu.go
- sys_menu_api.go
- sys_menu_button.go
- sys_menu_column.go
- sys_notifications.go
- sys_oper_log.go
- sys_organization.go
- sys_plugins.go
- sys_plugins_config.go
- sys_post.go
- sys_role.go
- sys_role_dept.go
- sys_user.go
- sys_user_online.go
- sys_user_post.go
- sys_user_role.go