// Code generated by sqlc. DO NOT EDIT.

package querytest

import (
	"fmt"
)

type Status string

const (
	StatusOpen Status = "open"
	StatusShut Status = "shut"
)

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