初始化v1
This commit is contained in:
20
internal/model/entity/comment_report.go
Normal file
20
internal/model/entity/comment_report.go
Normal file
@@ -0,0 +1,20 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// CommentReport is the golang structure for table comment_report.
|
||||
type CommentReport struct {
|
||||
Id uint `json:"id" orm:"id,primary" description:"举报ID"`
|
||||
CommentId uint `json:"comment_id" orm:"comment_id" description:"评论ID"`
|
||||
UserId uint `json:"user_id" orm:"user_id" description:"举报用户ID"`
|
||||
Reason string `json:"reason" orm:"reason" 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:"更新时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user