sys_entity

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: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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区县district、2市city、4省份province、8大区region、16全国nation"`
	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 SysAudit

type SysAudit struct {
	Id             int64       `json:"id"             description:""`
	State          int         `json:"state"          description:"审核状态:-1不通过,0待审核,1通过"`
	Reply          string      `json:"reply"          description:"不通过时回复的审核不通过原因"`
	UnionMainId    int64       `json:"unionMainId"    description:"关联主体ID"`
	Category       int         `json:"category"       description:"业务类别:1个人资质审核、2主体资质审核、4数据审核"`
	AuditData      string      `json:"auditData"      description:"待审核的业务数据包"`
	ExpireAt       *gtime.Time `json:"expireAt"       description:"服务时限"`
	AuditReplyAt   *gtime.Time `json:"auditReplyAt"   description:"审核回复时间"`
	HistoryItems   string      `json:"historyItems"   description:"历史申请记录"`
	CreatedAt      *gtime.Time `json:"createdAt"      description:""`
	AuditUserId    int64       `json:"auditUserId"    description:"审核操作者id"`
	DataIdentifier string      `json:"dataIdentifier" description:"数据标识"`
	UserId         int64       `json:"userId"         description:"关联用户ID"`
}

SysAudit is the golang structure for table sys_audit.

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"`
	UnionMainId int64       `json:"unionMainId" description:"关联主体ID"`
	CreatedAt   *gtime.Time `json:"createdAt"   description:""`
	UpdatedAt   *gtime.Time `json:"updatedAt"   description:""`
	LocalPath   string      `json:"localPath"   description:"本地路径"`
}

SysFile is the golang structure for table sys_file.

type SysIndustry added in v0.7.0

type SysIndustry struct {
	Id           int64       `json:"id"           description:"ID"`
	CategoryId   int64       `json:"categoryId"   description:"行业ID"`
	CategoryName string      `json:"categoryName" description:"行业名称"`
	CategoryDesc string      `json:"categoryDesc" description:"行业描述"`
	Rate         int         `json:"rate"         description:"费率"`
	ParentId     int64       `json:"parentId"     description:"父级ID"`
	Sort         int         `json:"sort"         description:"排序"`
	State        int         `json:"state"        description:"状态:0隐藏,1显示"`
	CreatedAt    *gtime.Time `json:"createdAt"    description:""`
	UpdatedAt    *gtime.Time `json:"updatedAt"    description:""`
	DeletedAt    *gtime.Time `json:"deletedAt"    description:""`
}

SysIndustry is the golang structure for table sys_industry.

type SysInvite added in v0.5.7

type SysInvite struct {
	Id             int64       `json:"id"             description:"ID"`
	UserId         int64       `json:"userId"         description:"用户ID, 也就是邀约人ID"`
	Value          string      `json:"value"          description:"邀约码背后的关联业务Json数据,"`
	ExpireAt       *gtime.Time `json:"expireAt"       description:"邀约码的过期失效"`
	ActivateNumber int         `json:"activateNumber" description:"邀约码的激活次数限制"`
	State          int         `json:"state"          description:"状态: 0失效、1正常"`
	Type           int         `json:"type"           description:"类型: 1注册、2加入团队、4加入角色 (复合类型)"`
	CreatedAt      *gtime.Time `json:"createdAt"      description:""`
}

