sys_entity

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 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 SysAnnouncement added in v0.8.23

type SysAnnouncement struct {
	Id              int64       `json:"id"              orm:"id"               description:""`
	Title           string      `json:"title"           orm:"title"            description:"公告标题"`
	UnionMainId     int64       `json:"unionMainId"     orm:"union_main_id"    description:"发布主体,0值则代表平台发布的公告"`
	PublicAt        *gtime.Time `json:"publicAt"        orm:"public_at"        description:"公示时间,只有到了公示时间用户才可见"`
	Body            string      `json:"body"            orm:"body"             description:"公告正文"`
	UserTypeScope   int         `json:"userTypeScope"   orm:"user_type_scope"  description:"受众用户类型:0则所有,复合类型"`
	ExpireAt        *gtime.Time `json:"expireAt"        orm:"expire_at"        description:"过期时间,过期后前端用户不可见"`
	State           int         `` /* 129-byte string literal not displayed */
	CreatedAt       *gtime.Time `json:"createdAt"       orm:"created_at"       description:""`
	UpdatedAt       *gtime.Time `json:"updatedAt"       orm:"updated_at"       description:""`
	CreatedBy       int64       `json:"createdBy"       orm:"created_by"       description:"创建用户"`
	UpdatedBy       int64       `json:"updatedBy"       orm:"updated_by"       description:"最后修改用户"`
	DeletedAt       *gtime.Time `json:"deletedAt"       orm:"deleted_at"       description:""`
	DeletedBy       int64       `json:"deletedBy"       orm:"deleted_by"       description:""`
	ExtDataJson     string      `json:"extDataJson"     orm:"ext_data_json"    description:"扩展json数据"`
	CategoryId      int64       `json:"categoryId"      orm:"category_id"      description:"公告分类ID"`
	Priority        int         `json:"priority"        orm:"priority"         description:"优先级:1普通、2重要、3紧急"`
	IsPinned        int         `json:"isPinned"        orm:"is_pinned"        description:"是否置顶:0否、1是"`
	IsForceRead     int         `json:"isForceRead"     orm:"is_force_read"    description:"是否强制阅读:0否、1是"`
	Tags            string      `json:"tags"            orm:"tags"             description:"公告标签,多个用逗号分隔"`
	ReadCount       int64       `json:"readCount"       orm:"read_count"       description:"阅读次数"`
	ConfirmRequired int         `json:"confirmRequired" orm:"confirm_required" description:"是否需要确认:0否、1是"`
}

SysAnnouncement is the golang structure for table sys_announcement.

type SysAnnouncementCategory added in v0.10.5

type SysAnnouncementCategory struct {
	Id          int64       `json:"id"          orm:"id"            description:""`
	Name        string      `json:"name"        orm:"name"          description:"分类名称"`
	Code        string      `json:"code"        orm:"code"          description:"分类编码"`
	UnionMainId int64       `json:"unionMainId" orm:"union_main_id" description:"所属主体ID"`
	Sort        int         `json:"sort"        orm:"sort"          description:"排序"`
	Description string      `json:"description" orm:"description"   description:"描述"`
	CreatedAt   *gtime.Time `json:"createdAt"   orm:"created_at"    description:""`
	UpdatedAt   *gtime.Time `json:"updatedAt"   orm:"updated_at"    description:""`
	CreatedBy   int64       `json:"createdBy"   orm:"created_by"    description:""`
	UpdatedBy   int64       `json:"updatedBy"   orm:"updated_by"    description:""`
	DeletedAt   *gtime.Time `json:"deletedAt"   orm:"deleted_at"    description:""`
	DeletedBy   int64       `json:"deletedBy"   orm:"deleted_by"    description:""`
}

SysAnnouncementCategory is the golang structure for table sys_announcement_category.

type SysAnnouncementConfirm added in v0.10.5

