entity

package
v3.0.0-...-a7c0757 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SysAuthRule

type SysAuthRule struct {
	Id         uint        `json:"id"         description:""`
	Pid        uint        `json:"pid"        description:"父ID"`
	Name       string      `json:"name"       description:"规则名称"`
	Title      string      `json:"title"      description:"规则名称"`
	Icon       string      `json:"icon"       description:"图标"`
	Condition  string      `json:"condition"  description:"条件"`
	Remark     string      `json:"remark"     description:"备注"`
	MenuType   uint        `json:"menuType"   description:"类型 0目录 1菜单 2按钮"`
	Weigh      int         `json:"weigh"      description:"权重"`
	IsHide     uint        `json:"isHide"     description:"显示状态"`
	Path       string      `json:"path"       description:"路由地址"`
	Component  string      `json:"component"  description:"组件路径"`
	IsLink     uint        `json:"isLink"     description:"是否外链 1是 0否"`
	ModuleType string      `json:"moduleType" description:"所属模块"`
	ModelId    uint        `json:"modelId"    description:"模型ID"`
	IsIframe   uint        `json:"isIframe"   description:"是否内嵌iframe"`
	IsCached   uint        `json:"isCached"   description:"是否缓存"`
	Redirect   string      `json:"redirect"   description:"路由重定向地址"`
	IsAffix    uint        `json:"isAffix"    description:"是否固定"`
	LinkUrl    string      `json:"linkUrl"    description:"链接地址"`
	CreatedAt  *gtime.Time `json:"createdAt"  description:"创建日期"`
	UpdatedAt  *gtime.Time `json:"updatedAt"  description:"修改日期"`
}

SysAuthRule is the golang structure for table sys_auth_rule.

type SysDept

type SysDept struct {
	DeptId    uint64      `json:"deptId"    description:"部门id"`
	ParentId  uint64      `json:"parentId"  description:"父部门id"`
	Ancestors string      `json:"ancestors" description:"祖级列表"`
	DeptName  string      `json:"deptName"  description:"部门名称"`
	OrderNum  int         `json:"orderNum"  description:"显示顺序"`
	Leader    string      `json:"leader"    description:"负责人"`
	Phone     string      `json:"phone"     description:"联系电话"`
	Email     string      `json:"email"     description:"邮箱"`
	Status    uint        `json:"status"    description:"部门状态(0正常 1停用)"`
	CreatedBy uint64      `json:"createdBy" description:"创建人"`
	UpdatedBy int64       `json:"updatedBy" description:"修改人"`
	CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
	UpdatedAt *gtime.Time `json:"updatedAt" description:"修改时间"`
	DeletedAt *gtime.Time `json:"deletedAt" description:"删除时间"`
}

SysDept is the golang structure for table sys_dept.

type SysLoginLog

type SysLoginLog struct {
	InfoId        int64       `json:"infoId"        description:"访问ID"`
	LoginName     string      `json:"loginName"     description:"登录账号"`
	Ipaddr        string      `json:"ipaddr"        description:"登录IP地址"`
	LoginLocation string      `json:"loginLocation" description:"登录地点"`
	Browser       string      `json:"browser"       description:"浏览器类型"`
	Os            string      `json:"os"            description:"操作系统"`
	Status        int         `json:"status"        description:"登录状态(0成功 1失败)"`
	Msg           string      `json:"msg"           description:"提示消息"`
	LoginTime     *gtime.Time `json:"loginTime"     description:"登录时间"`
	Module        string      `json:"module"        description:"登录模块"`
}

SysLoginLog is the golang structure for table sys_login_log.

type SysOperLog

type SysOperLog struct {
	OperId        uint64      `json:"operId"        description:"日志主键"`
	Title         string      `json:"title"         description:"模块标题"`
	BusinessType  int         `json:"businessType"  description:"业务类型(0其它 1新增 2修改 3删除)"`
	Method        string      `json:"method"        description:"方法名称"`
	RequestMethod string      `json:"requestMethod" description:"请求方式"`
	OperatorType  int         `json:"operatorType"  description:"操作类别(0其它 1后台用户 2手机端用户)"`
	OperName      string      `json:"operName"      description:"操作人员"`
	DeptName      string      `json:"deptName"      description:"部门名称"`
	OperUrl       string      `json:"operUrl"       description:"请求URL"`
	OperIp        string      `json:"operIp"        description:"主机地址"`
	OperLocation  string      `json:"operLocation"  description:"操作地点"`
	OperParam     string      `json:"operParam"     description:"请求参数"`
	ErrorMsg      string      `json:"errorMsg"      description:"错误消息"`
	OperTime      *gtime.Time `json:"operTime"      description:"操作时间"`
}

