// Code generated by ent, DO NOT EDIT.

package wxcardvisit

import (
	"time"
	"wechat-api/ent/predicate"

	"entgo.io/ent/dialect/sql"
)

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

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

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

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

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

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

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

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

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

// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAt(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldEQ(FieldCreatedAt, v))
}

// UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAt(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldEQ(FieldUpdatedAt, v))
}

// DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAt(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldEQ(FieldDeletedAt, v))
}

// UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserID(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldEQ(FieldUserID, v))
}

// BotID applies equality check predicate on the "bot_id" field. It's identical to BotIDEQ.
func BotID(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldEQ(FieldBotID, v))
}

// BotType applies equality check predicate on the "bot_type" field. It's identical to BotTypeEQ.
func BotType(v uint8) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldEQ(FieldBotType, v))
}

// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldEQ(FieldCreatedAt, v))
}

// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNEQ(FieldCreatedAt, v))
}

// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldIn(FieldCreatedAt, vs...))
}

// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNotIn(FieldCreatedAt, vs...))
}

// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldGT(FieldCreatedAt, v))
}

// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldGTE(FieldCreatedAt, v))
}

// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldLT(FieldCreatedAt, v))
}

// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldLTE(FieldCreatedAt, v))
}

// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldEQ(FieldUpdatedAt, v))
}

// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNEQ(FieldUpdatedAt, v))
}

// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldIn(FieldUpdatedAt, vs...))
}

// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNotIn(FieldUpdatedAt, vs...))
}

// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldGT(FieldUpdatedAt, v))
}

// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldGTE(FieldUpdatedAt, v))
}

// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldLT(FieldUpdatedAt, v))
}

// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldLTE(FieldUpdatedAt, v))
}

// DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtEQ(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldEQ(FieldDeletedAt, v))
}

// DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNEQ(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNEQ(FieldDeletedAt, v))
}

// DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIn(vs ...time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldIn(FieldDeletedAt, vs...))
}

// DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotIn(vs ...time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNotIn(FieldDeletedAt, vs...))
}

// DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGT(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldGT(FieldDeletedAt, v))
}

// DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtGTE(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldGTE(FieldDeletedAt, v))
}

// DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLT(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldLT(FieldDeletedAt, v))
}

// DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtLTE(v time.Time) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldLTE(FieldDeletedAt, v))
}

// DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtIsNil() predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldIsNull(FieldDeletedAt))
}

// DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedAtNotNil() predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNotNull(FieldDeletedAt))
}

// UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDEQ(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldEQ(FieldUserID, v))
}

// UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNEQ(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNEQ(FieldUserID, v))
}

// UserIDIn applies the In predicate on the "user_id" field.
func UserIDIn(vs ...uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldIn(FieldUserID, vs...))
}

// UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotIn(vs ...uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNotIn(FieldUserID, vs...))
}

// UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGT(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldGT(FieldUserID, v))
}

// UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDGTE(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldGTE(FieldUserID, v))
}

// UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLT(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldLT(FieldUserID, v))
}

// UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDLTE(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldLTE(FieldUserID, v))
}

// UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDIsNil() predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldIsNull(FieldUserID))
}

// UserIDNotNil applies the NotNil predicate on the "user_id" field.
func UserIDNotNil() predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNotNull(FieldUserID))
}

// BotIDEQ applies the EQ predicate on the "bot_id" field.
func BotIDEQ(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldEQ(FieldBotID, v))
}

// BotIDNEQ applies the NEQ predicate on the "bot_id" field.
func BotIDNEQ(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNEQ(FieldBotID, v))
}

// BotIDIn applies the In predicate on the "bot_id" field.
func BotIDIn(vs ...uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldIn(FieldBotID, vs...))
}

// BotIDNotIn applies the NotIn predicate on the "bot_id" field.
func BotIDNotIn(vs ...uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNotIn(FieldBotID, vs...))
}

// BotIDGT applies the GT predicate on the "bot_id" field.
func BotIDGT(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldGT(FieldBotID, v))
}

// BotIDGTE applies the GTE predicate on the "bot_id" field.
func BotIDGTE(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldGTE(FieldBotID, v))
}

// BotIDLT applies the LT predicate on the "bot_id" field.
func BotIDLT(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldLT(FieldBotID, v))
}

// BotIDLTE applies the LTE predicate on the "bot_id" field.
func BotIDLTE(v uint64) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldLTE(FieldBotID, v))
}

// BotTypeEQ applies the EQ predicate on the "bot_type" field.
func BotTypeEQ(v uint8) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldEQ(FieldBotType, v))
}

// BotTypeNEQ applies the NEQ predicate on the "bot_type" field.
func BotTypeNEQ(v uint8) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNEQ(FieldBotType, v))
}

// BotTypeIn applies the In predicate on the "bot_type" field.
func BotTypeIn(vs ...uint8) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldIn(FieldBotType, vs...))
}

// BotTypeNotIn applies the NotIn predicate on the "bot_type" field.
func BotTypeNotIn(vs ...uint8) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldNotIn(FieldBotType, vs...))
}

// BotTypeGT applies the GT predicate on the "bot_type" field.
func BotTypeGT(v uint8) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldGT(FieldBotType, v))
}

// BotTypeGTE applies the GTE predicate on the "bot_type" field.
func BotTypeGTE(v uint8) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldGTE(FieldBotType, v))
}

// BotTypeLT applies the LT predicate on the "bot_type" field.
func BotTypeLT(v uint8) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldLT(FieldBotType, v))
}

// BotTypeLTE applies the LTE predicate on the "bot_type" field.
func BotTypeLTE(v uint8) predicate.WxCardVisit {
	return predicate.WxCardVisit(sql.FieldLTE(FieldBotType, v))
}

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

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

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