/
FindDatas.go
31 lines (29 loc) · 978 Bytes
/
FindDatas.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package models
type FindActivityData struct {
Title string `json:"title"`
Content string `json:"content"`
Image string `json:"image"`
}
type UserCommentData struct {
ID int `json:"id"`
CommentTime string `json:"commentTime"`
UserName string `json:"userName"`
CommentTitle string `json:"commentTitle"`
ComemntContent string `json:"commentContent"`
UserID int `json:"userID"`
IsLike string `json:"isLike"`
IsFollow string `json:"isFollow"`
IsCollect string `json:"isCollect"`
LikeNum int `json:"likeNum"`
ReplyNum int `json:"replyNum"`
ImageURL string `json:"imageUrl"`
Location string `json:"location"`
}
type ReplyInformation struct {
ID int `json:"id"`
ReplyTime string `json:"replyTime"`
CommentID int `json:"commentID"`
UserID int `json:"userID"`
UserName string `json:"userName"`
ReplyContent string `json:"replyContent"`
}