entity

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PushChannel

type PushChannel struct {
	Id        int         `json:"id"        orm:"id"         description:""`
	Name      string      `json:"name"      orm:"name"       description:""`
	Type      string      `json:"type"      orm:"type"       description:""`
	Status    int         `json:"status"    orm:"status"     description:""`
	Url       string      `json:"url"       orm:"url"        description:""`
	Remark    string      `json:"remark"    orm:"remark"     description:""`
	CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
	UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
}

PushChannel is the golang structure for table push_channel.

type PushChannelEmail

type PushChannelEmail struct {
	Id        int         `json:"id"        orm:"id"         description:""`
	ChannelId int         `json:"channelId" orm:"channel_id" description:""`
	Sender    string      `json:"sender"    orm:"sender"     description:""`
	Receiver  string      `json:"receiver"  orm:"receiver"   description:""`
	Server    string      `json:"server"    orm:"server"     description:""`
	Port      int         `json:"port"      orm:"port"       description:""`
	AuthCode  string      `json:"authCode"  orm:"auth_code"  description:""`
	CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
	UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
}

PushChannelEmail is the golang structure for table push_channel_email.

type SysLogs

type SysLogs struct {
	Id        int         `json:"id"        orm:"id"         description:""`
	Type      int         `json:"type"      orm:"type"       description:""`
	Content   string      `json:"content"   orm:"content"    description:""`
	Status    int         `json:"status"    orm:"status"     description:""`
	CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
}

SysLogs is the golang structure for table sys_logs.

type SysNotify added in v0.0.2

type SysNotify struct {
	Id        int         `json:"id"        orm:"id"         description:""`
	Title     string      `json:"title"     orm:"title"      description:""`
	Content   string      `json:"content"   orm:"content"    description:""`
	Level     string      `json:"level"     orm:"level"      description:""`
	Status    int         `json:"status"    orm:"status"     description:""`
	CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
	UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
}

SysNotify is the golang structure for table sys_notify.

Jump to

Keyboard shortcuts

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