Documentation
¶
Index ¶
- type SysAnnouncement
- type SysAnnouncementCategory
- type SysAnnouncementConfirm
- type SysAnnouncementReadUser
- type SysArea
- type SysAudit
- type SysCasbin
- type SysCategory
- type SysComment
- type SysConfig
- type SysDelivery
- type SysDeliveryCompany
- type SysFile
- type SysFrontSettings
- type SysIndustry
- type SysInvite
- type SysInvitePerson
- type SysLogs
- type SysMemberLevel
- type SysMemberLevelUser
- type SysMenu
- type SysMessage
- type SysOrganization
- type SysPermission
- type SysPersonLicense
- type SysRole
- type SysSettings
- type SysSmsLogs
- type SysUser
- type SysUserDetail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysAnnouncement ¶ added in v0.8.23
type SysAnnouncement struct {
g.Meta `orm:"table:sys_announcement, do:true"`
Id interface{} //
Title interface{} // 公告标题
UnionMainId interface{} // 发布主体,0值则代表平台发布的公告
PublicAt *gtime.Time // 公示时间,只有到了公示时间用户才可见
Body interface{} // 公告正文
UserTypeScope interface{} // 受众用户类型:0则所有,复合类型
ExpireAt *gtime.Time // 过期时间,过期后前端用户不可见
State interface{} // 状态:1草稿、2待发布、4已发布、8已过期、16已撤销
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
CreatedBy interface{} // 创建用户
UpdatedBy interface{} // 最后修改用户
DeletedAt *gtime.Time //
DeletedBy interface{} //
ExtDataJson interface{} // 扩展json数据
CategoryId interface{} // 公告分类ID
Priority interface{} // 优先级:1普通、2重要、3紧急
IsPinned interface{} // 是否置顶:0否、1是
IsForceRead interface{} // 是否强制阅读:0否、1是
Tags interface{} // 公告标签,多个用逗号分隔
ReadCount interface{} // 阅读次数
ConfirmRequired interface{} // 是否需要确认:0否、1是
}
SysAnnouncement is the golang structure of table sys_announcement for DAO operations like Where/Data.
type SysAnnouncementCategory ¶ added in v0.10.5
type SysAnnouncementCategory struct {
g.Meta `orm:"table:sys_announcement_category, do:true"`
Id interface{} //
Name interface{} // 分类名称
Code interface{} // 分类编码
UnionMainId interface{} // 所属主体ID
Sort interface{} // 排序
Description interface{} // 描述
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
CreatedBy interface{} //
UpdatedBy interface{} //
DeletedAt *gtime.Time //
DeletedBy interface{} //
}
SysAnnouncementCategory is the golang structure of table sys_announcement_category for DAO operations like Where/Data.
type SysAnnouncementConfirm ¶ added in v0.10.5
type SysAnnouncementConfirm struct {
g.Meta `orm:"table:sys_announcement_confirm, do:true"`
Id interface{} //
UserId interface{} // 用户ID
AnnouncementId interface{} // 公告ID
ConfirmAt *gtime.Time // 确认时间
ConfirmComment interface{} // 确认备注
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
CreatedBy interface{} //
UpdatedBy interface{} //
DeletedAt *gtime.Time //
DeletedBy interface{} //
}
SysAnnouncementConfirm is the golang structure of table sys_announcement_confirm for DAO operations like Where/Data.
type SysAnnouncementReadUser ¶ added in v0.8.23
type SysAnnouncementReadUser struct {
g.Meta `orm:"table:sys_announcement_read_user, do:true"`
Id interface{} // ID
UserId interface{} // 用户ID
ReadAnnouncementId interface{} // 用户已阅读的公告id
ReadAt *gtime.Time // 用户阅读时间
ExtDataJson interface{} // 扩展数据Json,由业务端决定用途
FlagRead interface{} // 标记已读,0未读,1已读,用户首次打开公告即标记已读,可手动标记未读,但read_at 数据不变,下次点开时更新阅读时间,并标记已读
}
SysAnnouncementReadUser is the golang structure of table sys_announcement_read_user for DAO operations like Where/Data.
type SysArea ¶
type SysArea struct {
g.Meta `orm:"table:sys_area, do:true"`
Id interface{} // ID
AreaCode interface{} // 地区编码
AreaName interface{} // 地区名称
Level interface{} // 1街道street、2区县district、4市city、8省份province、16大区region、32全国nation
CityCode interface{} // 城市编码
LongLatCenter interface{} // 城市中心点(即经纬度)
ParentId interface{} // 地区父节点
PinYin interface{} // 地区拼音
}
SysArea is the golang structure of table sys_area for DAO operations like Where/Data.
type SysAudit ¶
type SysAudit struct {
g.Meta `orm:"table:sys_audit, do:true"`
Id interface{} //
State interface{} // 审核状态:0 - 待审核;1 - 审核通过;2 - 审核不通过;3 - 审核中(人工复审);4 - 补充资料待审核
Reply interface{} // 不通过时回复的审核不通过原因
UnionMainId interface{} // 关联主体ID
Category interface{} // 业务类别:1个人资质审核、2主体资质审核、4数据审核
AuditData interface{} // 待审核的业务数据包
ExpireAt *gtime.Time // 服务时限
AuditReplyAt *gtime.Time // 审核回复时间
HistoryItems interface{} // 历史申请记录
CreatedAt *gtime.Time //
AuditUserId interface{} // 审核操作者id
DataIdentifier interface{} // 数据标识
UserId interface{} // 关联用户ID
Summary interface{} // 概述
AuditGroup interface{} // 审核分组
}
SysAudit is the golang structure of table sys_audit for DAO operations like Where/Data.
type SysCasbin ¶
type SysCasbin struct {
g.Meta `orm:"table:sys_casbin, do:true"`
Ptype interface{} //
V0 interface{} //
V1 interface{} //
V2 interface{} //
V3 interface{} //
V4 interface{} //
V5 interface{} //
}
SysCasbin is the golang structure of table sys_casbin for DAO operations like Where/Data.
type SysCategory ¶ added in v0.8.29
type SysCategory struct {
g.Meta `orm:"table:sys_category, do:true"`
Id interface{} //
Name interface{} // 名称
ParentId interface{} // 父级ID
PicturePath interface{} // 分类图片
Hidden interface{} // 是否隐藏
Sort interface{} // 顺序
UnionMainId interface{} // 关联主体ID(保留字段)
Type interface{} // 0全局;1商品分类;2资讯分类
Description interface{} //
UpdatedAt *gtime.Time //
CreatedAt *gtime.Time //
}
SysCategory is the golang structure of table sys_category for DAO operations like Where/Data.
type SysComment ¶ added in v0.10.0
type SysComment struct {
g.Meta `orm:"table:sys_comment, do:true"`
Id interface{} // ID
UserId interface{} // 用户ID
UnionMainId interface{} // 关联主体ID
UnionMainType interface{} // 关联主体类型
Body interface{} // 图文评论
MediaIds interface{} // 媒体资源:图文、视频等
ReplyId interface{} // 评论回复信息ID,即关联父级评论ID
Score interface{} // 评分0-5,间隔0.1
CreatedAt *gtime.Time // 评论发表时间
UnionId interface{} // 关联业务ID
}
SysComment is the golang structure of table sys_comment for DAO operations like Where/Data.
type SysConfig ¶
type SysConfig struct {
g.Meta `orm:"table:sys_config, do:true"`
Name interface{} // 配置名称
Value interface{} // 配置信息
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
}
SysConfig is the golang structure of table sys_config for DAO operations like Where/Data.
type SysDelivery ¶ added in v0.10.10
type SysDelivery struct {
g.Meta `orm:"table:sys_delivery, do:true"`
Id interface{} //
Name interface{} // 物流公司
Logo interface{} // LOGO
Site interface{} // 网址
ExpressNo interface{} // 物流跟踪编号
ExpressNoElectronicSheet interface{} // 电子面单编号
PrintStyleJson interface{} // 打印模板样式
ExpTypeJson interface{} // 业务类型
UpdatedAt *gtime.Time //
CreatedAt *gtime.Time //
}
SysDelivery is the golang structure of table sys_delivery for DAO operations like Where/Data.
type SysDeliveryCompany ¶ added in v0.10.0
type SysDeliveryCompany struct {
g.Meta `orm:"table:sys_delivery_company, do:true"`
Id interface{} //
Name interface{} // 物流公司
Logo interface{} // LOGO
Site interface{} // 网址
ExpressNo interface{} // 物流跟踪编号
ExpressNoElectronicSheet interface{} // 电子面单编号
PrintStyleJson interface{} // 打印模板样式
ExpTypeJson interface{} // 业务类型
UpdatedAt *gtime.Time //
CreatedAt *gtime.Time //
}
SysDeliveryCompany is the golang structure of table sys_delivery_company for DAO operations like Where/Data.
type SysFile ¶
type SysFile struct {
g.Meta `orm:"table:sys_file, do:true"`
Id interface{} // 自增ID
Name interface{} // 文件名称
Src interface{} // 存储路径
Url interface{} // URL地址
Ext interface{} // 扩展名
Size interface{} // 文件大小
Category interface{} // 文件分类
UserId interface{} // 用户ID
UnionMainId interface{} // 关联主体ID
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
LocalPath interface{} // 本地路径
AllowAnonymous interface{} // 是否允许匿名访问
}
SysFile is the golang structure of table sys_file for DAO operations like Where/Data.
type SysFrontSettings ¶ added in v0.8.17
type SysFrontSettings struct {
g.Meta `orm:"table:sys_front_settings, do:true"`
Name interface{} // 配置名称
Values interface{} // 配置信息JSON格式
Desc interface{} // 描述
UnionMainId interface{} // 关联的主体id,为0代表是平台配置
UserId interface{} // 关联的用户id,为0代表平台配置
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
Version interface{} // 版本
Sys interface{} // 1除主体管理员外,主体下的其他用户仅有只读权限,(默认0)
}
SysFrontSettings is the golang structure of table sys_front_settings for DAO operations like Where/Data.
type SysIndustry ¶ added in v0.7.0
type SysIndustry struct {
g.Meta `orm:"table:sys_industry, do:true"`
Id interface{} // ID
CategoryId interface{} // 行业ID
CategoryName interface{} // 行业名称
CategoryDesc interface{} // 行业描述
Rate interface{} // 费率
ParentId interface{} // 父级ID
Sort interface{} // 排序
State interface{} // 状态:0隐藏,1显示
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
DeletedAt *gtime.Time //
}
SysIndustry is the golang structure of table sys_industry for DAO operations like Where/Data.
type SysInvite ¶ added in v0.5.7
type SysInvite struct {
g.Meta `orm:"table:sys_invite, do:true"`
Id interface{} // ID
UserId interface{} // 用户ID, 也就是邀约人ID
Value interface{} // 邀约码背后的关联业务Json数据,
ExpireAt *gtime.Time // 邀约码的过期失效
ActivateNumber interface{} // 邀约码的激活次数限制,小于0,则无限制
State interface{} // 状态: 0失效、1正常
Type interface{} // 类型: 1注册、2加入团队、4加入角色 (复合类型)
CreatedAt *gtime.Time //
Identifier interface{} // 标识符
InviteCode interface{} // 邀请码
}
SysInvite is the golang structure of table sys_invite for DAO operations like Where/Data.
type SysInvitePerson ¶ added in v0.11.0
type SysInvitePerson struct {
g.Meta `orm:"table:sys_invite_person, do:true"`
Id interface{} // ID
FormUserId interface{} // 邀请人
ByUserId interface{} // 被邀请人
InviteCode interface{} // 邀请码
InviteAt *gtime.Time // 邀请时间
UserIdentifierPrefix interface{} // 用户标识符前缀
CompanyIdentifierPrefix interface{} // 公司标识符前缀
InviteId interface{} // 邀请码ID,来自sys_invite 表
}
SysInvitePerson is the golang structure of table sys_invite_person for DAO operations like Where/Data.
type SysLogs ¶
type SysLogs struct {
g.Meta `orm:"table:sys_logs, do:true"`
Id interface{} // ID
UserId interface{} // 用户UID
Error interface{} // 错误信息
Category interface{} // 分类
Level interface{} // 等级
Content interface{} // 日志内容
Context interface{} // 上下文数据
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
}
SysLogs is the golang structure of table sys_logs for DAO operations like Where/Data.
type SysMemberLevel ¶ added in v0.8.20
type SysMemberLevel struct {
g.Meta `orm:"table:sys_member_level, do:true"`
Id interface{} // ID
Name interface{} // 名称
Desc interface{} // 描述
Identifier interface{} // 级别标识符
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
CreatedBy interface{} //
UnionMainId interface{} //
Level interface{} // 权益级别,要遵循数值越大,权益越多
}
SysMemberLevel is the golang structure of table sys_member_level for DAO operations like Where/Data.
type SysMemberLevelUser ¶ added in v0.8.20
type SysMemberLevelUser struct {
g.Meta `orm:"table:sys_member_level_user, do:true"`
Id interface{} // ID
UserId interface{} // 用户ID
ExtMemberLevelId interface{} // 会员级别
UnionMainId interface{} // 保留字段
}
SysMemberLevelUser is the golang structure of table sys_member_level_user for DAO operations like Where/Data.
type SysMenu ¶
type SysMenu struct {
g.Meta `orm:"table:sys_menu, do:true"`
Id interface{} // ID
Path interface{} // 路径
Name interface{} // 名称
SortTitle interface{} // 简称
I18NKey interface{} // 国际化Key
Redirect interface{} // 跳转
Title interface{} // 标题
Icon interface{} // 图标
Layout interface{} // 布局
Component interface{} // 组件
ParentId interface{} // 所属父级
Sort interface{} // 排序
State interface{} // 状态:1启用,0禁用
Hidden interface{} // 是否隐藏:1是,0否
Description interface{} // 描述
IconUrl interface{} // 图标URL
RedirectType interface{} // 跳转类型:1当前页面打开、 2新的标签页打开
Type interface{} // 类型:1菜单、2按钮
DepPermissionIds interface{} // 依赖权限Ids
LimitHiddenRoleIds interface{} // 限定不可见的角色
LimitHiddenUserIds interface{} // 限定不可见的用户
LimitHiddenUserTypes interface{} // 限定不可见的用户类型
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
}
SysMenu is the golang structure of table sys_menu for DAO operations like Where/Data.
type SysMessage ¶ added in v0.7.2
type SysMessage struct {
g.Meta `orm:"table:sys_message, do:true"`
Id interface{} // ID
Title interface{} // 标题
Summary interface{} // 摘要
Content interface{} // 内容
Type interface{} // 消息类型
Link interface{} // 跳转链接
ToUserIds interface{} // 接收者UserIds,允许有多个接收者
ToUserType interface{} // 接收者类型用户类型,和UserType保持一致
FromUserId interface{} // 发送者ID,为-1代表系统消息
FromUserType interface{} // 发送者类型
SendAt *gtime.Time // 发送时间
ExtJson interface{} // 拓展数据Json
ReadUserIds interface{} // 已读用户UserIds
DataIdentifier interface{} // 关联的数据标识
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
DeletedAt *gtime.Time //
SceneDesc interface{} // 场景描述
SceneType interface{} // 场景类型【业务层自定义】例如:1活动即将开始提醒、2活动开始提醒、3活动即将结束提醒、4活动结束提醒、5活动获奖提醒、6券即将生效提醒、7券的生效提醒、8券的失效提醒、9券即将失效提醒、10券核销提醒、8192系统通知、
}
SysMessage is the golang structure of table sys_message for DAO operations like Where/Data.
type SysOrganization ¶
type SysOrganization struct {
g.Meta `orm:"table:sys_organization, do:true"`
Id interface{} //
Name interface{} // 名称
ParentId interface{} // 父级ID
CascadeDeep interface{} // 级联深度
Description interface{} // 描述
}
SysOrganization is the golang structure of table sys_organization for DAO operations like Where/Data.
type SysPermission ¶
type SysPermission struct {
g.Meta `orm:"table:sys_permission, do:true"`
Id interface{} // ID
ParentId interface{} // 父级ID
Name interface{} // 名称
Description interface{} // 描述
Identifier interface{} // 标识符
Type interface{} // 类型:1api,2menu
MatchMode interface{} // 匹配模式:ID:0,标识符:1
IsShow interface{} // 是否显示:0不显示 1显示
Sort interface{} // 排序
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
}
SysPermission is the golang structure of table sys_permission for DAO operations like Where/Data.
type SysPersonLicense ¶ added in v0.4.13
type SysPersonLicense struct {
g.Meta `orm:"table:sys_person_license, do:true"`
Id interface{} // ID
IdcardFrontPath interface{} // 身份证头像面照片
IdcardBackPath interface{} // 身份证国徽面照片
No interface{} // 身份证号
Gender interface{} // 性别
Nation interface{} // 名族
Name interface{} // 姓名
Birthday interface{} // 出生日期
Address interface{} // 家庭住址
IssuingAuthorit interface{} // 签发机关
IssuingDate interface{} // 签发日期
ExpriyDate interface{} //
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
DeletedAt *gtime.Time //
State interface{} // 状态:0失效、1正常
AuthType interface{} // 认证类型:
Remark interface{} // 备注信息
LatestAuditLogId interface{} // 最新的审核记录id
UserId interface{} // 关联的用户ID
}
SysPersonLicense is the golang structure of table sys_person_license for DAO operations like Where/Data.
type SysRole ¶
type SysRole struct {
g.Meta `orm:"table:sys_role, do:true"`
Id interface{} //
Name interface{} // 名称
Description interface{} // 描述
IsSystem interface{} // 是否默认角色,true仅能修改名称,不允许删除和修改
UpdatedAt *gtime.Time //
CreatedAt *gtime.Time //
UnionMainId interface{} // 主体id
}
SysRole is the golang structure of table sys_role for DAO operations like Where/Data.
type SysSettings ¶ added in v0.4.2
type SysSettings struct {
g.Meta `orm:"table:sys_settings, do:true"`
Name interface{} // 配置名称
Values interface{} // 配置信息JSON格式
Desc interface{} // 描述
UnionMainId interface{} // 关联的主体id,为0代表是平台配置
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
}
SysSettings is the golang structure of table sys_settings for DAO operations like Where/Data.
type SysSmsLogs ¶
type SysSmsLogs struct {
g.Meta `orm:"table:sys_sms_logs, do:true"`
Id interface{} //
Type interface{} // 短信平台:qyxs:企业信使
Context interface{} // 短信内容
Mobile interface{} // 手机号
State interface{} // 发送状态
Result interface{} // 短信接口返回内容
UserId interface{} // 用户ID
LicenseId interface{} // 主体ID
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
DeletedAt *gtime.Time //
}
SysSmsLogs is the golang structure of table sys_sms_logs for DAO operations like Where/Data.
type SysUser ¶
type SysUser struct {
g.Meta `orm:"table:sys_user, do:true"`
Id interface{} //
Username interface{} // 账号
Password interface{} // 密码
State interface{} // 状态:0未激活、1正常、-1封号、-2异常、-3已注销
Type interface{} // 用户类型:0匿名、1用户、2微商、4商户、8广告主、16服务商、32运营中心、64后台
Mobile interface{} // 手机号
CreatedAt *gtime.Time //
UpdatedAt *gtime.Time //
DeletedAt *gtime.Time //
Email interface{} // 邮箱
InviteCode interface{} // 邀请码,代表通过这个邀请码注册
}
SysUser is the golang structure of table sys_user for DAO operations like Where/Data.
type SysUserDetail ¶
type SysUserDetail struct {
g.Meta `orm:"table:sys_user_detail, do:true"`
Id interface{} // ID,保持与USERID一致
Realname interface{} // 姓名
UnionMainName interface{} // 关联主体名称
LastLoginIp interface{} // 最后登录IP
LastLoginArea interface{} // 最后登录地区
LastLoginAt *gtime.Time // 最后登录时间
LastHeartbeatAt *gtime.Time // 最后在线时间
}
SysUserDetail is the golang structure of table sys_user_detail for DAO operations like Where/Data.
Source Files
¶
- sys_announcement.go
- sys_announcement_category.go
- sys_announcement_confirm.go
- sys_announcement_read_user.go
- sys_area.go
- sys_audit.go
- sys_casbin.go
- sys_category.go
- sys_comment.go
- sys_config.go
- sys_delivery.go
- sys_delivery_company.go
- sys_file.go
- sys_front_settings.go
- sys_industry.go
- sys_invite.go
- sys_invite_person.go
- sys_logs.go
- sys_member_level.go
- sys_member_level_user.go
- sys_menu.go
- sys_message.go
- sys_organization.go
- sys_permission.go
- sys_person_license.go
- sys_role.go
- sys_settings.go
- sys_sms_logs.go
- sys_user.go
- sys_user_detail.go