type SysAnnouncementConfirm struct {
	Id             int64       `json:"id"             orm:"id"              description:""`
	UserId         int64       `json:"userId"         orm:"user_id"         description:"用户ID"`
	AnnouncementId int64       `json:"announcementId" orm:"announcement_id" description:"公告ID"`
	ConfirmAt      *gtime.Time `json:"confirmAt"      orm:"confirm_at"      description:"确认时间"`
	ConfirmComment string      `json:"confirmComment" orm:"confirm_comment" description:"确认备注"`
	CreatedAt      *gtime.Time `json:"createdAt"      orm:"created_at"      description:""`
	UpdatedAt      *gtime.Time `json:"updatedAt"      orm:"updated_at"      description:""`
	CreatedBy      int64       `json:"createdBy"      orm:"created_by"      description:""`
	UpdatedBy      int64       `json:"updatedBy"      orm:"updated_by"      description:""`
	DeletedAt      *gtime.Time `json:"deletedAt"      orm:"deleted_at"      description:""`
	DeletedBy      int64       `json:"deletedBy"      orm:"deleted_by"      description:""`
}

SysAnnouncementConfirm is the golang structure for table sys_announcement_confirm.

type SysAnnouncementReadUser added in v0.8.23

type SysAnnouncementReadUser struct {
	Id                 int64       `json:"id"                 orm:"id"                   description:"ID"`
	UserId             int64       `json:"userId"             orm:"user_id"              description:"用户ID"`
	ReadAnnouncementId string      `json:"readAnnouncementId" orm:"read_announcement_id" description:"用户已阅读的公告id"`
	ReadAt             *gtime.Time `json:"readAt"             orm:"read_at"              description:"用户阅读时间"`
	ExtDataJson        string      `json:"extDataJson"        orm:"ext_data_json"        description:"扩展数据Json,由业务端决定用途"`
	FlagRead           int         `` /* 245-byte string literal not displayed */
}

SysAnnouncementReadUser is the golang structure for table sys_announcement_read_user.

type SysArea

type SysArea struct {
	Id            int64  `json:"id"            orm:"id"              description:"ID"`
	AreaCode      int    `json:"areaCode"      orm:"area_code"       description:"地区编码"`
	AreaName      string `json:"areaName"      orm:"area_name"       description:"地区名称"`
	Level         int    `` /* 151-byte string literal not displayed */
	CityCode      string `json:"cityCode"      orm:"city_code"       description:"城市编码"`
	LongLatCenter string `json:"longLatCenter" orm:"long_lat_center" description:"城市中心点(即经纬度)"`
	ParentId      int64  `json:"parentId"      orm:"parent_id"       description:"地区父节点"`
	PinYin        string `json:"pinYin"        orm:"pin_yin"         description:"地区拼音"`
}

SysArea is the golang structure for table sys_area.

type SysAudit

type SysAudit struct {
	Id             int64       `json:"id"             orm:"id"              description:""`
	State          int         `` /* 189-byte string literal not displayed */
	Reply          string      `json:"reply"          orm:"reply"           description:"不通过时回复的审核不通过原因"`
	UnionMainId    int64       `json:"unionMainId"    orm:"union_main_id"   description:"关联主体ID"`
	Category       int         `` /* 130-byte string literal not displayed */
	AuditData      string      `json:"auditData"      orm:"audit_data"      description:"待审核的业务数据包"`
	ExpireAt       *gtime.Time `json:"expireAt"       orm:"expire_at"       description:"服务时限"`
	AuditReplyAt   *gtime.Time `json:"auditReplyAt"   orm:"audit_reply_at"  description:"审核回复时间"`
	HistoryItems   string      `json:"historyItems"   orm:"history_Items"   description:"历史申请记录"`
	CreatedAt      *gtime.Time `json:"createdAt"      orm:"created_at"      description:""`
	AuditUserId    int64       `json:"auditUserId"    orm:"audit_user_id"   description:"审核操作者id"`
	DataIdentifier string      `json:"dataIdentifier" orm:"data_identifier" description:"数据标识"`
	UserId         int64       `json:"userId"         orm:"user_id"         description:"关联用户ID"`
	Summary        string      `json:"summary"        orm:"summary"         description:"概述"`
	AuditGroup     string      `json:"auditGroup"     orm:"audit_group"     description:"审核分组"`
}

SysAudit is the golang structure for table sys_audit.

type SysCasbin

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

SysCasbin is the golang structure for table sys_casbin.

type SysCategory added in v0.8.29

