// Code generated by ent, DO NOT EDIT.

package wxcarduser

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

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

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

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

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

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

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

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

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

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

// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id uint64) predicate.WxCardUser {
	return predicate.WxCardUser(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.WxCardUser {
	return predicate.WxCardUser(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.WxCardUser {
	return predicate.WxCardUser(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.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldDeletedAt, v))
}

// Wxid applies equality check predicate on the "wxid" field. It's identical to WxidEQ.
func Wxid(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldWxid, v))
}

// Account applies equality check predicate on the "account" field. It's identical to AccountEQ.
func Account(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldAccount, v))
}

// Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
func Avatar(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldAvatar, v))
}

// Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
func Nickname(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldNickname, v))
}

// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func Remark(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldRemark, v))
}

// Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func Phone(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldPhone, v))
}

// OpenID applies equality check predicate on the "open_id" field. It's identical to OpenIDEQ.
func OpenID(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldOpenID, v))
}

// UnionID applies equality check predicate on the "union_id" field. It's identical to UnionIDEQ.
func UnionID(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldUnionID, v))
}

// SessionKey applies equality check predicate on the "session_key" field. It's identical to SessionKeyEQ.
func SessionKey(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldSessionKey, v))
}

// IsVip applies equality check predicate on the "is_vip" field. It's identical to IsVipEQ.
func IsVip(v int) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldIsVip, v))
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// WxidEQ applies the EQ predicate on the "wxid" field.
func WxidEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldWxid, v))
}

// WxidNEQ applies the NEQ predicate on the "wxid" field.
func WxidNEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNEQ(FieldWxid, v))
}

// WxidIn applies the In predicate on the "wxid" field.
func WxidIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldIn(FieldWxid, vs...))
}

// WxidNotIn applies the NotIn predicate on the "wxid" field.
func WxidNotIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNotIn(FieldWxid, vs...))
}

// WxidGT applies the GT predicate on the "wxid" field.
func WxidGT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGT(FieldWxid, v))
}

// WxidGTE applies the GTE predicate on the "wxid" field.
func WxidGTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGTE(FieldWxid, v))
}

// WxidLT applies the LT predicate on the "wxid" field.
func WxidLT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLT(FieldWxid, v))
}

// WxidLTE applies the LTE predicate on the "wxid" field.
func WxidLTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLTE(FieldWxid, v))
}

// WxidContains applies the Contains predicate on the "wxid" field.
func WxidContains(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContains(FieldWxid, v))
}

// WxidHasPrefix applies the HasPrefix predicate on the "wxid" field.
func WxidHasPrefix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasPrefix(FieldWxid, v))
}

// WxidHasSuffix applies the HasSuffix predicate on the "wxid" field.
func WxidHasSuffix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasSuffix(FieldWxid, v))
}

// WxidEqualFold applies the EqualFold predicate on the "wxid" field.
func WxidEqualFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEqualFold(FieldWxid, v))
}

// WxidContainsFold applies the ContainsFold predicate on the "wxid" field.
func WxidContainsFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContainsFold(FieldWxid, v))
}

// AccountEQ applies the EQ predicate on the "account" field.
func AccountEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldAccount, v))
}

// AccountNEQ applies the NEQ predicate on the "account" field.
func AccountNEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNEQ(FieldAccount, v))
}

// AccountIn applies the In predicate on the "account" field.
func AccountIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldIn(FieldAccount, vs...))
}

// AccountNotIn applies the NotIn predicate on the "account" field.
func AccountNotIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNotIn(FieldAccount, vs...))
}

// AccountGT applies the GT predicate on the "account" field.
func AccountGT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGT(FieldAccount, v))
}

// AccountGTE applies the GTE predicate on the "account" field.
func AccountGTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGTE(FieldAccount, v))
}

// AccountLT applies the LT predicate on the "account" field.
func AccountLT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLT(FieldAccount, v))
}

// AccountLTE applies the LTE predicate on the "account" field.
func AccountLTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLTE(FieldAccount, v))
}

// AccountContains applies the Contains predicate on the "account" field.
func AccountContains(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContains(FieldAccount, v))
}

// AccountHasPrefix applies the HasPrefix predicate on the "account" field.
func AccountHasPrefix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasPrefix(FieldAccount, v))
}

// AccountHasSuffix applies the HasSuffix predicate on the "account" field.
func AccountHasSuffix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasSuffix(FieldAccount, v))
}

