answer/internal/schema/simple_obj_info_schema.go

23 lines
748 B
Go
Raw Permalink Normal View History

2022-09-27 17:59:05 +08:00
package schema
// SimpleObjectInfo simple object info
type SimpleObjectInfo struct {
2022-11-24 16:11:43 +08:00
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"`
2022-09-27 17:59:05 +08:00
}
2022-11-23 18:10:34 +08:00
type UnreviewedRevisionInfoInfo struct {
ObjectID string `json:"object_id"`
Title string `json:"title"`
Content string `json:"content"`
Html string `json:"html"`
Tags []*TagResp `json:"tags"`
}