type SysCategory struct {
	Id          int64       `json:"id"          orm:"id"            description:""`
	Name        string      `json:"name"        orm:"name"          description:"名称"`
	ParentId    int64       `json:"parentId"    orm:"parent_id"     description:"父级ID"`
	PicturePath string      `json:"picturePath" orm:"picture_path"  description:"分类图片"`
	Hidden      int         `json:"hidden"      orm:"hidden"        description:"是否隐藏"`
	Sort        int         `json:"sort"        orm:"sort"          description:"顺序"`
	UnionMainId int64       `json:"unionMainId" orm:"union_main_id" description:"关联主体ID(保留字段)"`
	Type        int         `json:"type"        orm:"type"          description:"0全局;1商品分类;2资讯分类"`
	Description string      `json:"description" orm:"description"   description:""`
	UpdatedAt   *gtime.Time `json:"updatedAt"   orm:"updated_at"    description:""`
	CreatedAt   *gtime.Time `json:"createdAt"   orm:"created_at"    description:""`
}

SysCategory is the golang structure for table sys_category.

type SysComment added in v0.10.0

type SysComment struct {
	Id            int64       `json:"id"            orm:"id"              description:"ID"`
	UserId        int64       `json:"userId"        orm:"user_id"         description:"用户ID"`
	UnionMainId   int64       `json:"unionMainId"   orm:"union_main_id"   description:"关联主体ID"`
	UnionMainType int         `json:"unionMainType" orm:"union_main_type" description:"关联主体类型"`
	Body          string      `json:"body"          orm:"body"            description:"图文评论"`
	MediaIds      string      `json:"mediaIds"      orm:"media_ids"       description:"媒体资源:图文、视频等"`
	ReplyId       int64       `json:"replyId"       orm:"reply_id"        description:"评论回复信息ID,即关联父级评论ID"`
	Score         int         `json:"score"         orm:"score"           description:"评分0-5,间隔0.1"`
	CreatedAt     *gtime.Time `json:"createdAt"     orm:"created_at"      description:"评论发表时间"`
	UnionId       int64       `json:"unionId"       orm:"union_id"        description:"关联业务ID"`
}

SysComment is the golang structure for table sys_comment.

type SysConfig

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

SysConfig is the golang structure for table sys_config.

type SysDelivery added in v0.10.10

type SysDelivery struct {
	Id                       int64       `json:"id"                       orm:"id"                          description:""`
	Name                     string      `json:"name"                     orm:"name"                        description:"物流公司"`
	Site                     string      `json:"site"                     orm:"site"                        description:"网址"`
	ExpressNo                string      `json:"expressNo"                orm:"express_no"                  description:"物流跟踪编号"`
	ExpressNoElectronicSheet string      `json:"expressNoElectronicSheet" orm:"express_no_electronic_sheet" description:"电子面单编号"`
	PrintStyleJson           string      `json:"printStyleJson"           orm:"print_style_json"            description:"打印模板样式"`
	ExpTypeJson              string      `json:"expTypeJson"              orm:"exp_type_json"               description:"业务类型"`
	UpdatedAt                *gtime.Time `json:"updatedAt"                orm:"updated_at"                  description:""`
	CreatedAt                *gtime.Time `json:"createdAt"                orm:"created_at"                  description:""`
}

SysDelivery is the golang structure for table sys_delivery.

type SysDeliveryCompany added in v0.10.0

type SysDeliveryCompany struct {
	Id                       int64       `json:"id"                       orm:"id"                          description:""`
	Name                     string      `json:"name"                     orm:"name"                        description:"物流公司"`
	Site                     string      `json:"site"                     orm:"site"                        description:"网址"`
	ExpressNo                string      `json:"expressNo"                orm:"express_no"                  description:"物流跟踪编号"`
	ExpressNoElectronicSheet string      `json:"expressNoElectronicSheet" orm:"express_no_electronic_sheet" description:"电子面单编号"`
	PrintStyleJson           string      `json:"printStyleJson"           orm:"print_style_json"            description:"打印模板样式"`
	ExpTypeJson              string      `json:"expTypeJson"              orm:"exp_type_json"               description:"业务类型"`
	UpdatedAt                *gtime.Time `json:"updatedAt"                orm:"updated_at"                  description:""`
	CreatedAt                *gtime.Time `json:"createdAt"                orm:"created_at"                  description:""`
}

