18 lines
576 B
Go
18 lines
576 B
Go
|
|
package response
|
||
|
|
|
||
|
|
import "time"
|
||
|
|
|
||
|
|
type ArticleCommentsResponse struct {
|
||
|
|
ID uint `json:"id"`
|
||
|
|
Message string `json:"message"`
|
||
|
|
ArticleId uint `json:"articleId"`
|
||
|
|
CommentFromId *uint `json:"commentFromId"`
|
||
|
|
CommentFromName *string `json:"commentFromName"`
|
||
|
|
ParentId *int `json:"parentId"`
|
||
|
|
StatusId int `json:"statusId"`
|
||
|
|
IsPublic bool `json:"isPublic"`
|
||
|
|
IsActive bool `json:"isActive"`
|
||
|
|
CreatedAt time.Time `json:"createdAt"`
|
||
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
||
|
|
}
|