SysInvite is the golang structure for table sys_invite.

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:""`
	IconUrl      string      `json:"iconUrl"      description:"图标URL"`
	RedirectType int         `json:"redirectType" description:"跳转类型:1当前页面打开、 2新的标签页打开"`
	Type         int         `json:"type"         description:"类型:1菜单、2按钮"`
}

SysMenu is the golang structure for table sys_menu.

type SysMessage added in v0.7.2

type SysMessage struct {
	Id             int64       `json:"id"             description:"ID"`
	Title          string      `json:"title"          description:"标题"`
	Summary        string      `json:"summary"        description:"摘要"`
	Content        string      `json:"content"        description:"内容"`
	Type           int         `json:"type"           description:"消息类型"`
	Link           string      `json:"link"           description:"跳转链接"`
	ToUserIds      string      `json:"toUserIds"      description:"接收者UserIds,允许有多个接收者"`
	ToUserType     int         `json:"toUserType"     description:"接收者类型用户类型,和UserType保持一致"`
	FromUserId     int64       `json:"fromUserId"     description:"发送者ID,为-1代表系统消息"`
	FromUserType   int         `json:"fromUserType"   description:"发送者类型"`
	SendAt         *gtime.Time `json:"sendAt"         description:"发送时间"`
	ExtJson        string      `json:"extJson"        description:"拓展数据Json"`
	ReadUserIds    string      `json:"readUserIds"    description:"已读用户UserIds"`
	DataIdentifier string      `json:"dataIdentifier" description:"关联的数据标识"`
	CreatedAt      *gtime.Time `json:"createdAt"      description:""`
	UpdatedAt      *gtime.Time `json:"updatedAt"      description:""`
	DeletedAt      *gtime.Time `json:"deletedAt"      description:""`
}

SysMessage is the golang structure for table sys_message.

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"`
	MatchMode   int         `json:"matchMode"   description:"匹配模式:ID:0,标识符:1"`
	IsShow      int         `json:"isShow"      description:"是否显示:0不显示 1显示"`
	Sort        int         `json:"sort"        description:"排序"`
	CreatedAt   *gtime.Time `json:"createdAt"   description:""`
	UpdatedAt   *gtime.Time `json:"updatedAt"   description:""`
}

SysPermission is the golang structure for table sys_permission.

type SysPersonLicense added in v0.4.13

type SysPersonLicense struct {
	Id               int64       `json:"id"               description:"ID"`
	IdcardFrontPath  string      `json:"idcardFrontPath"  description:"身份证头像面照片"`
	IdcardBackPath   string      `json:"idcardBackPath"   description:"身份证国徽面照片"`
	No               string      `json:"no"               description:"身份证号"`
	Gender           int         `json:"gender"           description:"性别"`
	Nation           string      `json:"nation"           description:"名族"`
	Name             string      `json:"name"             description:"姓名"`
	Birthday         string      `json:"birthday"         description:"出生日期"`
	Address          string      `json:"address"          description:"家庭住址"`
	IssuingAuthorit  string      `json:"issuingAuthorit"  description:"签发机关"`
	IssuingDate      string      `json:"issuingDate"      description:"签发日期"`
	ExpriyDate       string      `json:"expriyDate"       description:""`
	CreatedAt        *gtime.Time `json:"createdAt"        description:""`
	UpdatedAt        *gtime.Time `json:"updatedAt"        description:""`
	DeletedAt        *gtime.Time `json:"deletedAt"        description:""`
	State            int         `json:"state"            description:"状态:0失效、1正常"`
	AuthType         int         `json:"authType"         description:"认证类型:"`
	Remark           string      `json:"remark"           description:"备注信息"`
	LatestAuditLogId int64       `json:"latestAuditLogId" description:"最新的审核记录id"`
}

SysPersonLicense is the golang structure for table sys_person_license.

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:""`
	UnionMainId int64       `json:"unionMainId" description:"主体id"`
}

SysRole is the golang structure for table sys_role.

type SysSettings added in v0.4.2

type SysSettings struct {
	Name        string      `json:"name"        description:"配置名称"`
	Values      string      `json:"values"      description:"配置信息JSON格式"`
	Desc        string      `json:"desc"        description:"描述"`
	UnionMainId int64       `json:"unionMainId" description:"关联的主体id,为0代表是平台配置"`
	CreatedAt   *gtime.Time `json:"createdAt"   description:""`
	UpdatedAt   *gtime.Time `json:"updatedAt"   description:""`
}

SysSettings is the golang structure for table sys_settings.

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         `` /* 138-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:""`
	Email     string      `json:"email"     description:"邮箱"`
}

SysUser is the golang structure for table sys_user.

type SysUserDetail

type SysUserDetail struct {
	Id            int64       `json:"id"            description:"ID,保持与USERID一致"`
	Realname      string      `json:"realname"      description:"姓名"`
	UnionMainName string      `json:"unionMainName" description:"关联主体名称"`
	LastLoginIp   string      `json:"lastLoginIp"   description:"最后登录IP"`
	LastLoginArea string      `json:"lastLoginArea" description:"最后登录地区"`
	LastLoginAt   *gtime.Time `json:"lastLoginAt"   description:"最后登录时间"`
}

SysUserDetail is the golang structure for table sys_user_detail.

Jump to

Keyboard shortcuts

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