package model import "github.com/gogf/gf/v2/frame/g" type UserFollowAuthor struct { g.Meta `orm:"table:user_follow_authors"` Id int64 `json:"id" orm:"id"` UserId int64 `json:"userId" orm:"user_id"` AuthorId int64 `json:"authorId" orm:"author_id"` FollowedAt int64 `json:"followedAt" orm:"followed_at"` } type UserFollowAuthorListIn struct { Page int Size int UserId int64 AuthorId int64 } type UserFollowAuthorListOut struct { Total int List []UserFollowAuthor } type UserFollowAuthorAddIn struct { UserId int64 AuthorId int64 } type UserFollowAuthorDelIn struct { Id int64 } type UserFollowAuthorCRUDOut struct { Success bool }