Files
TrangleAgent/Backend/internal/model/do/forum_comments.go
2026-02-05 22:03:29 +08:00

27 lines
1.2 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// =================================================================================
// 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主键
PostId any // 所属帖子ID关联 forum_posts.id无外键
UserId any // 评论发布者ID关联 users.id无外键
ParentId any // 父评论IDNULL=一级评论非NULL=二级评论指向一级评论ID无外键
ReplyToUserId any // 回复的用户ID可选用于展示“回复@xxx”无外键
Content any // 评论内容支持emoji
Status any // 状态1=正常 2=软删 3=审核中 4=驳回
LikeCount any // 点赞数(冗余)
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 软删除时间
}