// Code generated by ent, DO NOT EDIT.

package message

import (
	"wechat-api/ent/predicate"

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

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

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

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

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

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

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

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

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

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

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

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

// Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func Content(v string) predicate.Message {
	return predicate.Message(sql.FieldEQ(FieldContent, v))
}

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

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

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

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

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

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

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

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

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

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

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

// WxWxidIsNil applies the IsNil predicate on the "wx_wxid" field.
func WxWxidIsNil() predicate.Message {
	return predicate.Message(sql.FieldIsNull(FieldWxWxid))
}

// WxWxidNotNil applies the NotNil predicate on the "wx_wxid" field.
func WxWxidNotNil() predicate.Message {
	return predicate.Message(sql.FieldNotNull(FieldWxWxid))
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ContentEQ applies the EQ predicate on the "content" field.
func ContentEQ(v string) predicate.Message {
	return predicate.Message(sql.FieldEQ(FieldContent, v))
}

// ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNEQ(v string) predicate.Message {
	return predicate.Message(sql.FieldNEQ(FieldContent, v))
}

// ContentIn applies the In predicate on the "content" field.
func ContentIn(vs ...string) predicate.Message {
	return predicate.Message(sql.FieldIn(FieldContent, vs...))
}

// ContentNotIn applies the NotIn predicate on the "content" field.
func ContentNotIn(vs ...string) predicate.Message {
	return predicate.Message(sql.FieldNotIn(FieldContent, vs...))
}

// ContentGT applies the GT predicate on the "content" field.
func ContentGT(v string) predicate.Message {
	return predicate.Message(sql.FieldGT(FieldContent, v))
}

// ContentGTE applies the GTE predicate on the "content" field.
func ContentGTE(v string) predicate.Message {
	return predicate.Message(sql.FieldGTE(FieldContent, v))
}

// ContentLT applies the LT predicate on the "content" field.
func ContentLT(v string) predicate.Message {
	return predicate.Message(sql.FieldLT(FieldContent, v))
}

// ContentLTE applies the LTE predicate on the "content" field.
func ContentLTE(v string) predicate.Message {
	return predicate.Message(sql.FieldLTE(FieldContent, v))
}

// ContentContains applies the Contains predicate on the "content" field.
func ContentContains(v string) predicate.Message {
	return predicate.Message(sql.FieldContains(FieldContent, v))
}

// ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasPrefix(v string) predicate.Message {
	return predicate.Message(sql.FieldHasPrefix(FieldContent, v))
}

// ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentHasSuffix(v string) predicate.Message {
	return predicate.Message(sql.FieldHasSuffix(FieldContent, v))
}

// ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentEqualFold(v string) predicate.Message {
	return predicate.Message(sql.FieldEqualFold(FieldContent, v))
}

// ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentContainsFold(v string) predicate.Message {
	return predicate.Message(sql.FieldContainsFold(FieldContent, v))
}

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

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

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