SysDeliveryCompany is the golang structure for table sys_delivery_company.

type SysFile

type SysFile struct {
	Id             int64       `json:"id"             orm:"id"              description:"自增ID"`
	Name           string      `json:"name"           orm:"name"            description:"文件名称"`
	Src            string      `json:"src"            orm:"src"             description:"存储路径"`
	Url            string      `json:"url"            orm:"url"             description:"URL地址"`
	Ext            string      `json:"ext"            orm:"ext"             description:"扩展名"`
	Size           int64       `json:"size"           orm:"size"            description:"文件大小"`
	Category       string      `json:"category"       orm:"category"        description:"文件分类"`
	UserId         int64       `json:"userId"         orm:"user_id"         description:"用户ID"`
	UnionMainId    int64       `json:"unionMainId"    orm:"union_main_id"   description:"关联主体ID"`
	CreatedAt      *gtime.Time `json:"createdAt"      orm:"created_at"      description:""`
	UpdatedAt      *gtime.Time `json:"updatedAt"      orm:"updated_at"      description:""`
	LocalPath      string      `json:"localPath"      orm:"local_path"      description:"本地路径"`
	AllowAnonymous int         `json:"allowAnonymous" orm:"allow_anonymous" description:"是否允许匿名访问"`
}

SysFile is the golang structure for table sys_file.

type SysFrontSettings added in v0.8.17

type SysFrontSettings struct {
	Name        string      `json:"name"        orm:"name"          description:"配置名称"`
	Values      string      `json:"values"      orm:"values"        description:"配置信息JSON格式"`
	Desc        string      `json:"desc"        orm:"desc"          description:"描述"`
	UnionMainId int64       `json:"unionMainId" orm:"union_main_id" description:"关联的主体id,为0代表是平台配置"`
	UserId      int64       `json:"userId"      orm:"user_id"       description:"关联的用户id,为0代表平台配置"`
	CreatedAt   *gtime.Time `json:"createdAt"   orm:"created_at"    description:""`
	UpdatedAt   *gtime.Time `json:"updatedAt"   orm:"updated_at"    description:""`
	Version     string      `json:"version"     orm:"version"       description:"版本"`
	Sys         int         `` /* 136-byte string literal not displayed */
}

SysFrontSettings is the golang structure for table sys_front_settings.

type SysIndustry added in v0.7.0

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

SysIndustry is the golang structure for table sys_industry.

type SysInvite added in v0.5.7

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

SysInvite is the golang structure for table sys_invite.

type SysInvitePerson added in v0.11.0

type SysInvitePerson struct {
	Id                      int64       `json:"id"                      orm:"id"                        description:"ID"`
	FormUserId              int64       `json:"formUserId"              orm:"form_user_id"              description:"邀请人"`
	ByUserId                int64       `json:"byUserId"                orm:"by_user_id"                description:"被邀请人"`
	InviteCode              string      `json:"inviteCode"              orm:"invite_code"               description:"邀请码"`
	InviteAt                *gtime.Time `json:"inviteAt"                orm:"invite_at"                 description:"邀请时间"`
	UserIdentifierPrefix    string      `json:"userIdentifierPrefix"    orm:"user_identifier_prefix"    description:"用户标识符前缀"`
	CompanyIdentifierPrefix string      `json:"companyIdentifierPrefix" orm:"company_identifier_prefix" description:"公司标识符前缀"`
	InviteId                int64       `json:"inviteId"                orm:"invite_id"                 description:"邀请码ID,来自sys_invite 表"`
}

SysInvitePerson is the golang structure for table sys_invite_person.

type SysLogs

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

SysLogs is the golang structure for table sys_logs.

type SysMemberLevel added in v0.8.20

