码农笔录博客源码
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.
 
 
 
 
 

16 lines
266 B

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