do

package
v0.0.0-...-b8a661c Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	g.Meta    `orm:"table:admin, do:true"`
	Id        interface{} //
	Username  interface{} // 用户名
	Password  interface{} // 密码
	Nickname  interface{} // 昵称
	Avatar    interface{} // 头像,base64
	Register  *gtime.Time // 注册时间
	Salt      interface{} // 随机盐值
	LastLogin *gtime.Time // 最后登录时间
}

Admin is the golang structure of table admin for DAO operations like Where/Data.

type Article

type Article struct {
	g.Meta      `orm:"table:article, do:true"`
	Id          interface{} //
	GrpId       interface{} // 分组id
	Title       interface{} // 标题
	Author      interface{} // 作者
	Thumb       interface{} // 图片地址
	Tags        interface{} // 标签,依英文逗号隔开
	Description interface{} // 简介
	Content     interface{} // 内容
	Order       interface{} // 排序,越大越靠前
	Ontop       interface{} // 是否置顶
	Onshow      interface{} // 是否显示
	Hist        interface{} // 点击数
	Post        interface{} // 评论数
	CreatedAt   *gtime.Time // 创建时间
	UpdatedAt   *gtime.Time // 更新时间
	DeletedAt   *gtime.Time // 删除时间
	LastedAt    *gtime.Time // 最后浏览时间
}

Article is the golang structure of table article for DAO operations like Where/Data.

type ArticleGrp

type ArticleGrp struct {
	g.Meta      `orm:"table:article_grp, do:true"`
	Id          interface{} //
	Name        interface{} // 名称
	Tags        interface{} // 标签,依英文逗号隔开
	Description interface{} // 简介
	Onshow      interface{} // 是否显示
	Order       interface{} // 排序,越大越靠前
}

ArticleGrp is the golang structure of table article_grp for DAO operations like Where/Data.

type Link struct {
	g.Meta      `orm:"table:link, do:true"`
	Id          interface{} //
	Name        interface{} // 名称
	Description interface{} // 描述
	Link        interface{} // 链接
}

Link is the golang structure of table link for DAO operations like Where/Data.

type Reading

type Reading struct {
	g.Meta     `orm:"table:reading, do:true"`
	Id         interface{} //
	Name       interface{} // 书名
	Author     interface{} // 作者
	Status     interface{} // 状态: 1完结 2在读 3弃读
	FinishedAt *gtime.Time // 读完时间
}

Reading is the golang structure of table reading for DAO operations like Where/Data.

type Reply

type Reply struct {
	g.Meta    `orm:"table:reply, do:true"`
	Id        interface{} //
	Aid       interface{} // 文章id
	Rid       interface{} // 根回复id,一个根可视为一个楼层
	Pid       interface{} // 回复的id
	PName     interface{} // 回复的名称
	Email     interface{} // 回复人邮箱
	Name      interface{} // 回复人名称
	Site      interface{} // 回复人网站
	Content   interface{} // 回复内容
	Status    interface{} // 状态: 1待审核 2审核通过 3审核失败
	Reason    interface{} // 审核失败原因
	CreatedAt *gtime.Time // 创建时间
	UpdatedAt *gtime.Time // 更新时间
	DeletedAt *gtime.Time // 删除时间
}

Reply is the golang structure of table reply for DAO operations like Where/Data.

type Saying

type Saying struct {
	g.Meta `orm:"table:saying, do:true"`
	Id     interface{} //
	Saying interface{} //
	Author interface{} //
	Source interface{} //
}

Saying is the golang structure of table saying for DAO operations like Where/Data.

Jump to

Keyboard shortcuts

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