24 lines
1.0 KiB
Go
Executable File
24 lines
1.0 KiB
Go
Executable File
package aiimagetovideomod
|
|
|
|
import (
|
|
"time"
|
|
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
)
|
|
|
|
// AiImageToVideoInfo 移动端返回内容
|
|
type AiImageToVideoInfo struct {
|
|
ID primitive.ObjectID `json:"id"` // 文档id
|
|
UID uint64 `json:"uid"` // 用户ID
|
|
ImgUrl string `json:"imgUrl"` // 未处理的图片地址
|
|
NewImgUrl string `json:"newImgUrl"` // 处理后的图片地址
|
|
Status int `json:"status"` // 状态
|
|
Coin int64 `json:"coin"` // 图生视频金币个数
|
|
IsFreeTimes bool `json:"isFreeTimes"` // 是否使用免费次数
|
|
IsHide bool `json:"isHide"` // 是否被用户隐藏
|
|
Remark string `json:"remark"` // 备注
|
|
IsDelete bool `json:"isDelete"` // 是否删除
|
|
CreatedAt time.Time `json:"createdAt"` // 创建时间
|
|
UpdatedAt time.Time `json:"updatedAt"` // 更新时间
|
|
}
|