sys_do

package
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SysArea

type SysArea struct {
	g.Meta        `orm:"table:sys_area, do:true"`
	Id            interface{} // ID
	AreaCode      interface{} // 地区编码
	AreaName      interface{} // 地区名称
	Level         interface{} // 1区县district、2市city、4省份province、8大区region、16全国nation
	CityCode      interface{} // 城市编码
	LatLongCenter interface{} // 城市中心点(即经纬度)
	ParentId      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{} // 审核状态:-1不通过,0待审核,1通过
	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
}

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 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 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{} // 本地路径
}

SysFile is the golang structure of table sys_file 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{} // 邀约码的激活次数限制
	State          interface{} // 状态: 0失效、1正常
	Type           interface{} // 类型: 1注册、2加入团队、4加入角色 (复合类型)
	CreatedAt      *gtime.Time //
}

SysInvite is the golang structure of table sys_invite 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 SysMenu

type SysMenu struct {
	g.Meta       `orm:"table:sys_menu, do:true"`
	Id           interface{} // ID
	Path         interface{} // 路径
	Name         interface{} // 名称
	Redirect     interface{} // 跳转
	Title        interface{} // 标题
	Icon         interface{} // 图标
	Component    interface{} // 组件
	ParentId     interface{} // 所属父级
	Sort         interface{} // 排序
	State        interface{} // 状态:0隐藏,1显示
	Description  interface{} // 描述
	CreatedAt    *gtime.Time //
	UpdatedAt    *gtime.Time //
	IconUrl      interface{} // 图标URL
	RedirectType interface{} // 跳转类型:1当前页面打开、 2新的标签页打开
	Type         interface{} // 类型:1菜单、2按钮
}

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 //
}

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
}

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{} // 邮箱
}

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 // 最后登录时间
}

SysUserDetail is the golang structure of table sys_user_detail for DAO operations like Where/Data.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL