package models import ( "time" "gorm.io/gorm" ) type LoginRecord struct { gorm.Model LoginDate time.Time UserIDs string `gorm:"type:text"` Users []User `json:"users" gorm:"-"` }