diff --git a/types/types.go b/types/types.go index c4cbb84..e0a4081 100644 --- a/types/types.go +++ b/types/types.go @@ -42,6 +42,8 @@ type DbCategory struct { // Parent is used as a infinite sub-category structure // Can be 0 ParentID uint `json:"parent_id" example:"0"` + // Purely UI things + NameWithParent string `json:"name_with_parent" example:"World -> Moldova"` } type DbDebt struct {