Files
video-factory/shortdrama/model/entity/generation_task.go
T
2026-06-18 16:01:39 +08:00

17 lines
694 B
Go

package entity
import "github.com/gogf/gf/v2/os/gtime"
type GenerationTask struct {
Id int64 `orm:"id" json:"id"`
DramaId int64 `orm:"drama_id" json:"dramaId"`
EpisodeId int64 `orm:"episode_id" json:"episodeId"`
Status string `orm:"status" json:"status"`
CurrentStep int `orm:"current_step" json:"currentStep"`
TotalSteps int `orm:"total_steps" json:"totalSteps"`
StepsData string `orm:"steps_data" json:"stepsData"`
ErrorMessage string `orm:"error_message" json:"errorMessage"`
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"`
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"`
}