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.
sonic/model/dto/comment.go

21 lines
892 B
Go

package dto
import "github.com/go-sonic/sonic/consts"
type Comment struct {
ID int32 `json:"id"`
Author string `json:"author"`
Email string `json:"email"`
IpAddress string `json:"ipAddress"`
AuthorURL string `json:"authorUrl"`
GravatarMD5 string `json:"gravatarMd5"`
Content string `json:"content"`
Status consts.CommentStatus `json:"status"`
UserAgent string `json:"userAgent"`
ParentID int32 `json:"parentId"`
IsAdmin bool `json:"isAdmin"`
AllowNotification bool `json:"allowNotification"`
CreateTime int64 `json:"createTime"`
Avatar string `json:"avatar"`
}