Files
lone-services/services/analysis/internal/dao/analysis_sub.go
T
zzw f2fd4acbfd
CI / changes (push) Successful in 1m45s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 1s
CI / analysis (push) Successful in 47s
CI / bff (push) Successful in 30s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 1s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 1s
CI / message (push) Successful in 47s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 1s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 1s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s
fix: analysis data type err
2026-10-23 16:42:52 +08:00

34 lines
1.4 KiB
Go

package dao
import "lone-services/pkg/utils"
type ImageAnalysisSub struct {
Id int64 `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
TaskId string `gorm:"column:task_id" json:"task_id"`
SubTaskId string `gorm:"column:sub_task_id" json:"sub_task_id"`
Status int8 `gorm:"column:status" json:"status"`
FilePath string `gorm:"column:file_path" json:"file_path"`
ImageDir string `gorm:"column:image_dir" json:"image_dir"`
Scene string `gorm:"column:scene" json:"scene"`
UploadStartTs int64 `gorm:"column:upload_start_ts" json:"upload_start_ts"`
UploadEndTs int64 `gorm:"column:upload_end_ts" json:"upload_end_ts"`
ProcessStartTs int64 `gorm:"column:process_start_ts" json:"process_start_ts"`
ProcessEndTs int64 `gorm:"column:process_end_ts" json:"process_end_ts"`
CreatedAt utils.CustomTime `gorm:"column:created_at" json:"created_at"`
UpdatedAt utils.CustomTime `gorm:"column:updated_at" json:"updated_at"`
}
type HandleZipResource struct {
FilePath string `json:"file_path"`
FinalDir string `json:"final_dir"`
TargetDir string `json:"target_dir"`
}
type TaskTimeStamp struct {
TaskId string
SubTaskId string
UploadStartTs int64
UploadEndTs int64
ProcessStartTs int64
}