updated
Build and Test / build-and-test-backend (push) Successful in 1m24s
Build and Test / build-and-test-frontend (push) Successful in 37s

This commit is contained in:
wt committed 2025-10-08 12:46:10 +07:00
1 parent e16edd7744
commit 582ab5e7b9
3 files changed
+49 -47

No files matched your search

+3 -3
View File
@@ -10,7 +10,7 @@ type Operation struct {
Date string `json:"date"`
UserID string `json:"userid"`
CategoryID string `json:"categoryid"`
SubcategoryID string `json:"subcategoryid"`
Category Category `gorm:"foreignKey:CategoryID"`
Subcategory Subcategory `gorm:"foreignKey:SubcategoryID"`
SubcategoryID *string `json:"subcategoryid,omitempty"`
Category Category `json:"category,omitzero"`
Subcategory Subcategory `json:"subcategory,omitzero"`
}