summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-12-23 13:17:59 +0530
committerBobby <[email protected]>2025-12-23 13:17:59 +0530
commit93279b718bc7f9fb89aa329b7dbcc55d6e909b3e (patch)
tree70a39e0b1983eea94b632c4b3b4c30d8f77006fb /models
parent5f035789fa24eaff111f5ed72087ad07ff8c387a (diff)
downloadlain-93279b718bc7f9fb89aa329b7dbcc55d6e909b3e.tar.xz
lain-93279b718bc7f9fb89aa329b7dbcc55d6e909b3e.zip
some icons and stuff
Diffstat (limited to 'models')
-rw-r--r--models/folders.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/models/folders.go b/models/folders.go
index 6c3800a..d823ba0 100644
--- a/models/folders.go
+++ b/models/folders.go
@@ -8,10 +8,11 @@ type Folder struct {
gorm.Model
UserEmail string `gorm:"index"`
- Name string
- IMAPName string
- Icon string
- ParentID *uint
+ Name string
+ IMAPName string
+ IconOpen string
+ IconClose string
+ ParentID *uint
UnreadCount int `gorm:"default:0"`
TotalCount int `gorm:"default:0"`