|
@ -9,7 +9,7 @@ type Note struct { |
|
|
Id int64 |
|
|
Id int64 |
|
|
UserId int64 |
|
|
UserId int64 |
|
|
Title string |
|
|
Title string |
|
|
NoteHtml string `type(text)"` |
|
|
NoteHtml string `orm:"type(text)"` |
|
|
Pid int64 |
|
|
Pid int64 |
|
|
Utime time.Time `orm:"auto_now_add;type(datetime)"` |
|
|
Utime time.Time `orm:"auto_now_add;type(datetime)"` |
|
|
} |
|
|
} |
|
|