// AccountEqualFold applies the EqualFold predicate on the "account" field.
func AccountEqualFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEqualFold(FieldAccount, v))
}

// AccountContainsFold applies the ContainsFold predicate on the "account" field.
func AccountContainsFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContainsFold(FieldAccount, v))
}

// AvatarEQ applies the EQ predicate on the "avatar" field.
func AvatarEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldAvatar, v))
}

// AvatarNEQ applies the NEQ predicate on the "avatar" field.
func AvatarNEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNEQ(FieldAvatar, v))
}

// AvatarIn applies the In predicate on the "avatar" field.
func AvatarIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldIn(FieldAvatar, vs...))
}

// AvatarNotIn applies the NotIn predicate on the "avatar" field.
func AvatarNotIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNotIn(FieldAvatar, vs...))
}

// AvatarGT applies the GT predicate on the "avatar" field.
func AvatarGT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGT(FieldAvatar, v))
}

// AvatarGTE applies the GTE predicate on the "avatar" field.
func AvatarGTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGTE(FieldAvatar, v))
}

// AvatarLT applies the LT predicate on the "avatar" field.
func AvatarLT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLT(FieldAvatar, v))
}

// AvatarLTE applies the LTE predicate on the "avatar" field.
func AvatarLTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLTE(FieldAvatar, v))
}

// AvatarContains applies the Contains predicate on the "avatar" field.
func AvatarContains(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContains(FieldAvatar, v))
}

// AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
func AvatarHasPrefix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasPrefix(FieldAvatar, v))
}

// AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
func AvatarHasSuffix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasSuffix(FieldAvatar, v))
}

// AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
func AvatarEqualFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEqualFold(FieldAvatar, v))
}

// AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
func AvatarContainsFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContainsFold(FieldAvatar, v))
}

// NicknameEQ applies the EQ predicate on the "nickname" field.
func NicknameEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldNickname, v))
}

// NicknameNEQ applies the NEQ predicate on the "nickname" field.
func NicknameNEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNEQ(FieldNickname, v))
}

// NicknameIn applies the In predicate on the "nickname" field.
func NicknameIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldIn(FieldNickname, vs...))
}

// NicknameNotIn applies the NotIn predicate on the "nickname" field.
func NicknameNotIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNotIn(FieldNickname, vs...))
}

// NicknameGT applies the GT predicate on the "nickname" field.
func NicknameGT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGT(FieldNickname, v))
}

// NicknameGTE applies the GTE predicate on the "nickname" field.
func NicknameGTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGTE(FieldNickname, v))
}

// NicknameLT applies the LT predicate on the "nickname" field.
func NicknameLT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLT(FieldNickname, v))
}

// NicknameLTE applies the LTE predicate on the "nickname" field.
func NicknameLTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLTE(FieldNickname, v))
}

// NicknameContains applies the Contains predicate on the "nickname" field.
func NicknameContains(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContains(FieldNickname, v))
}

// NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
func NicknameHasPrefix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasPrefix(FieldNickname, v))
}

// NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
func NicknameHasSuffix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasSuffix(FieldNickname, v))
}

// NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
func NicknameEqualFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEqualFold(FieldNickname, v))
}

// NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
func NicknameContainsFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContainsFold(FieldNickname, v))
}

// RemarkEQ applies the EQ predicate on the "remark" field.
func RemarkEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldRemark, v))
}

// RemarkNEQ applies the NEQ predicate on the "remark" field.
func RemarkNEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNEQ(FieldRemark, v))
}

// RemarkIn applies the In predicate on the "remark" field.
func RemarkIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldIn(FieldRemark, vs...))
}

// RemarkNotIn applies the NotIn predicate on the "remark" field.
func RemarkNotIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNotIn(FieldRemark, vs...))
}

// RemarkGT applies the GT predicate on the "remark" field.
func RemarkGT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGT(FieldRemark, v))
}

// RemarkGTE applies the GTE predicate on the "remark" field.
func RemarkGTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGTE(FieldRemark, v))
}

// RemarkLT applies the LT predicate on the "remark" field.
func RemarkLT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLT(FieldRemark, v))
}

// RemarkLTE applies the LTE predicate on the "remark" field.
func RemarkLTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLTE(FieldRemark, v))
}

