package user import ( "time" "github.com/google/uuid" "gorm.io/gorm" ) type Session struct { ID uuid.UUID `gorm:"primaryKey;type:uuid;default:uuid_generate_v4()"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt `gorm:"index"` SessionToken string UserID uuid.UUID }