model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Article

type Article struct {
	Id         int       `json:"id" xorm:"pk autoincr"`      //id
	CreateTime time.Time `json:"create_time" xorm:"created"` //创建时间
	UpdateTime time.Time `json:"update_time" xorm:"updated"` //创建时间
	Type       int       `json:"type"`                       //创建时间
	Name       string    `json:"name"`                       //创建时间
}

article 文章

func (*Article) TableName

func (t *Article) TableName() string

Source Files

  • Article.go

Jump to

Keyboard shortcuts

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