// Code generated by ent, DO NOT EDIT.

package runtime

import (
	"time"

	"github.com/google/uuid"
	"github.com/lightsparkdev/spark/so/ent/blockheight"
	"github.com/lightsparkdev/spark/so/ent/cooperativeexit"
	"github.com/lightsparkdev/spark/so/ent/depositaddress"
	"github.com/lightsparkdev/spark/so/ent/entitydkgkey"
	"github.com/lightsparkdev/spark/so/ent/gossip"
	"github.com/lightsparkdev/spark/so/ent/l1tokencreate"
	"github.com/lightsparkdev/spark/so/ent/paymentintent"
	"github.com/lightsparkdev/spark/so/ent/pendingsendtransfer"
	"github.com/lightsparkdev/spark/so/ent/preimagerequest"
	"github.com/lightsparkdev/spark/so/ent/preimageshare"
	"github.com/lightsparkdev/spark/so/ent/schema"
	"github.com/lightsparkdev/spark/so/ent/schema/schematype"
	"github.com/lightsparkdev/spark/so/ent/signingcommitment"
	"github.com/lightsparkdev/spark/so/ent/signingkeyshare"
	"github.com/lightsparkdev/spark/so/ent/signingnonce"
	"github.com/lightsparkdev/spark/so/ent/sparkinvoice"
	"github.com/lightsparkdev/spark/so/ent/tokencreate"
	"github.com/lightsparkdev/spark/so/ent/tokenfreeze"
	"github.com/lightsparkdev/spark/so/ent/tokenmint"
	"github.com/lightsparkdev/spark/so/ent/tokenoutput"
	"github.com/lightsparkdev/spark/so/ent/tokenpartialrevocationsecretshare"
	"github.com/lightsparkdev/spark/so/ent/tokentransaction"
	"github.com/lightsparkdev/spark/so/ent/tokentransactionpeersignature"
	"github.com/lightsparkdev/spark/so/ent/transfer"
	"github.com/lightsparkdev/spark/so/ent/transferleaf"
	"github.com/lightsparkdev/spark/so/ent/tree"
	"github.com/lightsparkdev/spark/so/ent/treenode"
	"github.com/lightsparkdev/spark/so/ent/usersignedtransaction"
	"github.com/lightsparkdev/spark/so/ent/utxo"
	"github.com/lightsparkdev/spark/so/ent/utxoswap"
)

