码农笔录博客源码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 rivejä
266 B

6 vuotta sitten
package models
6 vuotta sitten
import "time"
/**
笔记
*/
6 vuotta sitten
type Note struct {
6 vuotta sitten
Id int64
UserId int64
Title string
6 vuotta sitten
NoteHtml string `orm:"type(text)"`
NoteVal string `orm:"type(text)"`
6 vuotta sitten
Pid int64
Utime time.Time `orm:"auto_now_add;type(datetime)"`
}