geekai/api/store/model/mj_job.go

20 lines
352 B
Go

package model
import "time"
type MidJourneyJob struct {
Id uint `gorm:"primarykey;column:id"`
UserId int
MessageId string
ReferenceId string
ImgURL string
Hash string // message hash
Progress int
Prompt string
CreatedAt time.Time
}
func (MidJourneyJob) TableName() string {
return "chatgpt_mj_jobs"
}