background/model/book.go

20 lines
430 B
Go

package model
import (
"time"
)
// Book sss
type Book struct {
ID int64 `sql:"id" json:"id"`
BookName string `sql:"book_name" json:"book_name"`
Author string `sql:"size" json:"size"`
Title string `sql:"title" json:"title"`
Tag string `sql:"tag" json:"json"`
CreateTime time.Time `sql:"create_time" json:"create_time"`
}
// ReadHistory sss
type ReadHistory struct {
ID int64 `sql:"id" json:"id"`
}