// Code generated by ent, DO NOT EDIT.

package wpchatroommember

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

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

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

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

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

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

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

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

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

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

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

// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func Status(v uint8) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldEQ(FieldStatus, v))
}

// WxWxid applies equality check predicate on the "wx_wxid" field. It's identical to WxWxidEQ.
func WxWxid(v string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldEQ(FieldWxWxid, v))
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// StatusEQ applies the EQ predicate on the "status" field.
func StatusEQ(v uint8) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldEQ(FieldStatus, v))
}

// StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNEQ(v uint8) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldNEQ(FieldStatus, v))
}

// StatusIn applies the In predicate on the "status" field.
func StatusIn(vs ...uint8) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldIn(FieldStatus, vs...))
}

// StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotIn(vs ...uint8) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldNotIn(FieldStatus, vs...))
}

// StatusGT applies the GT predicate on the "status" field.
func StatusGT(v uint8) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldGT(FieldStatus, v))
}

// StatusGTE applies the GTE predicate on the "status" field.
func StatusGTE(v uint8) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldGTE(FieldStatus, v))
}

// StatusLT applies the LT predicate on the "status" field.
func StatusLT(v uint8) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldLT(FieldStatus, v))
}

// StatusLTE applies the LTE predicate on the "status" field.
func StatusLTE(v uint8) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldLTE(FieldStatus, v))
}

// StatusIsNil applies the IsNil predicate on the "status" field.
func StatusIsNil() predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldIsNull(FieldStatus))
}

// StatusNotNil applies the NotNil predicate on the "status" field.
func StatusNotNil() predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldNotNull(FieldStatus))
}

// WxWxidEQ applies the EQ predicate on the "wx_wxid" field.
func WxWxidEQ(v string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldEQ(FieldWxWxid, v))
}

// WxWxidNEQ applies the NEQ predicate on the "wx_wxid" field.
func WxWxidNEQ(v string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldNEQ(FieldWxWxid, v))
}

// WxWxidIn applies the In predicate on the "wx_wxid" field.
func WxWxidIn(vs ...string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldIn(FieldWxWxid, vs...))
}

// WxWxidNotIn applies the NotIn predicate on the "wx_wxid" field.
func WxWxidNotIn(vs ...string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldNotIn(FieldWxWxid, vs...))
}

// WxWxidGT applies the GT predicate on the "wx_wxid" field.
func WxWxidGT(v string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldGT(FieldWxWxid, v))
}

// WxWxidGTE applies the GTE predicate on the "wx_wxid" field.
func WxWxidGTE(v string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldGTE(FieldWxWxid, v))
}

// WxWxidLT applies the LT predicate on the "wx_wxid" field.
func WxWxidLT(v string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldLT(FieldWxWxid, v))
}

// WxWxidLTE applies the LTE predicate on the "wx_wxid" field.
func WxWxidLTE(v string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldLTE(FieldWxWxid, v))
}

// WxWxidContains applies the Contains predicate on the "wx_wxid" field.
func WxWxidContains(v string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldContains(FieldWxWxid, v))
}

// WxWxidHasPrefix applies the HasPrefix predicate on the "wx_wxid" field.
func WxWxidHasPrefix(v string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldHasPrefix(FieldWxWxid, v))
}

// WxWxidHasSuffix applies the HasSuffix predicate on the "wx_wxid" field.
func WxWxidHasSuffix(v string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldHasSuffix(FieldWxWxid, v))
}

// WxWxidEqualFold applies the EqualFold predicate on the "wx_wxid" field.
func WxWxidEqualFold(v string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldEqualFold(FieldWxWxid, v))
}

// WxWxidContainsFold applies the ContainsFold predicate on the "wx_wxid" field.
func WxWxidContainsFold(v string) predicate.WpChatroomMember {
	return predicate.WpChatroomMember(sql.FieldContainsFold(FieldWxWxid, v))
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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