初始化v1
This commit is contained in:
19
internal/model/entity/user_collect.go
Normal file
19
internal/model/entity/user_collect.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// UserCollect is the golang structure for table nl_user_collect.
|
||||
type UserCollect 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"`
|
||||
Type int `json:"type" orm:"type" description:"收藏类型 1影片 2演员 3导演"`
|
||||
TargetId int `json:"target_id" orm:"target_id" description:"目标ID"`
|
||||
CreatedAt *gtime.Time `json:"created_at" orm:"created_at" description:"创建时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user