// Copyright 2019-present Facebook Inc. All rights reserved.
// This source code is licensed under the Apache 2.0 license found
// in the LICENSE file in the root directory of this source tree.

// Code generated by ent, DO NOT EDIT.

package exvaluescan

import (
	"math/big"
	"net/url"

	"entgo.io/ent/dialect/gremlin/graph/dsl"
	"entgo.io/ent/schema/field"
)

const (
	// Label holds the string label denoting the exvaluescan type in the database.
	Label = "ex_value_scan"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldBinary holds the string denoting the binary field in the database.
	FieldBinary = "binary"
	// FieldBinaryOptional holds the string denoting the binary_optional field in the database.
	FieldBinaryOptional = "binary_optional"
	// FieldText holds the string denoting the text field in the database.
	FieldText = "text"
	// FieldTextOptional holds the string denoting the text_optional field in the database.
	FieldTextOptional = "text_optional"
	// FieldBase64 holds the string denoting the base64 field in the database.
	FieldBase64 = "base64"
	// FieldCustom holds the string denoting the custom field in the database.
	FieldCustom = "custom"
	// FieldCustomOptional holds the string denoting the custom_optional field in the database.
	FieldCustomOptional = "custom_optional"
)

var (
	// ValueScanner of all ExValueScan fields.
	ValueScanner struct {
		Binary         field.TypeValueScanner[*url.URL]
		BinaryOptional field.TypeValueScanner[*url.URL]
		Text           field.TypeValueScanner[*big.Int]
		TextOptional   field.TypeValueScanner[*big.Int]
		Base64         field.TypeValueScanner[string]
		Custom         field.TypeValueScanner[string]
		CustomOptional field.TypeValueScanner[string]
	}
)

// Order defines the ordering method for the ExValueScan queries.
type Order func(*dsl.Traversal)

// comment from another template.
