MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / Comment

Struct Comment

internal/domain/comment.go:3–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package domain
2
3type Comment struct {
4 Id int64
5 UserId int64
6 Biz string
7 BizId int64
8 PostId int64
9 Content string
10 RootComment *Comment // 根节点
11 ParentComment *Comment // 父节点
12 Children []Comment // 子节点
13 CreatedAt int64
14 UpdatedAt int64
15 Status uint8 // 评论的审核状态
16}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected