Files
2025-08-03 00:11:15 +08:00

23 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 entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// Comment is the golang structure for table nl_comment.
type Comment struct {
Id uint `json:"id" orm:"id" description:"评论ID"`
UserId int `json:"user_id" orm:"user_id" description:"用户ID"`
MovieId int `json:"movie_id" orm:"movie_id" description:"影片ID"`
ParentId int `json:"parent_id" orm:"parent_id" description:"父评论ID0为顶级评论"`
Content string `json:"content" orm:"content" description:"评论内容"`
LikeCount int `json:"like_count" orm:"like_count" description:"点赞数"`
Status int `json:"status" orm:"status" description:"状态0待审核1已通过2已拒绝"`
CreatedAt *gtime.Time `json:"created_at" orm:"created_at" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updated_at" orm:"updated_at" description:"更新时间"`
}