码农笔录博客源码
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 lines
266 B

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