diff --git a/models/sections.go b/models/sections.go index 9ff7be3..9d7453e 100644 --- a/models/sections.go +++ b/models/sections.go @@ -4,12 +4,14 @@ import "gorm.io/gorm" type ParentSection struct { gorm.Model - Name string + Name string + ShortName string } type Section struct { gorm.Model Name string + ShortName string ParentSectionID uint ParentSection ParentSection }