SysOperLog is the golang structure for table sys_oper_log.

type SysPost

type SysPost struct {
	PostId    uint64      `json:"postId"    description:"岗位ID"`
	PostCode  string      `json:"postCode"  description:"岗位编码"`
	PostName  string      `json:"postName"  description:"岗位名称"`
	PostSort  int         `json:"postSort"  description:"显示顺序"`
	Status    uint        `json:"status"    description:"状态(0正常 1停用)"`
	Remark    string      `json:"remark"    description:"备注"`
	CreatedBy uint64      `json:"createdBy" description:"创建人"`
	UpdatedBy uint64      `json:"updatedBy" description:"修改人"`
	CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
	UpdatedAt *gtime.Time `json:"updatedAt" description:"修改时间"`
	DeletedAt *gtime.Time `json:"deletedAt" description:"删除时间"`
}

SysPost is the golang structure for table sys_post.

type SysRole

type SysRole struct {
	Id        uint        `json:"id"        description:""`
	Status    uint        `json:"status"    description:"状态;0:禁用;1:正常"`
	ListOrder uint        `json:"listOrder" description:"排序"`
	Name      string      `json:"name"      description:"角色名称"`
	Remark    string      `json:"remark"    description:"备注"`
	DataScope uint        `` /* 155-byte string literal not displayed */
	CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
	UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
}

SysRole is the golang structure for table sys_role.

type SysRoleDept

type SysRoleDept struct {
	RoleId int64 `json:"roleId" description:"角色ID"`
	DeptId int64 `json:"deptId" description:"部门ID"`
}

SysRoleDept is the golang structure for table sys_role_dept.

type SysUser

type SysUser struct {
	Id            uint64      `json:"id"            description:""`
	UserName      string      `json:"userName"      description:"用户名"`
	Mobile        string      `json:"mobile"        description:"中国手机不带国家代码,国际手机号格式为:国家代码-手机号"`
	UserNickname  string      `json:"userNickname"  description:"用户昵称"`
	Birthday      int         `json:"birthday"      description:"生日"`
	UserPassword  string      `json:"userPassword"  description:"登录密码;cmf_password加密"`
	UserSalt      string      `json:"userSalt"      description:"加密盐"`
	UserStatus    uint        `json:"userStatus"    description:"用户状态;0:禁用,1:正常,2:未验证"`
	UserEmail     string      `json:"userEmail"     description:"用户登录邮箱"`
	Sex           int         `json:"sex"           description:"性别;0:保密,1:男,2:女"`
	Avatar        string      `json:"avatar"        description:"用户头像"`
	DeptId        uint64      `json:"deptId"        description:"部门id"`
	Remark        string      `json:"remark"        description:"备注"`
	IsAdmin       int         `json:"isAdmin"       description:"是否后台管理员 1 是  0   否"`
	Address       string      `json:"address"       description:"联系地址"`
	Describe      string      `json:"describe"      description:"描述信息"`
	LastLoginIp   string      `json:"lastLoginIp"   description:"最后登录ip"`
	LastLoginTime *gtime.Time `json:"lastLoginTime" description:"最后登录时间"`
	CreatedAt     *gtime.Time `json:"createdAt"     description:"创建时间"`
	UpdatedAt     *gtime.Time `json:"updatedAt"     description:"更新时间"`
	DeletedAt     *gtime.Time `json:"deletedAt"     description:"删除时间"`
}

SysUser is the golang structure for table sys_user.

type SysUserOnline

type SysUserOnline struct {
	Id         uint64      `json:"id"         description:""`
	Uuid       string      `json:"uuid"       description:"用户标识"`
	Token      string      `json:"token"      description:"用户token"`
	CreateTime *gtime.Time `json:"createTime" description:"登录时间"`
	UserName   string      `json:"userName"   description:"用户名"`
	Ip         string      `json:"ip"         description:"登录ip"`
	Explorer   string      `json:"explorer"   description:"浏览器"`
	Os         string      `json:"os"         description:"操作系统"`
}

SysUserOnline is the golang structure for table sys_user_online.

type SysUserPost

type SysUserPost struct {
	UserId int64 `json:"userId" description:"用户ID"`
	PostId int64 `json:"postId" description:"岗位ID"`
}

SysUserPost is the golang structure for table sys_user_post.

Jump to

Keyboard shortcuts

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