model

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category struct {
	Id        int
	Name      string
	CreatedAt string
	UpdatedAt string
	Cur       int
}

type Configure

type Configure struct {
	Id    int
	Name  string
	Value string
}

type Page

type Page struct {
	Id      int
	Title   string
	Ident   string
	Content string
}

type Post

type Post struct {
	Id           int
	Title        string
	Views        int
	CreatedAt    time.Time
	UpdatedAt    time.Time
	CategoryId   int
	CategoryName string
	TagIds       []int
	Description  string
	Content      string
	TagNames     []string
	Status       int
}

type Tag

type Tag struct {
	Id        int
	Name      string
	Count     int
	CreatedAt string
	UpdatedAt string
}

type TagPost

type TagPost struct {
	Id     int
	TagId  int
	PostId int
}

type User

type User struct {
	Email    string
	Password string
}

Jump to

Keyboard shortcuts

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