mirror of https://gitee.com/answerdev/answer.git
23 lines
748 B
Go
23 lines
748 B
Go
package schema
|
|
|
|
// SimpleObjectInfo simple object info
|
|
type SimpleObjectInfo struct {
|
|
ObjectID string `json:"object_id"`
|
|
ObjectCreatorUserID string `json:"object_creator_user_id"`
|
|
QuestionID string `json:"question_id"`
|
|
AnswerID string `json:"answer_id"`
|
|
CommentID string `json:"comment_id"`
|
|
TagID string `json:"tag_id"`
|
|
ObjectType string `json:"object_type"`
|
|
Title string `json:"title"`
|
|
Content string `json:"content"`
|
|
}
|
|
|
|
type UnreviewedRevisionInfoInfo struct {
|
|
ObjectID string `json:"object_id"`
|
|
Title string `json:"title"`
|
|
Content string `json:"content"`
|
|
Html string `json:"html"`
|
|
Tags []*TagResp `json:"tags"`
|
|
}
|