fixed markdown generating styles

This commit is contained in:
RockYang
2024-04-19 18:22:45 +08:00
parent 6891bdde53
commit d6e9dc6839
9 changed files with 53 additions and 12 deletions

View File

@@ -0,0 +1,16 @@
package model
import "time"
type DallJob struct {
Id uint `gorm:"primarykey;column:id"`
UserId int
TaskId string
Prompt string
ImgURL string
Publish bool
Power int
Progress int
ErrMsg string
CreatedAt time.Time
}

14
api/store/vo/dalle_job.go Normal file
View File

@@ -0,0 +1,14 @@
package vo
type DallJob struct {
Id uint `json:"id"`
UserId int `json:"user_id"`
TaskId string `json:"task_id"`
Prompt string `json:"prompt"`
ImgURL string `json:"img_url"`
Publish bool `json:"publish"`
Power int `json:"power"`
Progress int `json:"progress"`
ErrMsg string `json:"err_msg"`
CreatedAt int64 `json:"created_at"`
}