Files
wallet/backend/model/Operation.go
T
wt 582ab5e7b9
Build and Test / build-and-test-backend (push) Successful in 1m24s
Build and Test / build-and-test-frontend (push) Successful in 37s
updated
2025-10-08 12:46:10 +07:00

17 lines
572 B
Go

package model
type Operation struct {
BaseModel
Title string `json:"title"`
Amount float64 `json:"amount"`
Note string `json:"note,omitempty"`
Icon string `json:"icon"`
Type string `json:"type"`
Date string `json:"date"`
UserID string `json:"userid"`
CategoryID string `json:"categoryid"`
SubcategoryID *string `json:"subcategoryid,omitempty"`
Category Category `json:"category,omitzero"`
Subcategory Subcategory `json:"subcategory,omitzero"`
}