29 lines
1.5 KiB
Go
Executable File
29 lines
1.5 KiB
Go
Executable File
package aitexttoimagemod
|
|
|
|
import (
|
|
"time"
|
|
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
)
|
|
|
|
// AiTextToImageInfo 移动端返回内容
|
|
type AiTextToImageInfo struct {
|
|
ID primitive.ObjectID `json:"id"` // 文档id
|
|
UID uint64 `json:"uid"` // 用户ID
|
|
Text string `json:"text"` // 图片描述
|
|
NewImgUrl string `json:"newImgUrl"` // 处理后的图片地址
|
|
Status int `json:"status"` // 状态
|
|
AspectRatio string `json:"aspectRatio"` // 长宽比
|
|
StyleType int `json:"styleType"` // 风格类型
|
|
StyleUrl string `json:"styleUrl"` // 绘画风格图片
|
|
Coin int64 `json:"coin"` // AI绘图金币个数
|
|
DebitAmountCoin int64 `json:"debitAmountCoin"` // 此次脱衣扣除金币个数
|
|
DebitIncomeCoin int64 `json:"debitIncomeCoin"` // 此次脱衣扣除收益金币个数
|
|
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"` // 更新时间
|
|
}
|