You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/controllers/v4/goal_types.go
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ type GoalEditable struct {
18
18
Amount decimal.Decimal`json:"amount" example:"750" minimum:"0.00000001" maximum:"999999999999.99999999" multipleOf:"0.00000001" default:"0"`// How much money should be saved for this goal?
19
19
Month types.Month`json:"month" example:"2024-07-01T00:00:00.000000Z"`// The month the goal should be reached
20
20
Archivedbool`json:"archived" example:"true" default:"false"`// If this goal is still in use or not
21
+
Perioduint`json:"period" example:"6" default:"0"`// The period in months for when this goal should repeat. "0" means no repetition
21
22
}
22
23
23
24
// model returns the database resource for the API representation of the editable fields
0 commit comments