// The init function reads all schema descriptors with runtime code
// (default values, validators, hooks and policies) and stitches it
// to their package variables.
func init() {
	blockheightMixin := schema.BlockHeight{}.Mixin()
	blockheightMixinFields0 := blockheightMixin[0].Fields()
	_ = blockheightMixinFields0
	blockheightFields := schema.BlockHeight{}.Fields()
	_ = blockheightFields
	// blockheightDescCreateTime is the schema descriptor for create_time field.
	blockheightDescCreateTime := blockheightMixinFields0[1].Descriptor()
	// blockheight.DefaultCreateTime holds the default value on creation for the create_time field.
	blockheight.DefaultCreateTime = blockheightDescCreateTime.Default.(func() time.Time)
	// blockheightDescUpdateTime is the schema descriptor for update_time field.
	blockheightDescUpdateTime := blockheightMixinFields0[2].Descriptor()
	// blockheight.DefaultUpdateTime holds the default value on creation for the update_time field.
	blockheight.DefaultUpdateTime = blockheightDescUpdateTime.Default.(func() time.Time)
	// blockheight.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	blockheight.UpdateDefaultUpdateTime = blockheightDescUpdateTime.UpdateDefault.(func() time.Time)
	// blockheightDescID is the schema descriptor for id field.
	blockheightDescID := blockheightMixinFields0[0].Descriptor()
	// blockheight.DefaultID holds the default value on creation for the id field.
	blockheight.DefaultID = blockheightDescID.Default.(func() uuid.UUID)
	cooperativeexitMixin := schema.CooperativeExit{}.Mixin()
	cooperativeexitMixinFields0 := cooperativeexitMixin[0].Fields()
	_ = cooperativeexitMixinFields0
	cooperativeexitFields := schema.CooperativeExit{}.Fields()
	_ = cooperativeexitFields
	// cooperativeexitDescCreateTime is the schema descriptor for create_time field.
	cooperativeexitDescCreateTime := cooperativeexitMixinFields0[1].Descriptor()
	// cooperativeexit.DefaultCreateTime holds the default value on creation for the create_time field.
	cooperativeexit.DefaultCreateTime = cooperativeexitDescCreateTime.Default.(func() time.Time)
	// cooperativeexitDescUpdateTime is the schema descriptor for update_time field.
	cooperativeexitDescUpdateTime := cooperativeexitMixinFields0[2].Descriptor()
	// cooperativeexit.DefaultUpdateTime holds the default value on creation for the update_time field.
	cooperativeexit.DefaultUpdateTime = cooperativeexitDescUpdateTime.Default.(func() time.Time)
	// cooperativeexit.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	cooperativeexit.UpdateDefaultUpdateTime = cooperativeexitDescUpdateTime.UpdateDefault.(func() time.Time)
	// cooperativeexitDescID is the schema descriptor for id field.
	cooperativeexitDescID := cooperativeexitMixinFields0[0].Descriptor()
	// cooperativeexit.DefaultID holds the default value on creation for the id field.
	cooperativeexit.DefaultID = cooperativeexitDescID.Default.(func() uuid.UUID)
	depositaddressMixin := schema.DepositAddress{}.Mixin()
	depositaddressMixinHooks1 := depositaddressMixin[1].Hooks()
	depositaddress.Hooks[0] = depositaddressMixinHooks1[0]
	depositaddressMixinFields0 := depositaddressMixin[0].Fields()
	_ = depositaddressMixinFields0
	depositaddressFields := schema.DepositAddress{}.Fields()
	_ = depositaddressFields
	// depositaddressDescCreateTime is the schema descriptor for create_time field.
	depositaddressDescCreateTime := depositaddressMixinFields0[1].Descriptor()
	// depositaddress.DefaultCreateTime holds the default value on creation for the create_time field.
	depositaddress.DefaultCreateTime = depositaddressDescCreateTime.Default.(func() time.Time)
	// depositaddressDescUpdateTime is the schema descriptor for update_time field.
	depositaddressDescUpdateTime := depositaddressMixinFields0[2].Descriptor()
	// depositaddress.DefaultUpdateTime holds the default value on creation for the update_time field.
	depositaddress.DefaultUpdateTime = depositaddressDescUpdateTime.Default.(func() time.Time)
	// depositaddress.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	depositaddress.UpdateDefaultUpdateTime = depositaddressDescUpdateTime.UpdateDefault.(func() time.Time)
	// depositaddressDescAddress is the schema descriptor for address field.
	depositaddressDescAddress := depositaddressFields[0].Descriptor()
	// depositaddress.AddressValidator is a validator for the "address" field. It is called by the builders before save.
	depositaddress.AddressValidator = depositaddressDescAddress.Validators[0].(func(string) error)
	// depositaddressDescIsStatic is the schema descriptor for is_static field.
	depositaddressDescIsStatic := depositaddressFields[9].Descriptor()
	// depositaddress.DefaultIsStatic holds the default value on creation for the is_static field.
	depositaddress.DefaultIsStatic = depositaddressDescIsStatic.Default.(bool)
	// depositaddressDescIsDefault is the schema descriptor for is_default field.
	depositaddressDescIsDefault := depositaddressFields[10].Descriptor()
	// depositaddress.DefaultIsDefault holds the default value on creation for the is_default field.
	depositaddress.DefaultIsDefault = depositaddressDescIsDefault.Default.(bool)
	// depositaddressDescID is the schema descriptor for id field.
	depositaddressDescID := depositaddressMixinFields0[0].Descriptor()
	// depositaddress.DefaultID holds the default value on creation for the id field.
	depositaddress.DefaultID = depositaddressDescID.Default.(func() uuid.UUID)
	entitydkgkeyMixin := schema.EntityDkgKey{}.Mixin()
	entitydkgkeyMixinFields0 := entitydkgkeyMixin[0].Fields()
	_ = entitydkgkeyMixinFields0
	entitydkgkeyFields := schema.EntityDkgKey{}.Fields()
	_ = entitydkgkeyFields
	// entitydkgkeyDescCreateTime is the schema descriptor for create_time field.
	entitydkgkeyDescCreateTime := entitydkgkeyMixinFields0[1].Descriptor()
	// entitydkgkey.DefaultCreateTime holds the default value on creation for the create_time field.
	entitydkgkey.DefaultCreateTime = entitydkgkeyDescCreateTime.Default.(func() time.Time)
	// entitydkgkeyDescUpdateTime is the schema descriptor for update_time field.
	entitydkgkeyDescUpdateTime := entitydkgkeyMixinFields0[2].Descriptor()
	// entitydkgkey.DefaultUpdateTime holds the default value on creation for the update_time field.
	entitydkgkey.DefaultUpdateTime = entitydkgkeyDescUpdateTime.Default.(func() time.Time)
	// entitydkgkey.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	entitydkgkey.UpdateDefaultUpdateTime = entitydkgkeyDescUpdateTime.UpdateDefault.(func() time.Time)
	// entitydkgkeyDescKeyType is the schema descriptor for key_type field.
	entitydkgkeyDescKeyType := entitydkgkeyFields[0].Descriptor()
	// entitydkgkey.DefaultKeyType holds the default value on creation for the key_type field.
	entitydkgkey.DefaultKeyType = entitydkgkeyDescKeyType.Default.(string)
	// entitydkgkeyDescID is the schema descriptor for id field.
	entitydkgkeyDescID := entitydkgkeyMixinFields0[0].Descriptor()
	// entitydkgkey.DefaultID holds the default value on creation for the id field.
	entitydkgkey.DefaultID = entitydkgkeyDescID.Default.(func() uuid.UUID)
	gossipMixin := schema.Gossip{}.Mixin()
	gossipMixinFields0 := gossipMixin[0].Fields()
	_ = gossipMixinFields0
	gossipFields := schema.Gossip{}.Fields()
	_ = gossipFields
	// gossipDescCreateTime is the schema descriptor for create_time field.
	gossipDescCreateTime := gossipMixinFields0[1].Descriptor()
	// gossip.DefaultCreateTime holds the default value on creation for the create_time field.
	gossip.DefaultCreateTime = gossipDescCreateTime.Default.(func() time.Time)
	// gossipDescUpdateTime is the schema descriptor for update_time field.
	gossipDescUpdateTime := gossipMixinFields0[2].Descriptor()
	// gossip.DefaultUpdateTime holds the default value on creation for the update_time field.
	gossip.DefaultUpdateTime = gossipDescUpdateTime.Default.(func() time.Time)
	// gossip.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	gossip.UpdateDefaultUpdateTime = gossipDescUpdateTime.UpdateDefault.(func() time.Time)
	// gossipDescMessage is the schema descriptor for message field.
	gossipDescMessage := gossipFields[1].Descriptor()
	// gossip.MessageValidator is a validator for the "message" field. It is called by the builders before save.
	gossip.MessageValidator = gossipDescMessage.Validators[0].(func([]byte) error)
	// gossipDescID is the schema descriptor for id field.
	gossipDescID := gossipMixinFields0[0].Descriptor()
	// gossip.DefaultID holds the default value on creation for the id field.
	gossip.DefaultID = gossipDescID.Default.(func() uuid.UUID)
	l1tokencreateMixin := schema.L1TokenCreate{}.Mixin()
	l1tokencreateMixinFields0 := l1tokencreateMixin[0].Fields()
	_ = l1tokencreateMixinFields0
	l1tokencreateMixinFields1 := l1tokencreateMixin[1].Fields()
	_ = l1tokencreateMixinFields1
	l1tokencreateFields := schema.L1TokenCreate{}.Fields()
	_ = l1tokencreateFields
	// l1tokencreateDescCreateTime is the schema descriptor for create_time field.
	l1tokencreateDescCreateTime := l1tokencreateMixinFields0[1].Descriptor()
	// l1tokencreate.DefaultCreateTime holds the default value on creation for the create_time field.
	l1tokencreate.DefaultCreateTime = l1tokencreateDescCreateTime.Default.(func() time.Time)
	// l1tokencreateDescUpdateTime is the schema descriptor for update_time field.
	l1tokencreateDescUpdateTime := l1tokencreateMixinFields0[2].Descriptor()
	// l1tokencreate.DefaultUpdateTime holds the default value on creation for the update_time field.
	l1tokencreate.DefaultUpdateTime = l1tokencreateDescUpdateTime.Default.(func() time.Time)
	// l1tokencreate.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	l1tokencreate.UpdateDefaultUpdateTime = l1tokencreateDescUpdateTime.UpdateDefault.(func() time.Time)
	// l1tokencreateDescTokenName is the schema descriptor for token_name field.
	l1tokencreateDescTokenName := l1tokencreateMixinFields1[1].Descriptor()
	// l1tokencreate.TokenNameValidator is a validator for the "token_name" field. It is called by the builders before save.
	l1tokencreate.TokenNameValidator = l1tokencreateDescTokenName.Validators[0].(func(string) error)
	// l1tokencreateDescTokenTicker is the schema descriptor for token_ticker field.
	l1tokencreateDescTokenTicker := l1tokencreateMixinFields1[2].Descriptor()
	// l1tokencreate.TokenTickerValidator is a validator for the "token_ticker" field. It is called by the builders before save.
	l1tokencreate.TokenTickerValidator = l1tokencreateDescTokenTicker.Validators[0].(func(string) error)
	// l1tokencreateDescMaxSupply is the schema descriptor for max_supply field.
	l1tokencreateDescMaxSupply := l1tokencreateMixinFields1[4].Descriptor()
	// l1tokencreate.MaxSupplyValidator is a validator for the "max_supply" field. It is called by the builders before save.
	l1tokencreate.MaxSupplyValidator = l1tokencreateDescMaxSupply.Validators[0].(func([]byte) error)
	// l1tokencreateDescTokenIdentifier is the schema descriptor for token_identifier field.
	l1tokencreateDescTokenIdentifier := l1tokencreateMixinFields1[7].Descriptor()
	// l1tokencreate.TokenIdentifierValidator is a validator for the "token_identifier" field. It is called by the builders before save.
	l1tokencreate.TokenIdentifierValidator = l1tokencreateDescTokenIdentifier.Validators[0].(func([]byte) error)
	// l1tokencreateDescTransactionID is the schema descriptor for transaction_id field.
	l1tokencreateDescTransactionID := l1tokencreateFields[0].Descriptor()
	// l1tokencreate.TransactionIDValidator is a validator for the "transaction_id" field. It is called by the builders before save.
	l1tokencreate.TransactionIDValidator = l1tokencreateDescTransactionID.Validators[0].(func([]byte) error)
	// l1tokencreateDescID is the schema descriptor for id field.
	l1tokencreateDescID := l1tokencreateMixinFields0[0].Descriptor()
	// l1tokencreate.DefaultID holds the default value on creation for the id field.
	l1tokencreate.DefaultID = l1tokencreateDescID.Default.(func() uuid.UUID)
	paymentintentMixin := schema.PaymentIntent{}.Mixin()
	paymentintentHooks := schema.PaymentIntent{}.Hooks()
	paymentintent.Hooks[0] = paymentintentHooks[0]
	paymentintentMixinFields0 := paymentintentMixin[0].Fields()
	_ = paymentintentMixinFields0
	paymentintentFields := schema.PaymentIntent{}.Fields()
	_ = paymentintentFields
	// paymentintentDescCreateTime is the schema descriptor for create_time field.
	paymentintentDescCreateTime := paymentintentMixinFields0[1].Descriptor()
	// paymentintent.DefaultCreateTime holds the default value on creation for the create_time field.
	paymentintent.DefaultCreateTime = paymentintentDescCreateTime.Default.(func() time.Time)
	// paymentintentDescUpdateTime is the schema descriptor for update_time field.
	paymentintentDescUpdateTime := paymentintentMixinFields0[2].Descriptor()
	// paymentintent.DefaultUpdateTime holds the default value on creation for the update_time field.
	paymentintent.DefaultUpdateTime = paymentintentDescUpdateTime.Default.(func() time.Time)
	// paymentintent.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	paymentintent.UpdateDefaultUpdateTime = paymentintentDescUpdateTime.UpdateDefault.(func() time.Time)
	// paymentintentDescPaymentIntent is the schema descriptor for payment_intent field.
	paymentintentDescPaymentIntent := paymentintentFields[0].Descriptor()
	// paymentintent.PaymentIntentValidator is a validator for the "payment_intent" field. It is called by the builders before save.
	paymentintent.PaymentIntentValidator = paymentintentDescPaymentIntent.Validators[0].(func(string) error)
	// paymentintentDescID is the schema descriptor for id field.
	paymentintentDescID := paymentintentMixinFields0[0].Descriptor()
	// paymentintent.DefaultID holds the default value on creation for the id field.
	paymentintent.DefaultID = paymentintentDescID.Default.(func() uuid.UUID)
	pendingsendtransferMixin := schema.PendingSendTransfer{}.Mixin()
	pendingsendtransferMixinFields0 := pendingsendtransferMixin[0].Fields()
	_ = pendingsendtransferMixinFields0
	pendingsendtransferFields := schema.PendingSendTransfer{}.Fields()
	_ = pendingsendtransferFields
	// pendingsendtransferDescCreateTime is the schema descriptor for create_time field.
	pendingsendtransferDescCreateTime := pendingsendtransferMixinFields0[1].Descriptor()
	// pendingsendtransfer.DefaultCreateTime holds the default value on creation for the create_time field.
	pendingsendtransfer.DefaultCreateTime = pendingsendtransferDescCreateTime.Default.(func() time.Time)
	// pendingsendtransferDescUpdateTime is the schema descriptor for update_time field.
	pendingsendtransferDescUpdateTime := pendingsendtransferMixinFields0[2].Descriptor()
	// pendingsendtransfer.DefaultUpdateTime holds the default value on creation for the update_time field.
	pendingsendtransfer.DefaultUpdateTime = pendingsendtransferDescUpdateTime.Default.(func() time.Time)
	// pendingsendtransfer.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	pendingsendtransfer.UpdateDefaultUpdateTime = pendingsendtransferDescUpdateTime.UpdateDefault.(func() time.Time)
	// pendingsendtransferDescID is the schema descriptor for id field.
	pendingsendtransferDescID := pendingsendtransferMixinFields0[0].Descriptor()
	// pendingsendtransfer.DefaultID holds the default value on creation for the id field.
	pendingsendtransfer.DefaultID = pendingsendtransferDescID.Default.(func() uuid.UUID)
	preimagerequestMixin := schema.PreimageRequest{}.Mixin()
	preimagerequestMixinFields0 := preimagerequestMixin[0].Fields()
	_ = preimagerequestMixinFields0
	preimagerequestFields := schema.PreimageRequest{}.Fields()
	_ = preimagerequestFields
	// preimagerequestDescCreateTime is the schema descriptor for create_time field.
	preimagerequestDescCreateTime := preimagerequestMixinFields0[1].Descriptor()
	// preimagerequest.DefaultCreateTime holds the default value on creation for the create_time field.
	preimagerequest.DefaultCreateTime = preimagerequestDescCreateTime.Default.(func() time.Time)
	// preimagerequestDescUpdateTime is the schema descriptor for update_time field.
	preimagerequestDescUpdateTime := preimagerequestMixinFields0[2].Descriptor()
	// preimagerequest.DefaultUpdateTime holds the default value on creation for the update_time field.
	preimagerequest.DefaultUpdateTime = preimagerequestDescUpdateTime.Default.(func() time.Time)
	// preimagerequest.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	preimagerequest.UpdateDefaultUpdateTime = preimagerequestDescUpdateTime.UpdateDefault.(func() time.Time)
	// preimagerequestDescPaymentHash is the schema descriptor for payment_hash field.
	preimagerequestDescPaymentHash := preimagerequestFields[0].Descriptor()
	// preimagerequest.PaymentHashValidator is a validator for the "payment_hash" field. It is called by the builders before save.
	preimagerequest.PaymentHashValidator = preimagerequestDescPaymentHash.Validators[0].(func([]byte) error)
	// preimagerequestDescID is the schema descriptor for id field.
	preimagerequestDescID := preimagerequestMixinFields0[0].Descriptor()
	// preimagerequest.DefaultID holds the default value on creation for the id field.
	preimagerequest.DefaultID = preimagerequestDescID.Default.(func() uuid.UUID)
	preimageshareMixin := schema.PreimageShare{}.Mixin()
	preimageshareMixinFields0 := preimageshareMixin[0].Fields()
	_ = preimageshareMixinFields0
	preimageshareFields := schema.PreimageShare{}.Fields()
	_ = preimageshareFields
	// preimageshareDescCreateTime is the schema descriptor for create_time field.
	preimageshareDescCreateTime := preimageshareMixinFields0[1].Descriptor()
	// preimageshare.DefaultCreateTime holds the default value on creation for the create_time field.
	preimageshare.DefaultCreateTime = preimageshareDescCreateTime.Default.(func() time.Time)
	// preimageshareDescUpdateTime is the schema descriptor for update_time field.
	preimageshareDescUpdateTime := preimageshareMixinFields0[2].Descriptor()
	// preimageshare.DefaultUpdateTime holds the default value on creation for the update_time field.
	preimageshare.DefaultUpdateTime = preimageshareDescUpdateTime.Default.(func() time.Time)
	// preimageshare.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	preimageshare.UpdateDefaultUpdateTime = preimageshareDescUpdateTime.UpdateDefault.(func() time.Time)
	// preimageshareDescPaymentHash is the schema descriptor for payment_hash field.
	preimageshareDescPaymentHash := preimageshareFields[0].Descriptor()
	// preimageshare.PaymentHashValidator is a validator for the "payment_hash" field. It is called by the builders before save.
	preimageshare.PaymentHashValidator = preimageshareDescPaymentHash.Validators[0].(func([]byte) error)
	// preimageshareDescPreimageShare is the schema descriptor for preimage_share field.
	preimageshareDescPreimageShare := preimageshareFields[1].Descriptor()
	// preimageshare.PreimageShareValidator is a validator for the "preimage_share" field. It is called by the builders before save.
	preimageshare.PreimageShareValidator = preimageshareDescPreimageShare.Validators[0].(func([]byte) error)
	// preimageshareDescInvoiceString is the schema descriptor for invoice_string field.
	preimageshareDescInvoiceString := preimageshareFields[4].Descriptor()
	// preimageshare.InvoiceStringValidator is a validator for the "invoice_string" field. It is called by the builders before save.
	preimageshare.InvoiceStringValidator = preimageshareDescInvoiceString.Validators[0].(func(string) error)
	// preimageshareDescID is the schema descriptor for id field.
	preimageshareDescID := preimageshareMixinFields0[0].Descriptor()
	// preimageshare.DefaultID holds the default value on creation for the id field.
	preimageshare.DefaultID = preimageshareDescID.Default.(func() uuid.UUID)
	signingcommitmentMixin := schema.SigningCommitment{}.Mixin()
	signingcommitmentMixinFields0 := signingcommitmentMixin[0].Fields()
	_ = signingcommitmentMixinFields0
	signingcommitmentFields := schema.SigningCommitment{}.Fields()
	_ = signingcommitmentFields
	// signingcommitmentDescCreateTime is the schema descriptor for create_time field.
	signingcommitmentDescCreateTime := signingcommitmentMixinFields0[1].Descriptor()
	// signingcommitment.DefaultCreateTime holds the default value on creation for the create_time field.
	signingcommitment.DefaultCreateTime = signingcommitmentDescCreateTime.Default.(func() time.Time)
	// signingcommitmentDescUpdateTime is the schema descriptor for update_time field.
	signingcommitmentDescUpdateTime := signingcommitmentMixinFields0[2].Descriptor()
	// signingcommitment.DefaultUpdateTime holds the default value on creation for the update_time field.
	signingcommitment.DefaultUpdateTime = signingcommitmentDescUpdateTime.Default.(func() time.Time)
	// signingcommitment.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	signingcommitment.UpdateDefaultUpdateTime = signingcommitmentDescUpdateTime.UpdateDefault.(func() time.Time)
	// signingcommitmentDescID is the schema descriptor for id field.
	signingcommitmentDescID := signingcommitmentMixinFields0[0].Descriptor()
	// signingcommitment.DefaultID holds the default value on creation for the id field.
	signingcommitment.DefaultID = signingcommitmentDescID.Default.(func() uuid.UUID)
	signingkeyshareMixin := schema.SigningKeyshare{}.Mixin()
	signingkeyshareMixinFields0 := signingkeyshareMixin[0].Fields()
	_ = signingkeyshareMixinFields0
	signingkeyshareFields := schema.SigningKeyshare{}.Fields()
	_ = signingkeyshareFields
	// signingkeyshareDescCreateTime is the schema descriptor for create_time field.
	signingkeyshareDescCreateTime := signingkeyshareMixinFields0[1].Descriptor()
	// signingkeyshare.DefaultCreateTime holds the default value on creation for the create_time field.
	signingkeyshare.DefaultCreateTime = signingkeyshareDescCreateTime.Default.(func() time.Time)
	// signingkeyshareDescUpdateTime is the schema descriptor for update_time field.
	signingkeyshareDescUpdateTime := signingkeyshareMixinFields0[2].Descriptor()
	// signingkeyshare.DefaultUpdateTime holds the default value on creation for the update_time field.
	signingkeyshare.DefaultUpdateTime = signingkeyshareDescUpdateTime.Default.(func() time.Time)
	// signingkeyshare.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	signingkeyshare.UpdateDefaultUpdateTime = signingkeyshareDescUpdateTime.UpdateDefault.(func() time.Time)
	// signingkeyshareDescID is the schema descriptor for id field.
	signingkeyshareDescID := signingkeyshareMixinFields0[0].Descriptor()
	// signingkeyshare.DefaultID holds the default value on creation for the id field.
	signingkeyshare.DefaultID = signingkeyshareDescID.Default.(func() uuid.UUID)
	signingnonceMixin := schema.SigningNonce{}.Mixin()
	signingnonceMixinFields0 := signingnonceMixin[0].Fields()
	_ = signingnonceMixinFields0
	signingnonceFields := schema.SigningNonce{}.Fields()
	_ = signingnonceFields
	// signingnonceDescCreateTime is the schema descriptor for create_time field.
	signingnonceDescCreateTime := signingnonceMixinFields0[1].Descriptor()
	// signingnonce.DefaultCreateTime holds the default value on creation for the create_time field.
	signingnonce.DefaultCreateTime = signingnonceDescCreateTime.Default.(func() time.Time)
	// signingnonceDescUpdateTime is the schema descriptor for update_time field.
	signingnonceDescUpdateTime := signingnonceMixinFields0[2].Descriptor()
	// signingnonce.DefaultUpdateTime holds the default value on creation for the update_time field.
	signingnonce.DefaultUpdateTime = signingnonceDescUpdateTime.Default.(func() time.Time)
	// signingnonce.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	signingnonce.UpdateDefaultUpdateTime = signingnonceDescUpdateTime.UpdateDefault.(func() time.Time)
	// signingnonceDescID is the schema descriptor for id field.
	signingnonceDescID := signingnonceMixinFields0[0].Descriptor()
	// signingnonce.DefaultID holds the default value on creation for the id field.
	signingnonce.DefaultID = signingnonceDescID.Default.(func() uuid.UUID)
	sparkinvoiceMixin := schema.SparkInvoice{}.Mixin()
	sparkinvoiceMixinFields0 := sparkinvoiceMixin[0].Fields()
	_ = sparkinvoiceMixinFields0
	sparkinvoiceFields := schema.SparkInvoice{}.Fields()
	_ = sparkinvoiceFields
	// sparkinvoiceDescCreateTime is the schema descriptor for create_time field.
	sparkinvoiceDescCreateTime := sparkinvoiceMixinFields0[1].Descriptor()
	// sparkinvoice.DefaultCreateTime holds the default value on creation for the create_time field.
	sparkinvoice.DefaultCreateTime = sparkinvoiceDescCreateTime.Default.(func() time.Time)
	// sparkinvoiceDescUpdateTime is the schema descriptor for update_time field.
	sparkinvoiceDescUpdateTime := sparkinvoiceMixinFields0[2].Descriptor()
	// sparkinvoice.DefaultUpdateTime holds the default value on creation for the update_time field.
	sparkinvoice.DefaultUpdateTime = sparkinvoiceDescUpdateTime.Default.(func() time.Time)
	// sparkinvoice.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	sparkinvoice.UpdateDefaultUpdateTime = sparkinvoiceDescUpdateTime.UpdateDefault.(func() time.Time)
	// sparkinvoiceDescSparkInvoice is the schema descriptor for spark_invoice field.
	sparkinvoiceDescSparkInvoice := sparkinvoiceFields[0].Descriptor()
	// sparkinvoice.SparkInvoiceValidator is a validator for the "spark_invoice" field. It is called by the builders before save.
	sparkinvoice.SparkInvoiceValidator = sparkinvoiceDescSparkInvoice.Validators[0].(func(string) error)
	// sparkinvoiceDescID is the schema descriptor for id field.
	sparkinvoiceDescID := sparkinvoiceMixinFields0[0].Descriptor()
	// sparkinvoice.DefaultID holds the default value on creation for the id field.
	sparkinvoice.DefaultID = sparkinvoiceDescID.Default.(func() uuid.UUID)
	tokencreateMixin := schema.TokenCreate{}.Mixin()
	tokencreateMixinFields0 := tokencreateMixin[0].Fields()
	_ = tokencreateMixinFields0
	tokencreateMixinFields1 := tokencreateMixin[1].Fields()
	_ = tokencreateMixinFields1
	tokencreateFields := schema.TokenCreate{}.Fields()
	_ = tokencreateFields
	// tokencreateDescCreateTime is the schema descriptor for create_time field.
	tokencreateDescCreateTime := tokencreateMixinFields0[1].Descriptor()
	// tokencreate.DefaultCreateTime holds the default value on creation for the create_time field.
	tokencreate.DefaultCreateTime = tokencreateDescCreateTime.Default.(func() time.Time)
	// tokencreateDescUpdateTime is the schema descriptor for update_time field.
	tokencreateDescUpdateTime := tokencreateMixinFields0[2].Descriptor()
	// tokencreate.DefaultUpdateTime holds the default value on creation for the update_time field.
	tokencreate.DefaultUpdateTime = tokencreateDescUpdateTime.Default.(func() time.Time)
	// tokencreate.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	tokencreate.UpdateDefaultUpdateTime = tokencreateDescUpdateTime.UpdateDefault.(func() time.Time)
	// tokencreateDescTokenName is the schema descriptor for token_name field.
	tokencreateDescTokenName := tokencreateMixinFields1[1].Descriptor()
	// tokencreate.TokenNameValidator is a validator for the "token_name" field. It is called by the builders before save.
	tokencreate.TokenNameValidator = tokencreateDescTokenName.Validators[0].(func(string) error)
	// tokencreateDescTokenTicker is the schema descriptor for token_ticker field.
	tokencreateDescTokenTicker := tokencreateMixinFields1[2].Descriptor()
	// tokencreate.TokenTickerValidator is a validator for the "token_ticker" field. It is called by the builders before save.
	tokencreate.TokenTickerValidator = tokencreateDescTokenTicker.Validators[0].(func(string) error)
	// tokencreateDescMaxSupply is the schema descriptor for max_supply field.
	tokencreateDescMaxSupply := tokencreateMixinFields1[4].Descriptor()
	// tokencreate.MaxSupplyValidator is a validator for the "max_supply" field. It is called by the builders before save.
	tokencreate.MaxSupplyValidator = tokencreateDescMaxSupply.Validators[0].(func([]byte) error)
	// tokencreateDescTokenIdentifier is the schema descriptor for token_identifier field.
	tokencreateDescTokenIdentifier := tokencreateMixinFields1[7].Descriptor()
	// tokencreate.TokenIdentifierValidator is a validator for the "token_identifier" field. It is called by the builders before save.
	tokencreate.TokenIdentifierValidator = tokencreateDescTokenIdentifier.Validators[0].(func([]byte) error)
	// tokencreateDescIssuerSignature is the schema descriptor for issuer_signature field.
	tokencreateDescIssuerSignature := tokencreateFields[0].Descriptor()
	// tokencreate.IssuerSignatureValidator is a validator for the "issuer_signature" field. It is called by the builders before save.
	tokencreate.IssuerSignatureValidator = tokencreateDescIssuerSignature.Validators[0].(func([]byte) error)
	// tokencreateDescID is the schema descriptor for id field.
	tokencreateDescID := tokencreateMixinFields0[0].Descriptor()
	// tokencreate.DefaultID holds the default value on creation for the id field.
	tokencreate.DefaultID = tokencreateDescID.Default.(func() uuid.UUID)
	tokenfreezeMixin := schema.TokenFreeze{}.Mixin()
	tokenfreezeMixinFields0 := tokenfreezeMixin[0].Fields()
	_ = tokenfreezeMixinFields0
	tokenfreezeFields := schema.TokenFreeze{}.Fields()
	_ = tokenfreezeFields
	// tokenfreezeDescCreateTime is the schema descriptor for create_time field.
	tokenfreezeDescCreateTime := tokenfreezeMixinFields0[1].Descriptor()
	// tokenfreeze.DefaultCreateTime holds the default value on creation for the create_time field.
	tokenfreeze.DefaultCreateTime = tokenfreezeDescCreateTime.Default.(func() time.Time)
	// tokenfreezeDescUpdateTime is the schema descriptor for update_time field.
	tokenfreezeDescUpdateTime := tokenfreezeMixinFields0[2].Descriptor()
	// tokenfreeze.DefaultUpdateTime holds the default value on creation for the update_time field.
	tokenfreeze.DefaultUpdateTime = tokenfreezeDescUpdateTime.Default.(func() time.Time)
	// tokenfreeze.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	tokenfreeze.UpdateDefaultUpdateTime = tokenfreezeDescUpdateTime.UpdateDefault.(func() time.Time)
	// tokenfreezeDescIssuerSignature is the schema descriptor for issuer_signature field.
	tokenfreezeDescIssuerSignature := tokenfreezeFields[3].Descriptor()
	// tokenfreeze.IssuerSignatureValidator is a validator for the "issuer_signature" field. It is called by the builders before save.
	tokenfreeze.IssuerSignatureValidator = tokenfreezeDescIssuerSignature.Validators[0].(func([]byte) error)
	// tokenfreezeDescID is the schema descriptor for id field.
	tokenfreezeDescID := tokenfreezeMixinFields0[0].Descriptor()
	// tokenfreeze.DefaultID holds the default value on creation for the id field.
	tokenfreeze.DefaultID = tokenfreezeDescID.Default.(func() uuid.UUID)
	tokenmintMixin := schema.TokenMint{}.Mixin()
	tokenmintMixinFields0 := tokenmintMixin[0].Fields()
	_ = tokenmintMixinFields0
	tokenmintFields := schema.TokenMint{}.Fields()
	_ = tokenmintFields
	// tokenmintDescCreateTime is the schema descriptor for create_time field.
	tokenmintDescCreateTime := tokenmintMixinFields0[1].Descriptor()
	// tokenmint.DefaultCreateTime holds the default value on creation for the create_time field.
	tokenmint.DefaultCreateTime = tokenmintDescCreateTime.Default.(func() time.Time)
	// tokenmintDescUpdateTime is the schema descriptor for update_time field.
	tokenmintDescUpdateTime := tokenmintMixinFields0[2].Descriptor()
	// tokenmint.DefaultUpdateTime holds the default value on creation for the update_time field.
	tokenmint.DefaultUpdateTime = tokenmintDescUpdateTime.Default.(func() time.Time)
	// tokenmint.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	tokenmint.UpdateDefaultUpdateTime = tokenmintDescUpdateTime.UpdateDefault.(func() time.Time)
	// tokenmintDescIssuerSignature is the schema descriptor for issuer_signature field.
	tokenmintDescIssuerSignature := tokenmintFields[2].Descriptor()
	// tokenmint.IssuerSignatureValidator is a validator for the "issuer_signature" field. It is called by the builders before save.
	tokenmint.IssuerSignatureValidator = tokenmintDescIssuerSignature.Validators[0].(func([]byte) error)
	// tokenmintDescID is the schema descriptor for id field.
	tokenmintDescID := tokenmintMixinFields0[0].Descriptor()
	// tokenmint.DefaultID holds the default value on creation for the id field.
	tokenmint.DefaultID = tokenmintDescID.Default.(func() uuid.UUID)
	tokenoutputMixin := schema.TokenOutput{}.Mixin()
	tokenoutputHooks := schema.TokenOutput{}.Hooks()
	tokenoutput.Hooks[0] = tokenoutputHooks[0]
	tokenoutputMixinFields0 := tokenoutputMixin[0].Fields()
	_ = tokenoutputMixinFields0
	tokenoutputFields := schema.TokenOutput{}.Fields()
	_ = tokenoutputFields
	// tokenoutputDescCreateTime is the schema descriptor for create_time field.
	tokenoutputDescCreateTime := tokenoutputMixinFields0[1].Descriptor()
	// tokenoutput.DefaultCreateTime holds the default value on creation for the create_time field.
	tokenoutput.DefaultCreateTime = tokenoutputDescCreateTime.Default.(func() time.Time)
	// tokenoutputDescUpdateTime is the schema descriptor for update_time field.
	tokenoutputDescUpdateTime := tokenoutputMixinFields0[2].Descriptor()
	// tokenoutput.DefaultUpdateTime holds the default value on creation for the update_time field.
	tokenoutput.DefaultUpdateTime = tokenoutputDescUpdateTime.Default.(func() time.Time)
	// tokenoutput.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	tokenoutput.UpdateDefaultUpdateTime = tokenoutputDescUpdateTime.UpdateDefault.(func() time.Time)
	// tokenoutputDescTokenAmount is the schema descriptor for token_amount field.
	tokenoutputDescTokenAmount := tokenoutputFields[6].Descriptor()
	// tokenoutput.TokenAmountValidator is a validator for the "token_amount" field. It is called by the builders before save.
	tokenoutput.TokenAmountValidator = tokenoutputDescTokenAmount.Validators[0].(func([]byte) error)
	// tokenoutputDescID is the schema descriptor for id field.
	tokenoutputDescID := tokenoutputMixinFields0[0].Descriptor()
	// tokenoutput.DefaultID holds the default value on creation for the id field.
	tokenoutput.DefaultID = tokenoutputDescID.Default.(func() uuid.UUID)
	tokenpartialrevocationsecretshareMixin := schema.TokenPartialRevocationSecretShare{}.Mixin()
	tokenpartialrevocationsecretshareMixinFields0 := tokenpartialrevocationsecretshareMixin[0].Fields()
	_ = tokenpartialrevocationsecretshareMixinFields0
	tokenpartialrevocationsecretshareFields := schema.TokenPartialRevocationSecretShare{}.Fields()
	_ = tokenpartialrevocationsecretshareFields
	// tokenpartialrevocationsecretshareDescCreateTime is the schema descriptor for create_time field.
	tokenpartialrevocationsecretshareDescCreateTime := tokenpartialrevocationsecretshareMixinFields0[1].Descriptor()
	// tokenpartialrevocationsecretshare.DefaultCreateTime holds the default value on creation for the create_time field.
	tokenpartialrevocationsecretshare.DefaultCreateTime = tokenpartialrevocationsecretshareDescCreateTime.Default.(func() time.Time)
	// tokenpartialrevocationsecretshareDescUpdateTime is the schema descriptor for update_time field.
	tokenpartialrevocationsecretshareDescUpdateTime := tokenpartialrevocationsecretshareMixinFields0[2].Descriptor()
	// tokenpartialrevocationsecretshare.DefaultUpdateTime holds the default value on creation for the update_time field.
	tokenpartialrevocationsecretshare.DefaultUpdateTime = tokenpartialrevocationsecretshareDescUpdateTime.Default.(func() time.Time)
	// tokenpartialrevocationsecretshare.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	tokenpartialrevocationsecretshare.UpdateDefaultUpdateTime = tokenpartialrevocationsecretshareDescUpdateTime.UpdateDefault.(func() time.Time)
	// tokenpartialrevocationsecretshareDescID is the schema descriptor for id field.
	tokenpartialrevocationsecretshareDescID := tokenpartialrevocationsecretshareMixinFields0[0].Descriptor()
	// tokenpartialrevocationsecretshare.DefaultID holds the default value on creation for the id field.
	tokenpartialrevocationsecretshare.DefaultID = tokenpartialrevocationsecretshareDescID.Default.(func() uuid.UUID)
	tokentransactionMixin := schema.TokenTransaction{}.Mixin()
	tokentransactionHooks := schema.TokenTransaction{}.Hooks()
	tokentransaction.Hooks[0] = tokentransactionHooks[0]
	tokentransactionMixinFields0 := tokentransactionMixin[0].Fields()
	_ = tokentransactionMixinFields0
	tokentransactionFields := schema.TokenTransaction{}.Fields()
	_ = tokentransactionFields
	// tokentransactionDescCreateTime is the schema descriptor for create_time field.
	tokentransactionDescCreateTime := tokentransactionMixinFields0[1].Descriptor()
	// tokentransaction.DefaultCreateTime holds the default value on creation for the create_time field.
	tokentransaction.DefaultCreateTime = tokentransactionDescCreateTime.Default.(func() time.Time)
	// tokentransactionDescUpdateTime is the schema descriptor for update_time field.
	tokentransactionDescUpdateTime := tokentransactionMixinFields0[2].Descriptor()
	// tokentransaction.DefaultUpdateTime holds the default value on creation for the update_time field.
	tokentransaction.DefaultUpdateTime = tokentransactionDescUpdateTime.Default.(func() time.Time)
	// tokentransaction.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	tokentransaction.UpdateDefaultUpdateTime = tokentransactionDescUpdateTime.UpdateDefault.(func() time.Time)
	// tokentransactionDescPartialTokenTransactionHash is the schema descriptor for partial_token_transaction_hash field.
	tokentransactionDescPartialTokenTransactionHash := tokentransactionFields[0].Descriptor()
	// tokentransaction.PartialTokenTransactionHashValidator is a validator for the "partial_token_transaction_hash" field. It is called by the builders before save.
	tokentransaction.PartialTokenTransactionHashValidator = tokentransactionDescPartialTokenTransactionHash.Validators[0].(func([]byte) error)
	// tokentransactionDescFinalizedTokenTransactionHash is the schema descriptor for finalized_token_transaction_hash field.
	tokentransactionDescFinalizedTokenTransactionHash := tokentransactionFields[1].Descriptor()
	// tokentransaction.FinalizedTokenTransactionHashValidator is a validator for the "finalized_token_transaction_hash" field. It is called by the builders before save.
	tokentransaction.FinalizedTokenTransactionHashValidator = tokentransactionDescFinalizedTokenTransactionHash.Validators[0].(func([]byte) error)
	// tokentransactionDescVersion is the schema descriptor for version field.
	tokentransactionDescVersion := tokentransactionFields[7].Descriptor()
	// tokentransaction.DefaultVersion holds the default value on creation for the version field.
	tokentransaction.DefaultVersion = schematype.TokenTransactionVersion(tokentransactionDescVersion.Default.(int))
	// tokentransaction.VersionValidator is a validator for the "version" field. It is called by the builders before save.
	tokentransaction.VersionValidator = tokentransactionDescVersion.Validators[0].(func(int) error)
	// tokentransactionDescID is the schema descriptor for id field.
	tokentransactionDescID := tokentransactionMixinFields0[0].Descriptor()
	// tokentransaction.DefaultID holds the default value on creation for the id field.
	tokentransaction.DefaultID = tokentransactionDescID.Default.(func() uuid.UUID)
	tokentransactionpeersignatureMixin := schema.TokenTransactionPeerSignature{}.Mixin()
	tokentransactionpeersignatureMixinFields0 := tokentransactionpeersignatureMixin[0].Fields()
	_ = tokentransactionpeersignatureMixinFields0
	tokentransactionpeersignatureFields := schema.TokenTransactionPeerSignature{}.Fields()
	_ = tokentransactionpeersignatureFields
	// tokentransactionpeersignatureDescCreateTime is the schema descriptor for create_time field.
	tokentransactionpeersignatureDescCreateTime := tokentransactionpeersignatureMixinFields0[1].Descriptor()
	// tokentransactionpeersignature.DefaultCreateTime holds the default value on creation for the create_time field.
	tokentransactionpeersignature.DefaultCreateTime = tokentransactionpeersignatureDescCreateTime.Default.(func() time.Time)
	// tokentransactionpeersignatureDescUpdateTime is the schema descriptor for update_time field.
	tokentransactionpeersignatureDescUpdateTime := tokentransactionpeersignatureMixinFields0[2].Descriptor()
	// tokentransactionpeersignature.DefaultUpdateTime holds the default value on creation for the update_time field.
	tokentransactionpeersignature.DefaultUpdateTime = tokentransactionpeersignatureDescUpdateTime.Default.(func() time.Time)
	// tokentransactionpeersignature.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	tokentransactionpeersignature.UpdateDefaultUpdateTime = tokentransactionpeersignatureDescUpdateTime.UpdateDefault.(func() time.Time)
	// tokentransactionpeersignatureDescSignature is the schema descriptor for signature field.
	tokentransactionpeersignatureDescSignature := tokentransactionpeersignatureFields[1].Descriptor()
	// tokentransactionpeersignature.SignatureValidator is a validator for the "signature" field. It is called by the builders before save.
	tokentransactionpeersignature.SignatureValidator = tokentransactionpeersignatureDescSignature.Validators[0].(func([]byte) error)
	// tokentransactionpeersignatureDescID is the schema descriptor for id field.
	tokentransactionpeersignatureDescID := tokentransactionpeersignatureMixinFields0[0].Descriptor()
	// tokentransactionpeersignature.DefaultID holds the default value on creation for the id field.
	tokentransactionpeersignature.DefaultID = tokentransactionpeersignatureDescID.Default.(func() uuid.UUID)
	transferMixin := schema.Transfer{}.Mixin()
	transferMixinHooks1 := transferMixin[1].Hooks()
	transfer.Hooks[0] = transferMixinHooks1[0]
	transferMixinFields0 := transferMixin[0].Fields()
	_ = transferMixinFields0
	transferFields := schema.Transfer{}.Fields()
	_ = transferFields
	// transferDescCreateTime is the schema descriptor for create_time field.
	transferDescCreateTime := transferMixinFields0[1].Descriptor()
	// transfer.DefaultCreateTime holds the default value on creation for the create_time field.
	transfer.DefaultCreateTime = transferDescCreateTime.Default.(func() time.Time)
	// transferDescUpdateTime is the schema descriptor for update_time field.
	transferDescUpdateTime := transferMixinFields0[2].Descriptor()
	// transfer.DefaultUpdateTime holds the default value on creation for the update_time field.
	transfer.DefaultUpdateTime = transferDescUpdateTime.Default.(func() time.Time)
	// transfer.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	transfer.UpdateDefaultUpdateTime = transferDescUpdateTime.UpdateDefault.(func() time.Time)
	// transferDescID is the schema descriptor for id field.
	transferDescID := transferMixinFields0[0].Descriptor()
	// transfer.DefaultID holds the default value on creation for the id field.
	transfer.DefaultID = transferDescID.Default.(func() uuid.UUID)
	transferleafMixin := schema.TransferLeaf{}.Mixin()
	transferleafMixinFields0 := transferleafMixin[0].Fields()
	_ = transferleafMixinFields0
	transferleafFields := schema.TransferLeaf{}.Fields()
	_ = transferleafFields
	// transferleafDescCreateTime is the schema descriptor for create_time field.
	transferleafDescCreateTime := transferleafMixinFields0[1].Descriptor()
	// transferleaf.DefaultCreateTime holds the default value on creation for the create_time field.
	transferleaf.DefaultCreateTime = transferleafDescCreateTime.Default.(func() time.Time)
	// transferleafDescUpdateTime is the schema descriptor for update_time field.
	transferleafDescUpdateTime := transferleafMixinFields0[2].Descriptor()
	// transferleaf.DefaultUpdateTime holds the default value on creation for the update_time field.
	transferleaf.DefaultUpdateTime = transferleafDescUpdateTime.Default.(func() time.Time)
	// transferleaf.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	transferleaf.UpdateDefaultUpdateTime = transferleafDescUpdateTime.UpdateDefault.(func() time.Time)
	// transferleafDescPreviousRefundTx is the schema descriptor for previous_refund_tx field.
	transferleafDescPreviousRefundTx := transferleafFields[2].Descriptor()
	// transferleaf.PreviousRefundTxValidator is a validator for the "previous_refund_tx" field. It is called by the builders before save.
	transferleaf.PreviousRefundTxValidator = transferleafDescPreviousRefundTx.Validators[0].(func([]byte) error)
	// transferleafDescIntermediateRefundTx is the schema descriptor for intermediate_refund_tx field.
	transferleafDescIntermediateRefundTx := transferleafFields[5].Descriptor()
	// transferleaf.IntermediateRefundTxValidator is a validator for the "intermediate_refund_tx" field. It is called by the builders before save.
	transferleaf.IntermediateRefundTxValidator = transferleafDescIntermediateRefundTx.Validators[0].(func([]byte) error)
	// transferleafDescID is the schema descriptor for id field.
	transferleafDescID := transferleafMixinFields0[0].Descriptor()
	// transferleaf.DefaultID holds the default value on creation for the id field.
	transferleaf.DefaultID = transferleafDescID.Default.(func() uuid.UUID)
	treeMixin := schema.Tree{}.Mixin()
	treeMixinFields0 := treeMixin[0].Fields()
	_ = treeMixinFields0
	treeFields := schema.Tree{}.Fields()
	_ = treeFields
	// treeDescCreateTime is the schema descriptor for create_time field.
	treeDescCreateTime := treeMixinFields0[1].Descriptor()
	// tree.DefaultCreateTime holds the default value on creation for the create_time field.
	tree.DefaultCreateTime = treeDescCreateTime.Default.(func() time.Time)
	// treeDescUpdateTime is the schema descriptor for update_time field.
	treeDescUpdateTime := treeMixinFields0[2].Descriptor()
	// tree.DefaultUpdateTime holds the default value on creation for the update_time field.
	tree.DefaultUpdateTime = treeDescUpdateTime.Default.(func() time.Time)
	// tree.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	tree.UpdateDefaultUpdateTime = treeDescUpdateTime.UpdateDefault.(func() time.Time)
	// treeDescBaseTxid is the schema descriptor for base_txid field.
	treeDescBaseTxid := treeFields[3].Descriptor()
	// tree.BaseTxidValidator is a validator for the "base_txid" field. It is called by the builders before save.
	tree.BaseTxidValidator = treeDescBaseTxid.Validators[0].(func([]byte) error)
	// treeDescVout is the schema descriptor for vout field.
	treeDescVout := treeFields[4].Descriptor()
	// tree.VoutValidator is a validator for the "vout" field. It is called by the builders before save.
	tree.VoutValidator = treeDescVout.Validators[0].(func(int16) error)
	// treeDescID is the schema descriptor for id field.
	treeDescID := treeMixinFields0[0].Descriptor()
	// tree.DefaultID holds the default value on creation for the id field.
	tree.DefaultID = treeDescID.Default.(func() uuid.UUID)
	treenodeMixin := schema.TreeNode{}.Mixin()
	treenodeHooks := schema.TreeNode{}.Hooks()
	treenode.Hooks[0] = treenodeHooks[0]
	treenode.Hooks[1] = treenodeHooks[1]
	treenodeMixinFields0 := treenodeMixin[0].Fields()
	_ = treenodeMixinFields0
	treenodeFields := schema.TreeNode{}.Fields()
	_ = treenodeFields
	// treenodeDescCreateTime is the schema descriptor for create_time field.
	treenodeDescCreateTime := treenodeMixinFields0[1].Descriptor()
	// treenode.DefaultCreateTime holds the default value on creation for the create_time field.
	treenode.DefaultCreateTime = treenodeDescCreateTime.Default.(func() time.Time)
	// treenodeDescUpdateTime is the schema descriptor for update_time field.
	treenodeDescUpdateTime := treenodeMixinFields0[2].Descriptor()
	// treenode.DefaultUpdateTime holds the default value on creation for the update_time field.
	treenode.DefaultUpdateTime = treenodeDescUpdateTime.Default.(func() time.Time)
	// treenode.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	treenode.UpdateDefaultUpdateTime = treenodeDescUpdateTime.UpdateDefault.(func() time.Time)
	// treenodeDescRawTx is the schema descriptor for raw_tx field.
	treenodeDescRawTx := treenodeFields[8].Descriptor()
	// treenode.RawTxValidator is a validator for the "raw_tx" field. It is called by the builders before save.
	treenode.RawTxValidator = treenodeDescRawTx.Validators[0].(func([]byte) error)
	// treenodeDescID is the schema descriptor for id field.
	treenodeDescID := treenodeMixinFields0[0].Descriptor()
	// treenode.DefaultID holds the default value on creation for the id field.
	treenode.DefaultID = treenodeDescID.Default.(func() uuid.UUID)
	usersignedtransactionMixin := schema.UserSignedTransaction{}.Mixin()
	usersignedtransactionMixinFields0 := usersignedtransactionMixin[0].Fields()
	_ = usersignedtransactionMixinFields0
	usersignedtransactionFields := schema.UserSignedTransaction{}.Fields()
	_ = usersignedtransactionFields
	// usersignedtransactionDescCreateTime is the schema descriptor for create_time field.
	usersignedtransactionDescCreateTime := usersignedtransactionMixinFields0[1].Descriptor()
	// usersignedtransaction.DefaultCreateTime holds the default value on creation for the create_time field.
	usersignedtransaction.DefaultCreateTime = usersignedtransactionDescCreateTime.Default.(func() time.Time)
	// usersignedtransactionDescUpdateTime is the schema descriptor for update_time field.
	usersignedtransactionDescUpdateTime := usersignedtransactionMixinFields0[2].Descriptor()
	// usersignedtransaction.DefaultUpdateTime holds the default value on creation for the update_time field.
	usersignedtransaction.DefaultUpdateTime = usersignedtransactionDescUpdateTime.Default.(func() time.Time)
	// usersignedtransaction.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	usersignedtransaction.UpdateDefaultUpdateTime = usersignedtransactionDescUpdateTime.UpdateDefault.(func() time.Time)
	// usersignedtransactionDescTransaction is the schema descriptor for transaction field.
	usersignedtransactionDescTransaction := usersignedtransactionFields[0].Descriptor()
	// usersignedtransaction.TransactionValidator is a validator for the "transaction" field. It is called by the builders before save.
	usersignedtransaction.TransactionValidator = usersignedtransactionDescTransaction.Validators[0].(func([]byte) error)
	// usersignedtransactionDescUserSignature is the schema descriptor for user_signature field.
	usersignedtransactionDescUserSignature := usersignedtransactionFields[1].Descriptor()
	// usersignedtransaction.UserSignatureValidator is a validator for the "user_signature" field. It is called by the builders before save.
	usersignedtransaction.UserSignatureValidator = usersignedtransactionDescUserSignature.Validators[0].(func([]byte) error)
	// usersignedtransactionDescSigningCommitments is the schema descriptor for signing_commitments field.
	usersignedtransactionDescSigningCommitments := usersignedtransactionFields[2].Descriptor()
	// usersignedtransaction.SigningCommitmentsValidator is a validator for the "signing_commitments" field. It is called by the builders before save.
	usersignedtransaction.SigningCommitmentsValidator = usersignedtransactionDescSigningCommitments.Validators[0].(func([]byte) error)
	// usersignedtransactionDescUserSignatureCommitment is the schema descriptor for user_signature_commitment field.
	usersignedtransactionDescUserSignatureCommitment := usersignedtransactionFields[3].Descriptor()
	// usersignedtransaction.UserSignatureCommitmentValidator is a validator for the "user_signature_commitment" field. It is called by the builders before save.
	usersignedtransaction.UserSignatureCommitmentValidator = usersignedtransactionDescUserSignatureCommitment.Validators[0].(func([]byte) error)
	// usersignedtransactionDescID is the schema descriptor for id field.
	usersignedtransactionDescID := usersignedtransactionMixinFields0[0].Descriptor()
	// usersignedtransaction.DefaultID holds the default value on creation for the id field.
	usersignedtransaction.DefaultID = usersignedtransactionDescID.Default.(func() uuid.UUID)
	utxoMixin := schema.Utxo{}.Mixin()
	utxoMixinFields0 := utxoMixin[0].Fields()
	_ = utxoMixinFields0
	utxoFields := schema.Utxo{}.Fields()
	_ = utxoFields
	// utxoDescCreateTime is the schema descriptor for create_time field.
	utxoDescCreateTime := utxoMixinFields0[1].Descriptor()
	// utxo.DefaultCreateTime holds the default value on creation for the create_time field.
	utxo.DefaultCreateTime = utxoDescCreateTime.Default.(func() time.Time)
	// utxoDescUpdateTime is the schema descriptor for update_time field.
	utxoDescUpdateTime := utxoMixinFields0[2].Descriptor()
	// utxo.DefaultUpdateTime holds the default value on creation for the update_time field.
	utxo.DefaultUpdateTime = utxoDescUpdateTime.Default.(func() time.Time)
	// utxo.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	utxo.UpdateDefaultUpdateTime = utxoDescUpdateTime.UpdateDefault.(func() time.Time)
	// utxoDescTxid is the schema descriptor for txid field.
	utxoDescTxid := utxoFields[1].Descriptor()
	// utxo.TxidValidator is a validator for the "txid" field. It is called by the builders before save.
	utxo.TxidValidator = utxoDescTxid.Validators[0].(func([]byte) error)
	// utxoDescID is the schema descriptor for id field.
	utxoDescID := utxoMixinFields0[0].Descriptor()
	// utxo.DefaultID holds the default value on creation for the id field.
	utxo.DefaultID = utxoDescID.Default.(func() uuid.UUID)
	utxoswapMixin := schema.UtxoSwap{}.Mixin()
	utxoswapMixinFields0 := utxoswapMixin[0].Fields()
	_ = utxoswapMixinFields0
	utxoswapFields := schema.UtxoSwap{}.Fields()
	_ = utxoswapFields
	// utxoswapDescCreateTime is the schema descriptor for create_time field.
	utxoswapDescCreateTime := utxoswapMixinFields0[1].Descriptor()
	// utxoswap.DefaultCreateTime holds the default value on creation for the create_time field.
	utxoswap.DefaultCreateTime = utxoswapDescCreateTime.Default.(func() time.Time)
	// utxoswapDescUpdateTime is the schema descriptor for update_time field.
	utxoswapDescUpdateTime := utxoswapMixinFields0[2].Descriptor()
	// utxoswap.DefaultUpdateTime holds the default value on creation for the update_time field.
	utxoswap.DefaultUpdateTime = utxoswapDescUpdateTime.Default.(func() time.Time)
	// utxoswap.UpdateDefaultUpdateTime holds the default value on update for the update_time field.
	utxoswap.UpdateDefaultUpdateTime = utxoswapDescUpdateTime.UpdateDefault.(func() time.Time)
	// utxoswapDescID is the schema descriptor for id field.
	utxoswapDescID := utxoswapMixinFields0[0].Descriptor()
	// utxoswap.DefaultID holds the default value on creation for the id field.
	utxoswap.DefaultID = utxoswapDescID.Default.(func() uuid.UUID)
}

const (
	Version = "v0.14.3"                                         // Version of ent codegen.
	Sum     = "h1:wokAV/kIlH9TeklJWGGS7AYJdVckr0DloWjIcO9iIIQ=" // Sum of ent codegen.
)
