package mail import "gorm.io/gorm" type Folder struct { gorm.Model Name string `gorm:"not null" json:"name"` Slug string `gorm:"not null;index" json:"slug"` MailboxID uint `gorm:"not null;index" json:"mailbox_id"` Mailbox Mailbox `gorm:"foreignKey:MailboxID" json:"mailbox"` IsSystem bool `gorm:"not null;default:false" json:"is_system"` Position int `gorm:"not null;default:0" json:"position"` }