entity

package
v0.0.0-...-e2602fe Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 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 Blog

type Blog struct {
	Id       uint        `json:"id"       orm:"id"        description:"Blog ID"`
	Title    string      `json:"title"    orm:"title"     description:"Title"`
	Content  string      `json:"content"  orm:"content"   description:"Content"`
	Nickname string      `json:"nickname" orm:"nickname"  description:"Nickname"`
	CreateAt *gtime.Time `json:"createAt" orm:"create_at" description:"Created Time"`
	UpdateAt *gtime.Time `json:"updateAt" orm:"update_at" description:"Updated Time"`
	DeleteAt *gtime.Time `json:"deleteAt" orm:"delete_at" description:"Deleted Time"`
}

Blog is the golang structure for table blog.

type Stats

type Stats struct {
	Id       uint        `json:"id"       orm:"id"        description:"Blog ID"`
	Nickname string      `json:"nickname" orm:"nickname"  description:"Nickname"`
	BlogCnt  uint        `json:"blogCnt"  orm:"blog_cnt"  description:"Blog Count"`
	CreateAt *gtime.Time `json:"createAt" orm:"create_at" description:"Created Time"`
	UpdateAt *gtime.Time `json:"updateAt" orm:"update_at" description:"Updated Time"`
	DeleteAt *gtime.Time `json:"deleteAt" orm:"delete_at" description:"Deleted Time"`
}

Stats is the golang structure for table stats.

Jump to

Keyboard shortcuts

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