sys_entity

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchemaMigrations

type SchemaMigrations struct {
	Version int64 `json:"version" description:""`
	Dirty   bool  `json:"dirty"   description:""`
}

SchemaMigrations is the golang structure for table schema_migrations.

type SysArea

type SysArea struct {
	Id            int64  `json:"id"            description:"ID"`
	AreaCode      int    `json:"areaCode"      description:"地区编码"`
	AreaName      string `json:"areaName"      description:"地区名称"`
	Level         int    `json:"level"         description:"1:省份province,2:市city,3:区县district,4:街道street"`
	CityCode      string `json:"cityCode"      description:"城市编码"`
	LatLongCenter string `json:"latLongCenter" description:"城市中心点(即经纬度)"`
	ParentId      int64  `json:"parentId"      description:"地区父节点"`
}

SysArea is the golang structure for table sys_area.

type SysCasbin

type SysCasbin struct {
	Ptype string `json:"ptype" description:""`
	V0    string `json:"v0"    description:""`
	V1    string `json:"v1"    description:""`
	V2    string `json:"v2"    description:""`
	V3    string `json:"v3"    description:""`
	V4    string `json:"v4"    description:""`
	V5    string `json:"v5"    description:""`
}

SysCasbin is the golang structure for table sys_casbin.

type SysConfig

type SysConfig struct {
	Name      string      `json:"name"      description:"配置名称"`
	Value     string      `json:"value"     description:"配置信息"`
	CreatedAt *gtime.Time `json:"createdAt" description:""`
	UpdatedAt *gtime.Time `json:"updatedAt" description:""`
}

SysConfig is the golang structure for table sys_config.

type SysFile

type SysFile struct {
	Id        int64       `json:"id"        description:"自增ID"`
	Name      string      `json:"name"      description:"文件名称"`
	Src       string      `json:"src"       description:"存储路径"`
	Url       string      `json:"url"       description:"URL地址"`
	Ext       string      `json:"ext"       description:"扩展名"`
	Size      int64       `json:"size"      description:"文件大小"`
	Category  string      `json:"category"  description:"文件分类"`
	UserId    int64       `json:"userId"    description:"用户ID"`
	LicenseId int64       `json:"licenseId" description:"主体ID"`
	CreatedAt *gtime.Time `json:"createdAt" description:""`
	UpdatedAt *gtime.Time `json:"updatedAt" description:""`
}

SysFile is the golang structure for table sys_file.

type SysLogs

type SysLogs struct {
	Id        int64       `json:"id"        description:"ID"`
	UserId    int64       `json:"userId"    description:"用户UID"`
	Error     string      `json:"error"     description:"错误信息"`
	Category  string      `json:"category"  description:"分类"`
	Level     int         `json:"level"     description:"等级"`
	Content   string      `json:"content"   description:"日志内容"`
	Context   string      `json:"context"   description:"上下文数据"`
	CreatedAt *gtime.Time `json:"createdAt" description:""`
	UpdatedAt *gtime.Time `json:"updatedAt" description:""`
}

SysLogs is the golang structure for table sys_logs.

type SysMenu

type SysMenu struct {
	Id          int64       `json:"id"          description:"ID"`
	Path        string      `json:"path"        description:"路径"`
	Name        string      `json:"name"        description:"名称"`
	Redirect    string      `json:"redirect"    description:"跳转"`
	Title       string      `json:"title"       description:"标题"`
	Icon        string      `json:"icon"        description:"图标"`
	Component   string      `json:"component"   description:"组件"`
	ParentId    int64       `json:"parentId"    description:"所属父级"`
	Sort        int         `json:"sort"        description:"排序"`
	State       int         `json:"state"       description:"状态:0隐藏,1显示"`
	Description string      `json:"description" description:"描述"`
	CreatedAt   *gtime.Time `json:"createdAt"   description:""`
	UpdatedAt   *gtime.Time `json:"updatedAt"   description:""`
}

SysMenu is the golang structure for table sys_menu.

type SysOrganization

type SysOrganization struct {
	Id          int64  `json:"id"          description:""`
	Name        string `json:"name"        description:"名称"`
	ParentId    int64  `json:"parentId"    description:"父级ID"`
	CascadeDeep int    `json:"cascadeDeep" description:"级联深度"`
	Description string `json:"description" description:"描述"`
}

SysOrganization is the golang structure for table sys_organization.

type SysPermission

type SysPermission struct {
	Id          int64       `json:"id"          description:"ID"`
	ParentId    int64       `json:"parentId"    description:"父级ID"`
	Name        string      `json:"name"        description:"名称"`
	Description string      `json:"description" description:"描述"`
	Identifier  string      `json:"identifier"  description:"标识符"`
	Type        int         `json:"type"        description:"类型:1api,2menu"`
	CreatedAt   *gtime.Time `json:"createdAt"   description:""`
	UpdatedAt   *gtime.Time `json:"updatedAt"   description:""`
}

SysPermission is the golang structure for table sys_permission.

type SysRole

type SysRole struct {
	Id          int64       `json:"id"          description:""`
	Name        string      `json:"name"        description:"名称"`
	Description string      `json:"description" description:"描述"`
	IsSystem    bool        `json:"isSystem"    description:"是否默认角色,true仅能修改名称"`
	UpdatedAt   *gtime.Time `json:"updatedAt"   description:""`
	CreatedAt   *gtime.Time `json:"createdAt"   description:""`
}

SysRole is the golang structure for table sys_role.

type SysSmsLogs

type SysSmsLogs struct {
	Id        float64     `json:"id"        description:""`
	Type      string      `json:"type"      description:"短信平台:qyxs:企业信使"`
	Context   string      `json:"context"   description:"短信内容"`
	Mobile    string      `json:"mobile"    description:"手机号"`
	State     string      `json:"state"     description:"发送状态"`
	Result    string      `json:"result"    description:"短信接口返回内容"`
	UserId    int64       `json:"userId"    description:"用户ID"`
	LicenseId int64       `json:"licenseId" description:"主体ID"`
	CreatedAt *gtime.Time `json:"createdAt" description:""`
	UpdatedAt *gtime.Time `json:"updatedAt" description:""`
	DeletedAt *gtime.Time `json:"deletedAt" description:""`
}

SysSmsLogs is the golang structure for table sys_sms_logs.

type SysUser

type SysUser struct {
	Id        int64       `json:"id"        description:""`
	Username  string      `json:"username"  description:"账号"`
	Password  string      `json:"password"  description:"密码"`
	State     int         `json:"state"     description:"状态:0未激活、1正常、-1封号、-2异常、-3已注销"`
	Type      int         `` /* 127-byte string literal not displayed */
	Mobile    string      `json:"mobile"    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.

Jump to

Keyboard shortcuts

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