type SysMemberLevel struct {
	Id          int64       `json:"id"          orm:"id"            description:"ID"`
	Name        string      `json:"name"        orm:"name"          description:"名称"`
	Desc        string      `json:"desc"        orm:"desc"          description:"描述"`
	Identifier  string      `json:"identifier"  orm:"identifier"    description:"级别标识符"`
	CreatedAt   *gtime.Time `json:"createdAt"   orm:"created_at"    description:""`
	UpdatedAt   *gtime.Time `json:"updatedAt"   orm:"updated_at"    description:""`
	CreatedBy   int64       `json:"createdBy"   orm:"created_by"    description:""`
	UnionMainId int64       `json:"unionMainId" orm:"union_main_id" description:""`
	Level       int         `json:"level"       orm:"level"         description:"权益级别,要遵循数值越大,权益越多"`
}

SysMemberLevel is the golang structure for table sys_member_level.

type SysMemberLevelUser added in v0.8.20

type SysMemberLevelUser struct {
	Id               int64 `json:"id"               orm:"id"                  description:"ID"`
	UserId           int64 `json:"userId"           orm:"user_id"             description:"用户ID"`
	ExtMemberLevelId int64 `json:"extMemberLevelId" orm:"ext_member_level_id" description:"会员级别"`
	UnionMainId      int64 `json:"unionMainId"      orm:"union_main_id"       description:"保留字段"`
}

SysMemberLevelUser is the golang structure for table sys_member_level_user.

type SysMenu

type SysMenu struct {
	Id                   int64       `json:"id"                   orm:"id"                      description:"ID"`
	Path                 string      `json:"path"                 orm:"path"                    description:"路径"`
	Name                 string      `json:"name"                 orm:"name"                    description:"名称"`
	SortTitle            string      `json:"sortTitle"            orm:"sort_title"              description:"简称"`
	I18NKey              string      `json:"i18NKey"              orm:"i18n_key"                description:"国际化Key"`
	Redirect             string      `json:"redirect"             orm:"redirect"                description:"跳转"`
	Title                string      `json:"title"                orm:"title"                   description:"标题"`
	Icon                 string      `json:"icon"                 orm:"icon"                    description:"图标"`
	Layout               string      `json:"layout"               orm:"layout"                  description:"布局"`
	Component            string      `json:"component"            orm:"component"               description:"组件"`
	ParentId             int64       `json:"parentId"             orm:"parent_id"               description:"所属父级"`
	Sort                 int         `json:"sort"                 orm:"sort"                    description:"排序"`
	State                int         `json:"state"                orm:"state"                   description:"状态:1启用,0禁用"`
	Hidden               int         `json:"hidden"               orm:"hidden"                  description:"是否隐藏:1是,0否"`
	Description          string      `json:"description"          orm:"description"             description:"描述"`
	IconUrl              string      `json:"iconUrl"              orm:"icon_url"                description:"图标URL"`
	RedirectType         int         `` /* 132-byte string literal not displayed */
	Type                 int         `json:"type"                 orm:"type"                    description:"类型:1菜单、2按钮"`
	DepPermissionIds     string      `json:"depPermissionIds"     orm:"dep_permission_ids"      description:"依赖权限Ids"`
	LimitHiddenRoleIds   string      `json:"limitHiddenRoleIds"   orm:"limit_hidden_role_ids"   description:"限定不可见的角色"`
	LimitHiddenUserIds   string      `json:"limitHiddenUserIds"   orm:"limit_hidden_user_ids"   description:"限定不可见的用户"`
	LimitHiddenUserTypes string      `json:"limitHiddenUserTypes" orm:"limit_hidden_user_types" description:"限定不可见的用户类型"`
	CreatedAt            *gtime.Time `json:"createdAt"            orm:"created_at"              description:""`
	UpdatedAt            *gtime.Time `json:"updatedAt"            orm:"updated_at"              description:""`
}

SysMenu is the golang structure for table sys_menu.

type SysMessage added in v0.7.2

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

SysMessage is the golang structure for table sys_message.

type SysOrganization

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

SysOrganization is the golang structure for table sys_organization.

type SysPermission