// RemarkContains applies the Contains predicate on the "remark" field.
func RemarkContains(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContains(FieldRemark, v))
}

// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
func RemarkHasPrefix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasPrefix(FieldRemark, v))
}

// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
func RemarkHasSuffix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasSuffix(FieldRemark, v))
}

// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
func RemarkEqualFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEqualFold(FieldRemark, v))
}

// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
func RemarkContainsFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContainsFold(FieldRemark, v))
}

// PhoneEQ applies the EQ predicate on the "phone" field.
func PhoneEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldPhone, v))
}

// PhoneNEQ applies the NEQ predicate on the "phone" field.
func PhoneNEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNEQ(FieldPhone, v))
}

// PhoneIn applies the In predicate on the "phone" field.
func PhoneIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldIn(FieldPhone, vs...))
}

// PhoneNotIn applies the NotIn predicate on the "phone" field.
func PhoneNotIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNotIn(FieldPhone, vs...))
}

// PhoneGT applies the GT predicate on the "phone" field.
func PhoneGT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGT(FieldPhone, v))
}

// PhoneGTE applies the GTE predicate on the "phone" field.
func PhoneGTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGTE(FieldPhone, v))
}

// PhoneLT applies the LT predicate on the "phone" field.
func PhoneLT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLT(FieldPhone, v))
}

// PhoneLTE applies the LTE predicate on the "phone" field.
func PhoneLTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLTE(FieldPhone, v))
}

// PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContains(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContains(FieldPhone, v))
}

// PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasPrefix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasPrefix(FieldPhone, v))
}

// PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneHasSuffix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasSuffix(FieldPhone, v))
}

// PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneEqualFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEqualFold(FieldPhone, v))
}

// PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneContainsFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContainsFold(FieldPhone, v))
}

// OpenIDEQ applies the EQ predicate on the "open_id" field.
func OpenIDEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldOpenID, v))
}

// OpenIDNEQ applies the NEQ predicate on the "open_id" field.
func OpenIDNEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNEQ(FieldOpenID, v))
}

// OpenIDIn applies the In predicate on the "open_id" field.
func OpenIDIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldIn(FieldOpenID, vs...))
}

// OpenIDNotIn applies the NotIn predicate on the "open_id" field.
func OpenIDNotIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNotIn(FieldOpenID, vs...))
}

// OpenIDGT applies the GT predicate on the "open_id" field.
func OpenIDGT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGT(FieldOpenID, v))
}

// OpenIDGTE applies the GTE predicate on the "open_id" field.
func OpenIDGTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGTE(FieldOpenID, v))
}

// OpenIDLT applies the LT predicate on the "open_id" field.
func OpenIDLT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLT(FieldOpenID, v))
}

// OpenIDLTE applies the LTE predicate on the "open_id" field.
func OpenIDLTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLTE(FieldOpenID, v))
}

// OpenIDContains applies the Contains predicate on the "open_id" field.
func OpenIDContains(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContains(FieldOpenID, v))
}

// OpenIDHasPrefix applies the HasPrefix predicate on the "open_id" field.
func OpenIDHasPrefix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasPrefix(FieldOpenID, v))
}

// OpenIDHasSuffix applies the HasSuffix predicate on the "open_id" field.
func OpenIDHasSuffix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasSuffix(FieldOpenID, v))
}

// OpenIDEqualFold applies the EqualFold predicate on the "open_id" field.
func OpenIDEqualFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEqualFold(FieldOpenID, v))
}

// OpenIDContainsFold applies the ContainsFold predicate on the "open_id" field.
func OpenIDContainsFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContainsFold(FieldOpenID, v))
}

// UnionIDEQ applies the EQ predicate on the "union_id" field.
func UnionIDEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldUnionID, v))
}

// UnionIDNEQ applies the NEQ predicate on the "union_id" field.
func UnionIDNEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNEQ(FieldUnionID, v))
}

// UnionIDIn applies the In predicate on the "union_id" field.
func UnionIDIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldIn(FieldUnionID, vs...))
}

// UnionIDNotIn applies the NotIn predicate on the "union_id" field.
func UnionIDNotIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNotIn(FieldUnionID, vs...))
}

// UnionIDGT applies the GT predicate on the "union_id" field.
func UnionIDGT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGT(FieldUnionID, v))
}

// UnionIDGTE applies the GTE predicate on the "union_id" field.
func UnionIDGTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGTE(FieldUnionID, v))
}

