// Code generated by sqlc. DO NOT EDIT.

package querytest

import (
	"database/sql"
	"fmt"
)

// Enum comment
type FooBat string

const (
	FooBatBat FooBat = "bat"
)

func (e *FooBat) Scan(src interface{}) error {
	switch s := src.(type) {
	case []byte:
		*e = FooBat(s)
	case string:
		*e = FooBat(s)
	default:
		return fmt.Errorf("unsupported scan type for FooBat: %T", src)
	}
	return nil
}

// Table comment
type FooBar struct {
	// Column comment
	Baz sql.NullString
}
