This commit is contained in:
2023-04-28 07:13:50 +08:00
parent c2549703f0
commit 8b14c7b7ec
5 changed files with 13 additions and 4 deletions

View File

@@ -66,6 +66,7 @@ type Model struct {
Tags string `json:"tags"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
UserID int `json:"user_id"`
}
type Task struct {
@@ -76,6 +77,7 @@ type Task struct {
Progress int `json:"progress"` // (0-100)
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
UserID int `json:"user_id"`
}
type Image struct {
@@ -92,6 +94,7 @@ type Image struct {
FromImage string `json:"from_image"` // Image to start from
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
UserID int `json:"user_id"`
}
type Tag struct {