Files
lone-services/services/analysis/internal/dao/analysis_sub.go
T
zzw b77a1f1b95
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 32s
CI / admin (push) Successful in 26s
CI / analysis (push) Successful in 28s
CI / bff (push) Successful in 23s
CI / chore (push) Successful in 24s
CI / equipment (push) Successful in 21s
CI / express (push) Successful in 21s
CI / factory (push) Successful in 18s
CI / message (push) Successful in 18s
CI / order (push) Successful in 21s
CI / payment (push) Successful in 20s
CI / percutaneous (push) Successful in 19s
CI / product (push) Successful in 21s
CI / record (push) Successful in 21s
CI / sale (push) Successful in 20s
CI / store (push) Successful in 25s
CI / support (push) Successful in 21s
CI / task (push) Successful in 20s
CI / user (push) Successful in 22s
CI / water (push) Successful in 20s
CI / wecom (push) Successful in 21s
CI / ws (push) Successful in 8s
feat: user improve
2026-10-27 13:01:24 +08:00

40 lines
1.9 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"`
LeftPath string `gorm:"column:left_path" json:"left_path"`
MidPath string `gorm:"column:mid_path" json:"mid_path"`
RightPath string `gorm:"column:right_path" json:"right_path"`
LeftResultPath string `gorm:"column:left_result_path" json:"left_result_path"`
MidResultPath string `gorm:"column:mid_result_path" json:"mid_result_path"`
RightResultPath string `gorm:"column:right_result_path" json:"right_result_path"`
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
}