mirror of https://github.com/go-sonic/sonic.git
You cannot 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
483 B
Go
17 lines
483 B
Go
package param
|
|
|
|
import "github.com/go-sonic/sonic/consts"
|
|
|
|
type JournalQuery struct {
|
|
Page
|
|
*Sort
|
|
Keyword *string `json:"keyword" form:"keyword"`
|
|
JournalType *consts.JournalType `json:"journalType" form:"journalType"`
|
|
}
|
|
|
|
type Journal struct {
|
|
SourceContent string `json:"sourceContent" form:"sourceContent" binding:"gte=1"`
|
|
Content string `json:"content" form:"content"`
|
|
Type consts.JournalType `json:"type" form:"type"`
|
|
}
|