type SysPermission struct {
	Id          int64       `json:"id"          orm:"id"          description:"ID"`
	ParentId    int64       `json:"parentId"    orm:"parent_id"   description:"父级ID"`
	Name        string      `json:"name"        orm:"name"        description:"名称"`
	Description string      `json:"description" orm:"description" description:"描述"`
	Identifier  string      `json:"identifier"  orm:"identifier"  description:"标识符"`
	Type        int         `json:"type"        orm:"type"        description:"类型:1api,2menu"`
	MatchMode   int         `json:"matchMode"   orm:"match_mode"  description:"匹配模式:ID:0,标识符:1"`
	IsShow      int         `json:"isShow"      orm:"is_show"     description:"是否显示:0不显示 1显示"`
	Sort        int         `json:"sort"        orm:"sort"        description:"排序"`
	CreatedAt   *gtime.Time `json:"createdAt"   orm:"created_at"  description:""`
	UpdatedAt   *gtime.Time `json:"updatedAt"   orm:"updated_at"  description:""`
}

SysPermission is the golang structure for table sys_permission.

type SysPersonLicense added in v0.4.13

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

SysPersonLicense is the golang structure for table sys_person_license.

type SysRole

type SysRole struct {
	Id          int64       `json:"id"          orm:"id"            description:""`
	Name        string      `json:"name"        orm:"name"          description:"名称"`
	Description string      `json:"description" orm:"description"   description:"描述"`
	IsSystem    bool        `json:"isSystem"    orm:"is_system"     description:"是否默认角色,true仅能修改名称,不允许删除和修改"`
	UpdatedAt   *gtime.Time `json:"updatedAt"   orm:"updated_at"    description:""`
	CreatedAt   *gtime.Time `json:"createdAt"   orm:"created_at"    description:""`
	UnionMainId int64       `json:"unionMainId" orm:"union_main_id" 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"        orm:"name"          description:"配置名称"`
	Values      string      `json:"values"      orm:"values"        description:"配置信息JSON格式"`
	Desc        string      `json:"desc"        orm:"desc"          description:"描述"`
	UnionMainId int64       `json:"unionMainId" orm:"union_main_id" description:"关联的主体id,为0代表是平台配置"`
	CreatedAt   *gtime.Time `json:"createdAt"   orm:"created_at"    description:""`
	UpdatedAt   *gtime.Time `json:"updatedAt"   orm:"updated_at"    description:""`
}

SysSettings is the golang structure for table sys_settings.

type SysSmsLogs

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

SysSmsLogs is the golang structure for table sys_sms_logs.

type SysUser

type SysUser struct {
	Id         int64       `json:"id"         orm:"id"          description:""`
	Username   string      `json:"username"   orm:"username"    description:"账号"`
	Password   string      `json:"password"   orm:"password"    description:"密码"`
	State      int         `json:"state"      orm:"state"       description:"状态:0未激活、1正常、-1封号、-2异常、-3已注销"`
	Type       int         `` /* 157-byte string literal not displayed */
	Mobile     string      `json:"mobile"     orm:"mobile"      description:"手机号"`
	CreatedAt  *gtime.Time `json:"createdAt"  orm:"created_at"  description:""`
	UpdatedAt  *gtime.Time `json:"updatedAt"  orm:"updated_at"  description:""`
	DeletedAt  *gtime.Time `json:"deletedAt"  orm:"deleted_at"  description:""`
	Email      string      `json:"email"      orm:"email"       description:"邮箱"`
	InviteCode string      `json:"inviteCode" orm:"invite_code" description:"邀请码,代表通过这个邀请码注册"`
}

SysUser is the golang structure for table sys_user.

type SysUserDetail

type SysUserDetail struct {
	Id              int64       `json:"id"              orm:"id"                description:"ID,保持与USERID一致"`
	Realname        string      `json:"realname"        orm:"realname"          description:"姓名"`
	UnionMainName   string      `json:"unionMainName"   orm:"union_main_name"   description:"关联主体名称"`
	LastLoginIp     string      `json:"lastLoginIp"     orm:"last_login_ip"     description:"最后登录IP"`
	LastLoginArea   string      `json:"lastLoginArea"   orm:"last_login_area"   description:"最后登录地区"`
	LastLoginAt     *gtime.Time `json:"lastLoginAt"     orm:"last_login_at"     description:"最后登录时间"`
	LastHeartbeatAt *gtime.Time `json:"lastHeartbeatAt" orm:"last_heartbeat_at" 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