// Code generated by ent, DO NOT EDIT.

package invitationstate

import (
	"time"

	"entgo.io/ent/dialect/sql"
	"github.com/AvengeMedia/dankcalendar/core/ent/predicate"
)

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

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

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

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

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

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

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

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

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

// CalendarID applies equality check predicate on the "calendar_id" field. It's identical to CalendarIDEQ.
func CalendarID(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldEQ(FieldCalendarID, v))
}

// UID applies equality check predicate on the "uid" field. It's identical to UIDEQ.
func UID(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldEQ(FieldUID, v))
}

// EventStart applies equality check predicate on the "event_start" field. It's identical to EventStartEQ.
func EventStart(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldEQ(FieldEventStart, v))
}

// NotifiedAt applies equality check predicate on the "notified_at" field. It's identical to NotifiedAtEQ.
func NotifiedAt(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldEQ(FieldNotifiedAt, v))
}

// CalendarIDEQ applies the EQ predicate on the "calendar_id" field.
func CalendarIDEQ(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldEQ(FieldCalendarID, v))
}

// CalendarIDNEQ applies the NEQ predicate on the "calendar_id" field.
func CalendarIDNEQ(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldNEQ(FieldCalendarID, v))
}

// CalendarIDIn applies the In predicate on the "calendar_id" field.
func CalendarIDIn(vs ...string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldIn(FieldCalendarID, vs...))
}

// CalendarIDNotIn applies the NotIn predicate on the "calendar_id" field.
func CalendarIDNotIn(vs ...string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldNotIn(FieldCalendarID, vs...))
}

// CalendarIDGT applies the GT predicate on the "calendar_id" field.
func CalendarIDGT(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldGT(FieldCalendarID, v))
}

// CalendarIDGTE applies the GTE predicate on the "calendar_id" field.
func CalendarIDGTE(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldGTE(FieldCalendarID, v))
}

// CalendarIDLT applies the LT predicate on the "calendar_id" field.
func CalendarIDLT(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldLT(FieldCalendarID, v))
}

// CalendarIDLTE applies the LTE predicate on the "calendar_id" field.
func CalendarIDLTE(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldLTE(FieldCalendarID, v))
}

// CalendarIDContains applies the Contains predicate on the "calendar_id" field.
func CalendarIDContains(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldContains(FieldCalendarID, v))
}

// CalendarIDHasPrefix applies the HasPrefix predicate on the "calendar_id" field.
func CalendarIDHasPrefix(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldHasPrefix(FieldCalendarID, v))
}

// CalendarIDHasSuffix applies the HasSuffix predicate on the "calendar_id" field.
func CalendarIDHasSuffix(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldHasSuffix(FieldCalendarID, v))
}

// CalendarIDEqualFold applies the EqualFold predicate on the "calendar_id" field.
func CalendarIDEqualFold(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldEqualFold(FieldCalendarID, v))
}

// CalendarIDContainsFold applies the ContainsFold predicate on the "calendar_id" field.
func CalendarIDContainsFold(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldContainsFold(FieldCalendarID, v))
}

// UIDEQ applies the EQ predicate on the "uid" field.
func UIDEQ(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldEQ(FieldUID, v))
}

// UIDNEQ applies the NEQ predicate on the "uid" field.
func UIDNEQ(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldNEQ(FieldUID, v))
}

// UIDIn applies the In predicate on the "uid" field.
func UIDIn(vs ...string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldIn(FieldUID, vs...))
}

// UIDNotIn applies the NotIn predicate on the "uid" field.
func UIDNotIn(vs ...string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldNotIn(FieldUID, vs...))
}

// UIDGT applies the GT predicate on the "uid" field.
func UIDGT(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldGT(FieldUID, v))
}

// UIDGTE applies the GTE predicate on the "uid" field.
func UIDGTE(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldGTE(FieldUID, v))
}

// UIDLT applies the LT predicate on the "uid" field.
func UIDLT(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldLT(FieldUID, v))
}

// UIDLTE applies the LTE predicate on the "uid" field.
func UIDLTE(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldLTE(FieldUID, v))
}

// UIDContains applies the Contains predicate on the "uid" field.
func UIDContains(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldContains(FieldUID, v))
}

// UIDHasPrefix applies the HasPrefix predicate on the "uid" field.
func UIDHasPrefix(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldHasPrefix(FieldUID, v))
}

// UIDHasSuffix applies the HasSuffix predicate on the "uid" field.
func UIDHasSuffix(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldHasSuffix(FieldUID, v))
}

// UIDEqualFold applies the EqualFold predicate on the "uid" field.
func UIDEqualFold(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldEqualFold(FieldUID, v))
}

// UIDContainsFold applies the ContainsFold predicate on the "uid" field.
func UIDContainsFold(v string) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldContainsFold(FieldUID, v))
}

// EventStartEQ applies the EQ predicate on the "event_start" field.
func EventStartEQ(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldEQ(FieldEventStart, v))
}

// EventStartNEQ applies the NEQ predicate on the "event_start" field.
func EventStartNEQ(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldNEQ(FieldEventStart, v))
}

// EventStartIn applies the In predicate on the "event_start" field.
func EventStartIn(vs ...time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldIn(FieldEventStart, vs...))
}

// EventStartNotIn applies the NotIn predicate on the "event_start" field.
func EventStartNotIn(vs ...time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldNotIn(FieldEventStart, vs...))
}

// EventStartGT applies the GT predicate on the "event_start" field.
func EventStartGT(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldGT(FieldEventStart, v))
}

// EventStartGTE applies the GTE predicate on the "event_start" field.
func EventStartGTE(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldGTE(FieldEventStart, v))
}

// EventStartLT applies the LT predicate on the "event_start" field.
func EventStartLT(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldLT(FieldEventStart, v))
}

// EventStartLTE applies the LTE predicate on the "event_start" field.
func EventStartLTE(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldLTE(FieldEventStart, v))
}

// NotifiedAtEQ applies the EQ predicate on the "notified_at" field.
func NotifiedAtEQ(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldEQ(FieldNotifiedAt, v))
}

// NotifiedAtNEQ applies the NEQ predicate on the "notified_at" field.
func NotifiedAtNEQ(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldNEQ(FieldNotifiedAt, v))
}

// NotifiedAtIn applies the In predicate on the "notified_at" field.
func NotifiedAtIn(vs ...time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldIn(FieldNotifiedAt, vs...))
}

// NotifiedAtNotIn applies the NotIn predicate on the "notified_at" field.
func NotifiedAtNotIn(vs ...time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldNotIn(FieldNotifiedAt, vs...))
}

// NotifiedAtGT applies the GT predicate on the "notified_at" field.
func NotifiedAtGT(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldGT(FieldNotifiedAt, v))
}

// NotifiedAtGTE applies the GTE predicate on the "notified_at" field.
func NotifiedAtGTE(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldGTE(FieldNotifiedAt, v))
}

// NotifiedAtLT applies the LT predicate on the "notified_at" field.
func NotifiedAtLT(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldLT(FieldNotifiedAt, v))
}

// NotifiedAtLTE applies the LTE predicate on the "notified_at" field.
func NotifiedAtLTE(v time.Time) predicate.InvitationState {
	return predicate.InvitationState(sql.FieldLTE(FieldNotifiedAt, v))
}

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

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

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