// Code generated by ent, DO NOT EDIT.

package pendingsendtransfer

import (
	"time"

	"entgo.io/ent/dialect/sql"
	"github.com/google/uuid"
	"github.com/lightsparkdev/spark/so/ent/predicate"
	"github.com/lightsparkdev/spark/so/ent/schema/schematype"
)

// ID filters vertices based on their ID field.
func ID(id uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldEQ(FieldID, id))
}

// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldEQ(FieldID, id))
}

// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldNEQ(FieldID, id))
}

// IDIn applies the In predicate on the ID field.
func IDIn(ids ...uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldIn(FieldID, ids...))
}

// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldNotIn(FieldID, ids...))
}

// IDGT applies the GT predicate on the ID field.
func IDGT(id uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldGT(FieldID, id))
}

// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldGTE(FieldID, id))
}

// IDLT applies the LT predicate on the ID field.
func IDLT(id uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldLT(FieldID, id))
}

// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldLTE(FieldID, id))
}

// CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTime(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldEQ(FieldCreateTime, v))
}

// UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTime(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldEQ(FieldUpdateTime, v))
}

// TransferID applies equality check predicate on the "transfer_id" field. It's identical to TransferIDEQ.
func TransferID(v uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldEQ(FieldTransferID, v))
}

// CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeEQ(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldEQ(FieldCreateTime, v))
}

// CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNEQ(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldNEQ(FieldCreateTime, v))
}

// CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeIn(vs ...time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldIn(FieldCreateTime, vs...))
}

// CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func CreateTimeNotIn(vs ...time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldNotIn(FieldCreateTime, vs...))
}

// CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGT(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldGT(FieldCreateTime, v))
}

// CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeGTE(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldGTE(FieldCreateTime, v))
}

// CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLT(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldLT(FieldCreateTime, v))
}

// CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeLTE(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldLTE(FieldCreateTime, v))
}

// UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeEQ(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldEQ(FieldUpdateTime, v))
}

// UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNEQ(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldNEQ(FieldUpdateTime, v))
}

// UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeIn(vs ...time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldIn(FieldUpdateTime, vs...))
}

// UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func UpdateTimeNotIn(vs ...time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldNotIn(FieldUpdateTime, vs...))
}

// UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGT(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldGT(FieldUpdateTime, v))
}

// UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeGTE(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldGTE(FieldUpdateTime, v))
}

// UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLT(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldLT(FieldUpdateTime, v))
}

// UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeLTE(v time.Time) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldLTE(FieldUpdateTime, v))
}

// TransferIDEQ applies the EQ predicate on the "transfer_id" field.
func TransferIDEQ(v uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldEQ(FieldTransferID, v))
}

// TransferIDNEQ applies the NEQ predicate on the "transfer_id" field.
func TransferIDNEQ(v uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldNEQ(FieldTransferID, v))
}

// TransferIDIn applies the In predicate on the "transfer_id" field.
func TransferIDIn(vs ...uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldIn(FieldTransferID, vs...))
}

// TransferIDNotIn applies the NotIn predicate on the "transfer_id" field.
func TransferIDNotIn(vs ...uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldNotIn(FieldTransferID, vs...))
}

// TransferIDGT applies the GT predicate on the "transfer_id" field.
func TransferIDGT(v uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldGT(FieldTransferID, v))
}

// TransferIDGTE applies the GTE predicate on the "transfer_id" field.
func TransferIDGTE(v uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldGTE(FieldTransferID, v))
}

// TransferIDLT applies the LT predicate on the "transfer_id" field.
func TransferIDLT(v uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldLT(FieldTransferID, v))
}

// TransferIDLTE applies the LTE predicate on the "transfer_id" field.
func TransferIDLTE(v uuid.UUID) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.FieldLTE(FieldTransferID, v))
}

// StatusEQ applies the EQ predicate on the "status" field.
func StatusEQ(v schematype.PendingSendTransferStatus) predicate.PendingSendTransfer {
	vc := v
	return predicate.PendingSendTransfer(sql.FieldEQ(FieldStatus, vc))
}

// StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNEQ(v schematype.PendingSendTransferStatus) predicate.PendingSendTransfer {
	vc := v
	return predicate.PendingSendTransfer(sql.FieldNEQ(FieldStatus, vc))
}

// StatusIn applies the In predicate on the "status" field.
func StatusIn(vs ...schematype.PendingSendTransferStatus) predicate.PendingSendTransfer {
	v := make([]any, len(vs))
	for i := range v {
		v[i] = vs[i]
	}
	return predicate.PendingSendTransfer(sql.FieldIn(FieldStatus, v...))
}

// StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotIn(vs ...schematype.PendingSendTransferStatus) predicate.PendingSendTransfer {
	v := make([]any, len(vs))
	for i := range v {
		v[i] = vs[i]
	}
	return predicate.PendingSendTransfer(sql.FieldNotIn(FieldStatus, v...))
}

// And groups predicates with the AND operator between them.
func And(predicates ...predicate.PendingSendTransfer) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.AndPredicates(predicates...))
}

// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.PendingSendTransfer) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.OrPredicates(predicates...))
}

// Not applies the not operator on the given predicate.
func Not(p predicate.PendingSendTransfer) predicate.PendingSendTransfer {
	return predicate.PendingSendTransfer(sql.NotPredicates(p))
}
