Files
TrangleAgent/Backend/internal/model/do/forum_comments.go

27 lines
1.2 KiB
Go
Raw Normal View History

2026-01-18 18:20:40 +08:00
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// ForumComments is the golang structure of table forum_comments for DAO operations like Where/Data.
type ForumComments struct {
g.Meta `orm:"table:forum_comments, do:true"`
Id any // 评论ID主键
UserId any // 评论发布者ID关联users.id无外键
PostId any // 所属帖子ID关联forum_posts.id无外键
ParentId any // 父评论IDNULL=根评论非NULL=回复某条评论)
Content any // 评论内容支持emoji
Status any // 评论状态normal=正常 deleted=软删除 audit=审核中 reject=审核驳回
LikeCount any // 点赞数
ReplyCount any // 回复数(冗余字段)
CreatedAt *gtime.Time // 评论创建时间
UpdatedAt *gtime.Time // 评论更新时间
DeletedAt *gtime.Time // 软删除时间
}