mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-17 16:56:38 +08:00
21 lines
623 B
Go
21 lines
623 B
Go
package vo
|
|
|
|
import (
|
|
"geekai/core/types"
|
|
)
|
|
|
|
type SdJob struct {
|
|
Id uint `json:"id"`
|
|
Type string `json:"type"`
|
|
UserId int `json:"user_id"`
|
|
TaskId string `json:"task_id"`
|
|
ImgURL string `json:"img_url"`
|
|
Params types.SdTaskParams `json:"params"`
|
|
Progress int `json:"progress"`
|
|
Prompt string `json:"prompt"`
|
|
Publish bool `json:"publish"`
|
|
ErrMsg string `json:"err_msg"`
|
|
Power int `json:"power"`
|
|
CreatedAt int64 `json:"created_at"`
|
|
}
|