package user import "gorm.io/gorm" type User struct { gorm.Model Username string `gorm:"uniqueIndex;not null"` PasswordHash string `gorm:"not null"` Role string `gorm:"not null"` ForceChangePassword bool `gorm:"default:false"` }