sys_entity

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 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 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:"业务类别"`
	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"`
}

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 SysLicense

type SysLicense struct {
	Id                        int64       `json:"id"                        description:""`
	IdcardFrontPath           string      `json:"idcardFrontPath"           description:"身份证头像面照片"`
	IdcardBackPath            string      `json:"idcardBackPath"            description:"身份证国徽面照片"`
	IdcardNo                  string      `json:"idcardNo"                  description:"身份证号"`
	IdcardExpiredDate         *gtime.Time `json:"idcardExpiredDate"         description:"身份证有效期"`
	IdcardAddress             string      `json:"idcardAddress"             description:"身份证户籍地址"`
	PersonContactName         string      `json:"personContactName"         description:"负责人,必须是自然人"`
	PersonContactMobile       string      `json:"personContactMobile"       description:"负责人,联系电话"`
	BusinessLicenseName       string      `json:"businessLicenseName"       description:"公司全称"`
	BusinessLicenseAddress    string      `json:"businessLicenseAddress"    description:"公司地址"`
	BusinessLicensePath       string      `json:"businessLicensePath"       description:"营业执照图片地址"`
	BusinessLicenseScope      string      `json:"businessLicenseScope"      description:"经营范围"`
	BusinessLicenseRegCapital string      `json:"businessLicenseRegCapital" description:"注册资本"`
	BusinessLicenseTermTime   string      `json:"businessLicenseTermTime"   description:"营业期限"`
	BusinessLicenseOrgCode    string      `json:"businessLicenseOrgCode"    description:"组织机构代码"`
	BusinessLicenseCreditCode string      `json:"businessLicenseCreditCode" description:"统一社会信用代码"`
	BusinessLicenseLegal      string      `json:"businessLicenseLegal"      description:"法人"`
	BusinessLicenseLegalPath  string      `json:"businessLicenseLegalPath"  description:"法人证照,如果法人不是自然人,则该项必填"`
	LatestAuditLogId          int64       `json:"latestAuditLogId"          description:"最新的审核记录ID"`
	State                     int         `json:"state"                     description:""`
	AuthType                  int         `json:"authType"                  description:""`
	Remark                    string      `json:"remark"                    description:""`
	UpdatedAt                 *gtime.Time `json:"updatedAt"                 description:""`
	CreatedAt                 *gtime.Time `json:"createdAt"                 description:""`
	DeletedAt                 *gtime.Time `json:"deletedAt"                 description:""`
}

SysLicense is the golang structure for table sys_license.

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"`
	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 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:""`
}

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