// UnionIDLT applies the LT predicate on the "union_id" field.
func UnionIDLT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLT(FieldUnionID, v))
}

// UnionIDLTE applies the LTE predicate on the "union_id" field.
func UnionIDLTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLTE(FieldUnionID, v))
}

// UnionIDContains applies the Contains predicate on the "union_id" field.
func UnionIDContains(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContains(FieldUnionID, v))
}

// UnionIDHasPrefix applies the HasPrefix predicate on the "union_id" field.
func UnionIDHasPrefix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasPrefix(FieldUnionID, v))
}

// UnionIDHasSuffix applies the HasSuffix predicate on the "union_id" field.
func UnionIDHasSuffix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasSuffix(FieldUnionID, v))
}

// UnionIDEqualFold applies the EqualFold predicate on the "union_id" field.
func UnionIDEqualFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEqualFold(FieldUnionID, v))
}

// UnionIDContainsFold applies the ContainsFold predicate on the "union_id" field.
func UnionIDContainsFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContainsFold(FieldUnionID, v))
}

// SessionKeyEQ applies the EQ predicate on the "session_key" field.
func SessionKeyEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldSessionKey, v))
}

// SessionKeyNEQ applies the NEQ predicate on the "session_key" field.
func SessionKeyNEQ(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNEQ(FieldSessionKey, v))
}

// SessionKeyIn applies the In predicate on the "session_key" field.
func SessionKeyIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldIn(FieldSessionKey, vs...))
}

// SessionKeyNotIn applies the NotIn predicate on the "session_key" field.
func SessionKeyNotIn(vs ...string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNotIn(FieldSessionKey, vs...))
}

// SessionKeyGT applies the GT predicate on the "session_key" field.
func SessionKeyGT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGT(FieldSessionKey, v))
}

// SessionKeyGTE applies the GTE predicate on the "session_key" field.
func SessionKeyGTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGTE(FieldSessionKey, v))
}

// SessionKeyLT applies the LT predicate on the "session_key" field.
func SessionKeyLT(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLT(FieldSessionKey, v))
}

// SessionKeyLTE applies the LTE predicate on the "session_key" field.
func SessionKeyLTE(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLTE(FieldSessionKey, v))
}

// SessionKeyContains applies the Contains predicate on the "session_key" field.
func SessionKeyContains(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContains(FieldSessionKey, v))
}

// SessionKeyHasPrefix applies the HasPrefix predicate on the "session_key" field.
func SessionKeyHasPrefix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasPrefix(FieldSessionKey, v))
}

// SessionKeyHasSuffix applies the HasSuffix predicate on the "session_key" field.
func SessionKeyHasSuffix(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldHasSuffix(FieldSessionKey, v))
}

// SessionKeyEqualFold applies the EqualFold predicate on the "session_key" field.
func SessionKeyEqualFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEqualFold(FieldSessionKey, v))
}

// SessionKeyContainsFold applies the ContainsFold predicate on the "session_key" field.
func SessionKeyContainsFold(v string) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldContainsFold(FieldSessionKey, v))
}

// IsVipEQ applies the EQ predicate on the "is_vip" field.
func IsVipEQ(v int) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldEQ(FieldIsVip, v))
}

// IsVipNEQ applies the NEQ predicate on the "is_vip" field.
func IsVipNEQ(v int) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNEQ(FieldIsVip, v))
}

// IsVipIn applies the In predicate on the "is_vip" field.
func IsVipIn(vs ...int) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldIn(FieldIsVip, vs...))
}

// IsVipNotIn applies the NotIn predicate on the "is_vip" field.
func IsVipNotIn(vs ...int) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldNotIn(FieldIsVip, vs...))
}

// IsVipGT applies the GT predicate on the "is_vip" field.
func IsVipGT(v int) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGT(FieldIsVip, v))
}

// IsVipGTE applies the GTE predicate on the "is_vip" field.
func IsVipGTE(v int) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldGTE(FieldIsVip, v))
}

// IsVipLT applies the LT predicate on the "is_vip" field.
func IsVipLT(v int) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLT(FieldIsVip, v))
}

// IsVipLTE applies the LTE predicate on the "is_vip" field.
func IsVipLTE(v int) predicate.WxCardUser {
	return predicate.WxCardUser(sql.FieldLTE(FieldIsVip, v))
}

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

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

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