// Code generated by ent, DO NOT EDIT.

package account

import (
	"time"

	"entgo.io/ent/dialect/sql"
	"entgo.io/ent/dialect/sql/sqlgraph"
	"github.com/Wei-Shaw/sub2api/ent/predicate"
)

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

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

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

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

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

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

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

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

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

// Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func Name(v string) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldName, v))
}

// Notes applies equality check predicate on the "notes" field. It's identical to NotesEQ.
func Notes(v string) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldNotes, v))
}

// Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ.
func Platform(v string) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldPlatform, v))
}

// Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func Type(v string) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldType, v))
}

// ProxyID applies equality check predicate on the "proxy_id" field. It's identical to ProxyIDEQ.
func ProxyID(v int64) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldProxyID, v))
}

// Concurrency applies equality check predicate on the "concurrency" field. It's identical to ConcurrencyEQ.
func Concurrency(v int) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldConcurrency, v))
}

// Priority applies equality check predicate on the "priority" field. It's identical to PriorityEQ.
func Priority(v int) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldPriority, v))
}

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

// ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.
func ErrorMessage(v string) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldErrorMessage, v))
}

// LastUsedAt applies equality check predicate on the "last_used_at" field. It's identical to LastUsedAtEQ.
func LastUsedAt(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldLastUsedAt, v))
}

// Schedulable applies equality check predicate on the "schedulable" field. It's identical to SchedulableEQ.
func Schedulable(v bool) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldSchedulable, v))
}

// RateLimitedAt applies equality check predicate on the "rate_limited_at" field. It's identical to RateLimitedAtEQ.
func RateLimitedAt(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldRateLimitedAt, v))
}

// RateLimitResetAt applies equality check predicate on the "rate_limit_reset_at" field. It's identical to RateLimitResetAtEQ.
func RateLimitResetAt(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldRateLimitResetAt, v))
}

// OverloadUntil applies equality check predicate on the "overload_until" field. It's identical to OverloadUntilEQ.
func OverloadUntil(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldOverloadUntil, v))
}

// SessionWindowStart applies equality check predicate on the "session_window_start" field. It's identical to SessionWindowStartEQ.
func SessionWindowStart(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldSessionWindowStart, v))
}

// SessionWindowEnd applies equality check predicate on the "session_window_end" field. It's identical to SessionWindowEndEQ.
func SessionWindowEnd(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldSessionWindowEnd, v))
}

// SessionWindowStatus applies equality check predicate on the "session_window_status" field. It's identical to SessionWindowStatusEQ.
func SessionWindowStatus(v string) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldSessionWindowStatus, v))
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// NameEQ applies the EQ predicate on the "name" field.
func NameEQ(v string) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldName, v))
}

// NameNEQ applies the NEQ predicate on the "name" field.
func NameNEQ(v string) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldName, v))
}

// NameIn applies the In predicate on the "name" field.
func NameIn(vs ...string) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldName, vs...))
}

// NameNotIn applies the NotIn predicate on the "name" field.
func NameNotIn(vs ...string) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldName, vs...))
}

// NameGT applies the GT predicate on the "name" field.
func NameGT(v string) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldName, v))
}

// NameGTE applies the GTE predicate on the "name" field.
func NameGTE(v string) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldName, v))
}

// NameLT applies the LT predicate on the "name" field.
func NameLT(v string) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldName, v))
}

// NameLTE applies the LTE predicate on the "name" field.
func NameLTE(v string) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldName, v))
}

// NameContains applies the Contains predicate on the "name" field.
func NameContains(v string) predicate.Account {
	return predicate.Account(sql.FieldContains(FieldName, v))
}

// NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasPrefix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasPrefix(FieldName, v))
}

// NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameHasSuffix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasSuffix(FieldName, v))
}

// NameEqualFold applies the EqualFold predicate on the "name" field.
func NameEqualFold(v string) predicate.Account {
	return predicate.Account(sql.FieldEqualFold(FieldName, v))
}

// NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameContainsFold(v string) predicate.Account {
	return predicate.Account(sql.FieldContainsFold(FieldName, v))
}

// NotesEQ applies the EQ predicate on the "notes" field.
func NotesEQ(v string) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldNotes, v))
}

// NotesNEQ applies the NEQ predicate on the "notes" field.
func NotesNEQ(v string) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldNotes, v))
}

// NotesIn applies the In predicate on the "notes" field.
func NotesIn(vs ...string) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldNotes, vs...))
}

// NotesNotIn applies the NotIn predicate on the "notes" field.
func NotesNotIn(vs ...string) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldNotes, vs...))
}

// NotesGT applies the GT predicate on the "notes" field.
func NotesGT(v string) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldNotes, v))
}

// NotesGTE applies the GTE predicate on the "notes" field.
func NotesGTE(v string) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldNotes, v))
}

// NotesLT applies the LT predicate on the "notes" field.
func NotesLT(v string) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldNotes, v))
}

// NotesLTE applies the LTE predicate on the "notes" field.
func NotesLTE(v string) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldNotes, v))
}

// NotesContains applies the Contains predicate on the "notes" field.
func NotesContains(v string) predicate.Account {
	return predicate.Account(sql.FieldContains(FieldNotes, v))
}

// NotesHasPrefix applies the HasPrefix predicate on the "notes" field.
func NotesHasPrefix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasPrefix(FieldNotes, v))
}

// NotesHasSuffix applies the HasSuffix predicate on the "notes" field.
func NotesHasSuffix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasSuffix(FieldNotes, v))
}

// NotesIsNil applies the IsNil predicate on the "notes" field.
func NotesIsNil() predicate.Account {
	return predicate.Account(sql.FieldIsNull(FieldNotes))
}

// NotesNotNil applies the NotNil predicate on the "notes" field.
func NotesNotNil() predicate.Account {
	return predicate.Account(sql.FieldNotNull(FieldNotes))
}

// NotesEqualFold applies the EqualFold predicate on the "notes" field.
func NotesEqualFold(v string) predicate.Account {
	return predicate.Account(sql.FieldEqualFold(FieldNotes, v))
}

// NotesContainsFold applies the ContainsFold predicate on the "notes" field.
func NotesContainsFold(v string) predicate.Account {
	return predicate.Account(sql.FieldContainsFold(FieldNotes, v))
}

// PlatformEQ applies the EQ predicate on the "platform" field.
func PlatformEQ(v string) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldPlatform, v))
}

// PlatformNEQ applies the NEQ predicate on the "platform" field.
func PlatformNEQ(v string) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldPlatform, v))
}

// PlatformIn applies the In predicate on the "platform" field.
func PlatformIn(vs ...string) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldPlatform, vs...))
}

// PlatformNotIn applies the NotIn predicate on the "platform" field.
func PlatformNotIn(vs ...string) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldPlatform, vs...))
}

// PlatformGT applies the GT predicate on the "platform" field.
func PlatformGT(v string) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldPlatform, v))
}

// PlatformGTE applies the GTE predicate on the "platform" field.
func PlatformGTE(v string) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldPlatform, v))
}

// PlatformLT applies the LT predicate on the "platform" field.
func PlatformLT(v string) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldPlatform, v))
}

// PlatformLTE applies the LTE predicate on the "platform" field.
func PlatformLTE(v string) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldPlatform, v))
}

// PlatformContains applies the Contains predicate on the "platform" field.
func PlatformContains(v string) predicate.Account {
	return predicate.Account(sql.FieldContains(FieldPlatform, v))
}

// PlatformHasPrefix applies the HasPrefix predicate on the "platform" field.
func PlatformHasPrefix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasPrefix(FieldPlatform, v))
}

// PlatformHasSuffix applies the HasSuffix predicate on the "platform" field.
func PlatformHasSuffix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasSuffix(FieldPlatform, v))
}

// PlatformEqualFold applies the EqualFold predicate on the "platform" field.
func PlatformEqualFold(v string) predicate.Account {
	return predicate.Account(sql.FieldEqualFold(FieldPlatform, v))
}

// PlatformContainsFold applies the ContainsFold predicate on the "platform" field.
func PlatformContainsFold(v string) predicate.Account {
	return predicate.Account(sql.FieldContainsFold(FieldPlatform, v))
}

// TypeEQ applies the EQ predicate on the "type" field.
func TypeEQ(v string) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldType, v))
}

// TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNEQ(v string) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldType, v))
}

// TypeIn applies the In predicate on the "type" field.
func TypeIn(vs ...string) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldType, vs...))
}

// TypeNotIn applies the NotIn predicate on the "type" field.
func TypeNotIn(vs ...string) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldType, vs...))
}

// TypeGT applies the GT predicate on the "type" field.
func TypeGT(v string) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldType, v))
}

// TypeGTE applies the GTE predicate on the "type" field.
func TypeGTE(v string) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldType, v))
}

// TypeLT applies the LT predicate on the "type" field.
func TypeLT(v string) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldType, v))
}

// TypeLTE applies the LTE predicate on the "type" field.
func TypeLTE(v string) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldType, v))
}

// TypeContains applies the Contains predicate on the "type" field.
func TypeContains(v string) predicate.Account {
	return predicate.Account(sql.FieldContains(FieldType, v))
}

// TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasPrefix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasPrefix(FieldType, v))
}

// TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeHasSuffix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasSuffix(FieldType, v))
}

// TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeEqualFold(v string) predicate.Account {
	return predicate.Account(sql.FieldEqualFold(FieldType, v))
}

// TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeContainsFold(v string) predicate.Account {
	return predicate.Account(sql.FieldContainsFold(FieldType, v))
}

// ProxyIDEQ applies the EQ predicate on the "proxy_id" field.
func ProxyIDEQ(v int64) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldProxyID, v))
}

// ProxyIDNEQ applies the NEQ predicate on the "proxy_id" field.
func ProxyIDNEQ(v int64) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldProxyID, v))
}

// ProxyIDIn applies the In predicate on the "proxy_id" field.
func ProxyIDIn(vs ...int64) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldProxyID, vs...))
}

// ProxyIDNotIn applies the NotIn predicate on the "proxy_id" field.
func ProxyIDNotIn(vs ...int64) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldProxyID, vs...))
}

// ProxyIDIsNil applies the IsNil predicate on the "proxy_id" field.
func ProxyIDIsNil() predicate.Account {
	return predicate.Account(sql.FieldIsNull(FieldProxyID))
}

// ProxyIDNotNil applies the NotNil predicate on the "proxy_id" field.
func ProxyIDNotNil() predicate.Account {
	return predicate.Account(sql.FieldNotNull(FieldProxyID))
}

// ConcurrencyEQ applies the EQ predicate on the "concurrency" field.
func ConcurrencyEQ(v int) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldConcurrency, v))
}

// ConcurrencyNEQ applies the NEQ predicate on the "concurrency" field.
func ConcurrencyNEQ(v int) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldConcurrency, v))
}

// ConcurrencyIn applies the In predicate on the "concurrency" field.
func ConcurrencyIn(vs ...int) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldConcurrency, vs...))
}

// ConcurrencyNotIn applies the NotIn predicate on the "concurrency" field.
func ConcurrencyNotIn(vs ...int) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldConcurrency, vs...))
}

// ConcurrencyGT applies the GT predicate on the "concurrency" field.
func ConcurrencyGT(v int) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldConcurrency, v))
}

// ConcurrencyGTE applies the GTE predicate on the "concurrency" field.
func ConcurrencyGTE(v int) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldConcurrency, v))
}

// ConcurrencyLT applies the LT predicate on the "concurrency" field.
func ConcurrencyLT(v int) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldConcurrency, v))
}

// ConcurrencyLTE applies the LTE predicate on the "concurrency" field.
func ConcurrencyLTE(v int) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldConcurrency, v))
}

// PriorityEQ applies the EQ predicate on the "priority" field.
func PriorityEQ(v int) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldPriority, v))
}

// PriorityNEQ applies the NEQ predicate on the "priority" field.
func PriorityNEQ(v int) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldPriority, v))
}

// PriorityIn applies the In predicate on the "priority" field.
func PriorityIn(vs ...int) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldPriority, vs...))
}

// PriorityNotIn applies the NotIn predicate on the "priority" field.
func PriorityNotIn(vs ...int) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldPriority, vs...))
}

// PriorityGT applies the GT predicate on the "priority" field.
func PriorityGT(v int) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldPriority, v))
}

// PriorityGTE applies the GTE predicate on the "priority" field.
func PriorityGTE(v int) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldPriority, v))
}

// PriorityLT applies the LT predicate on the "priority" field.
func PriorityLT(v int) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldPriority, v))
}

// PriorityLTE applies the LTE predicate on the "priority" field.
func PriorityLTE(v int) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldPriority, v))
}

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

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

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

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

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

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

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

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

// StatusContains applies the Contains predicate on the "status" field.
func StatusContains(v string) predicate.Account {
	return predicate.Account(sql.FieldContains(FieldStatus, v))
}

// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasPrefix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasPrefix(FieldStatus, v))
}

// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusHasSuffix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasSuffix(FieldStatus, v))
}

// StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusEqualFold(v string) predicate.Account {
	return predicate.Account(sql.FieldEqualFold(FieldStatus, v))
}

// StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusContainsFold(v string) predicate.Account {
	return predicate.Account(sql.FieldContainsFold(FieldStatus, v))
}

// ErrorMessageEQ applies the EQ predicate on the "error_message" field.
func ErrorMessageEQ(v string) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldErrorMessage, v))
}

// ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.
func ErrorMessageNEQ(v string) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldErrorMessage, v))
}

// ErrorMessageIn applies the In predicate on the "error_message" field.
func ErrorMessageIn(vs ...string) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldErrorMessage, vs...))
}

// ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.
func ErrorMessageNotIn(vs ...string) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldErrorMessage, vs...))
}

// ErrorMessageGT applies the GT predicate on the "error_message" field.
func ErrorMessageGT(v string) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldErrorMessage, v))
}

// ErrorMessageGTE applies the GTE predicate on the "error_message" field.
func ErrorMessageGTE(v string) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldErrorMessage, v))
}

// ErrorMessageLT applies the LT predicate on the "error_message" field.
func ErrorMessageLT(v string) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldErrorMessage, v))
}

// ErrorMessageLTE applies the LTE predicate on the "error_message" field.
func ErrorMessageLTE(v string) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldErrorMessage, v))
}

// ErrorMessageContains applies the Contains predicate on the "error_message" field.
func ErrorMessageContains(v string) predicate.Account {
	return predicate.Account(sql.FieldContains(FieldErrorMessage, v))
}

// ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.
func ErrorMessageHasPrefix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasPrefix(FieldErrorMessage, v))
}

// ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.
func ErrorMessageHasSuffix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasSuffix(FieldErrorMessage, v))
}

// ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.
func ErrorMessageIsNil() predicate.Account {
	return predicate.Account(sql.FieldIsNull(FieldErrorMessage))
}

// ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.
func ErrorMessageNotNil() predicate.Account {
	return predicate.Account(sql.FieldNotNull(FieldErrorMessage))
}

// ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.
func ErrorMessageEqualFold(v string) predicate.Account {
	return predicate.Account(sql.FieldEqualFold(FieldErrorMessage, v))
}

// ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.
func ErrorMessageContainsFold(v string) predicate.Account {
	return predicate.Account(sql.FieldContainsFold(FieldErrorMessage, v))
}

// LastUsedAtEQ applies the EQ predicate on the "last_used_at" field.
func LastUsedAtEQ(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldLastUsedAt, v))
}

// LastUsedAtNEQ applies the NEQ predicate on the "last_used_at" field.
func LastUsedAtNEQ(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldLastUsedAt, v))
}

// LastUsedAtIn applies the In predicate on the "last_used_at" field.
func LastUsedAtIn(vs ...time.Time) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldLastUsedAt, vs...))
}

// LastUsedAtNotIn applies the NotIn predicate on the "last_used_at" field.
func LastUsedAtNotIn(vs ...time.Time) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldLastUsedAt, vs...))
}

// LastUsedAtGT applies the GT predicate on the "last_used_at" field.
func LastUsedAtGT(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldLastUsedAt, v))
}

// LastUsedAtGTE applies the GTE predicate on the "last_used_at" field.
func LastUsedAtGTE(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldLastUsedAt, v))
}

// LastUsedAtLT applies the LT predicate on the "last_used_at" field.
func LastUsedAtLT(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldLastUsedAt, v))
}

// LastUsedAtLTE applies the LTE predicate on the "last_used_at" field.
func LastUsedAtLTE(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldLastUsedAt, v))
}

// LastUsedAtIsNil applies the IsNil predicate on the "last_used_at" field.
func LastUsedAtIsNil() predicate.Account {
	return predicate.Account(sql.FieldIsNull(FieldLastUsedAt))
}

// LastUsedAtNotNil applies the NotNil predicate on the "last_used_at" field.
func LastUsedAtNotNil() predicate.Account {
	return predicate.Account(sql.FieldNotNull(FieldLastUsedAt))
}

// SchedulableEQ applies the EQ predicate on the "schedulable" field.
func SchedulableEQ(v bool) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldSchedulable, v))
}

// SchedulableNEQ applies the NEQ predicate on the "schedulable" field.
func SchedulableNEQ(v bool) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldSchedulable, v))
}

// RateLimitedAtEQ applies the EQ predicate on the "rate_limited_at" field.
func RateLimitedAtEQ(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldRateLimitedAt, v))
}

// RateLimitedAtNEQ applies the NEQ predicate on the "rate_limited_at" field.
func RateLimitedAtNEQ(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldRateLimitedAt, v))
}

// RateLimitedAtIn applies the In predicate on the "rate_limited_at" field.
func RateLimitedAtIn(vs ...time.Time) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldRateLimitedAt, vs...))
}

// RateLimitedAtNotIn applies the NotIn predicate on the "rate_limited_at" field.
func RateLimitedAtNotIn(vs ...time.Time) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldRateLimitedAt, vs...))
}

// RateLimitedAtGT applies the GT predicate on the "rate_limited_at" field.
func RateLimitedAtGT(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldRateLimitedAt, v))
}

// RateLimitedAtGTE applies the GTE predicate on the "rate_limited_at" field.
func RateLimitedAtGTE(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldRateLimitedAt, v))
}

// RateLimitedAtLT applies the LT predicate on the "rate_limited_at" field.
func RateLimitedAtLT(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldRateLimitedAt, v))
}

// RateLimitedAtLTE applies the LTE predicate on the "rate_limited_at" field.
func RateLimitedAtLTE(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldRateLimitedAt, v))
}

// RateLimitedAtIsNil applies the IsNil predicate on the "rate_limited_at" field.
func RateLimitedAtIsNil() predicate.Account {
	return predicate.Account(sql.FieldIsNull(FieldRateLimitedAt))
}

// RateLimitedAtNotNil applies the NotNil predicate on the "rate_limited_at" field.
func RateLimitedAtNotNil() predicate.Account {
	return predicate.Account(sql.FieldNotNull(FieldRateLimitedAt))
}

// RateLimitResetAtEQ applies the EQ predicate on the "rate_limit_reset_at" field.
func RateLimitResetAtEQ(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldRateLimitResetAt, v))
}

// RateLimitResetAtNEQ applies the NEQ predicate on the "rate_limit_reset_at" field.
func RateLimitResetAtNEQ(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldRateLimitResetAt, v))
}

// RateLimitResetAtIn applies the In predicate on the "rate_limit_reset_at" field.
func RateLimitResetAtIn(vs ...time.Time) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldRateLimitResetAt, vs...))
}

// RateLimitResetAtNotIn applies the NotIn predicate on the "rate_limit_reset_at" field.
func RateLimitResetAtNotIn(vs ...time.Time) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldRateLimitResetAt, vs...))
}

// RateLimitResetAtGT applies the GT predicate on the "rate_limit_reset_at" field.
func RateLimitResetAtGT(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldRateLimitResetAt, v))
}

// RateLimitResetAtGTE applies the GTE predicate on the "rate_limit_reset_at" field.
func RateLimitResetAtGTE(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldRateLimitResetAt, v))
}

// RateLimitResetAtLT applies the LT predicate on the "rate_limit_reset_at" field.
func RateLimitResetAtLT(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldRateLimitResetAt, v))
}

// RateLimitResetAtLTE applies the LTE predicate on the "rate_limit_reset_at" field.
func RateLimitResetAtLTE(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldRateLimitResetAt, v))
}

// RateLimitResetAtIsNil applies the IsNil predicate on the "rate_limit_reset_at" field.
func RateLimitResetAtIsNil() predicate.Account {
	return predicate.Account(sql.FieldIsNull(FieldRateLimitResetAt))
}

// RateLimitResetAtNotNil applies the NotNil predicate on the "rate_limit_reset_at" field.
func RateLimitResetAtNotNil() predicate.Account {
	return predicate.Account(sql.FieldNotNull(FieldRateLimitResetAt))
}

// OverloadUntilEQ applies the EQ predicate on the "overload_until" field.
func OverloadUntilEQ(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldOverloadUntil, v))
}

// OverloadUntilNEQ applies the NEQ predicate on the "overload_until" field.
func OverloadUntilNEQ(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldOverloadUntil, v))
}

// OverloadUntilIn applies the In predicate on the "overload_until" field.
func OverloadUntilIn(vs ...time.Time) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldOverloadUntil, vs...))
}

// OverloadUntilNotIn applies the NotIn predicate on the "overload_until" field.
func OverloadUntilNotIn(vs ...time.Time) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldOverloadUntil, vs...))
}

// OverloadUntilGT applies the GT predicate on the "overload_until" field.
func OverloadUntilGT(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldOverloadUntil, v))
}

// OverloadUntilGTE applies the GTE predicate on the "overload_until" field.
func OverloadUntilGTE(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldOverloadUntil, v))
}

// OverloadUntilLT applies the LT predicate on the "overload_until" field.
func OverloadUntilLT(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldOverloadUntil, v))
}

// OverloadUntilLTE applies the LTE predicate on the "overload_until" field.
func OverloadUntilLTE(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldOverloadUntil, v))
}

// OverloadUntilIsNil applies the IsNil predicate on the "overload_until" field.
func OverloadUntilIsNil() predicate.Account {
	return predicate.Account(sql.FieldIsNull(FieldOverloadUntil))
}

// OverloadUntilNotNil applies the NotNil predicate on the "overload_until" field.
func OverloadUntilNotNil() predicate.Account {
	return predicate.Account(sql.FieldNotNull(FieldOverloadUntil))
}

// SessionWindowStartEQ applies the EQ predicate on the "session_window_start" field.
func SessionWindowStartEQ(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldSessionWindowStart, v))
}

// SessionWindowStartNEQ applies the NEQ predicate on the "session_window_start" field.
func SessionWindowStartNEQ(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldSessionWindowStart, v))
}

// SessionWindowStartIn applies the In predicate on the "session_window_start" field.
func SessionWindowStartIn(vs ...time.Time) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldSessionWindowStart, vs...))
}

// SessionWindowStartNotIn applies the NotIn predicate on the "session_window_start" field.
func SessionWindowStartNotIn(vs ...time.Time) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldSessionWindowStart, vs...))
}

// SessionWindowStartGT applies the GT predicate on the "session_window_start" field.
func SessionWindowStartGT(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldSessionWindowStart, v))
}

// SessionWindowStartGTE applies the GTE predicate on the "session_window_start" field.
func SessionWindowStartGTE(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldSessionWindowStart, v))
}

// SessionWindowStartLT applies the LT predicate on the "session_window_start" field.
func SessionWindowStartLT(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldSessionWindowStart, v))
}

// SessionWindowStartLTE applies the LTE predicate on the "session_window_start" field.
func SessionWindowStartLTE(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldSessionWindowStart, v))
}

// SessionWindowStartIsNil applies the IsNil predicate on the "session_window_start" field.
func SessionWindowStartIsNil() predicate.Account {
	return predicate.Account(sql.FieldIsNull(FieldSessionWindowStart))
}

// SessionWindowStartNotNil applies the NotNil predicate on the "session_window_start" field.
func SessionWindowStartNotNil() predicate.Account {
	return predicate.Account(sql.FieldNotNull(FieldSessionWindowStart))
}

// SessionWindowEndEQ applies the EQ predicate on the "session_window_end" field.
func SessionWindowEndEQ(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldSessionWindowEnd, v))
}

// SessionWindowEndNEQ applies the NEQ predicate on the "session_window_end" field.
func SessionWindowEndNEQ(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldSessionWindowEnd, v))
}

// SessionWindowEndIn applies the In predicate on the "session_window_end" field.
func SessionWindowEndIn(vs ...time.Time) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldSessionWindowEnd, vs...))
}

// SessionWindowEndNotIn applies the NotIn predicate on the "session_window_end" field.
func SessionWindowEndNotIn(vs ...time.Time) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldSessionWindowEnd, vs...))
}

// SessionWindowEndGT applies the GT predicate on the "session_window_end" field.
func SessionWindowEndGT(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldSessionWindowEnd, v))
}

// SessionWindowEndGTE applies the GTE predicate on the "session_window_end" field.
func SessionWindowEndGTE(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldSessionWindowEnd, v))
}

// SessionWindowEndLT applies the LT predicate on the "session_window_end" field.
func SessionWindowEndLT(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldSessionWindowEnd, v))
}

// SessionWindowEndLTE applies the LTE predicate on the "session_window_end" field.
func SessionWindowEndLTE(v time.Time) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldSessionWindowEnd, v))
}

// SessionWindowEndIsNil applies the IsNil predicate on the "session_window_end" field.
func SessionWindowEndIsNil() predicate.Account {
	return predicate.Account(sql.FieldIsNull(FieldSessionWindowEnd))
}

// SessionWindowEndNotNil applies the NotNil predicate on the "session_window_end" field.
func SessionWindowEndNotNil() predicate.Account {
	return predicate.Account(sql.FieldNotNull(FieldSessionWindowEnd))
}

// SessionWindowStatusEQ applies the EQ predicate on the "session_window_status" field.
func SessionWindowStatusEQ(v string) predicate.Account {
	return predicate.Account(sql.FieldEQ(FieldSessionWindowStatus, v))
}

// SessionWindowStatusNEQ applies the NEQ predicate on the "session_window_status" field.
func SessionWindowStatusNEQ(v string) predicate.Account {
	return predicate.Account(sql.FieldNEQ(FieldSessionWindowStatus, v))
}

// SessionWindowStatusIn applies the In predicate on the "session_window_status" field.
func SessionWindowStatusIn(vs ...string) predicate.Account {
	return predicate.Account(sql.FieldIn(FieldSessionWindowStatus, vs...))
}

// SessionWindowStatusNotIn applies the NotIn predicate on the "session_window_status" field.
func SessionWindowStatusNotIn(vs ...string) predicate.Account {
	return predicate.Account(sql.FieldNotIn(FieldSessionWindowStatus, vs...))
}

// SessionWindowStatusGT applies the GT predicate on the "session_window_status" field.
func SessionWindowStatusGT(v string) predicate.Account {
	return predicate.Account(sql.FieldGT(FieldSessionWindowStatus, v))
}

// SessionWindowStatusGTE applies the GTE predicate on the "session_window_status" field.
func SessionWindowStatusGTE(v string) predicate.Account {
	return predicate.Account(sql.FieldGTE(FieldSessionWindowStatus, v))
}

// SessionWindowStatusLT applies the LT predicate on the "session_window_status" field.
func SessionWindowStatusLT(v string) predicate.Account {
	return predicate.Account(sql.FieldLT(FieldSessionWindowStatus, v))
}

// SessionWindowStatusLTE applies the LTE predicate on the "session_window_status" field.
func SessionWindowStatusLTE(v string) predicate.Account {
	return predicate.Account(sql.FieldLTE(FieldSessionWindowStatus, v))
}

// SessionWindowStatusContains applies the Contains predicate on the "session_window_status" field.
func SessionWindowStatusContains(v string) predicate.Account {
	return predicate.Account(sql.FieldContains(FieldSessionWindowStatus, v))
}

// SessionWindowStatusHasPrefix applies the HasPrefix predicate on the "session_window_status" field.
func SessionWindowStatusHasPrefix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasPrefix(FieldSessionWindowStatus, v))
}

// SessionWindowStatusHasSuffix applies the HasSuffix predicate on the "session_window_status" field.
func SessionWindowStatusHasSuffix(v string) predicate.Account {
	return predicate.Account(sql.FieldHasSuffix(FieldSessionWindowStatus, v))
}

// SessionWindowStatusIsNil applies the IsNil predicate on the "session_window_status" field.
func SessionWindowStatusIsNil() predicate.Account {
	return predicate.Account(sql.FieldIsNull(FieldSessionWindowStatus))
}

// SessionWindowStatusNotNil applies the NotNil predicate on the "session_window_status" field.
func SessionWindowStatusNotNil() predicate.Account {
	return predicate.Account(sql.FieldNotNull(FieldSessionWindowStatus))
}

// SessionWindowStatusEqualFold applies the EqualFold predicate on the "session_window_status" field.
func SessionWindowStatusEqualFold(v string) predicate.Account {
	return predicate.Account(sql.FieldEqualFold(FieldSessionWindowStatus, v))
}

// SessionWindowStatusContainsFold applies the ContainsFold predicate on the "session_window_status" field.
func SessionWindowStatusContainsFold(v string) predicate.Account {
	return predicate.Account(sql.FieldContainsFold(FieldSessionWindowStatus, v))
}

// HasGroups applies the HasEdge predicate on the "groups" edge.
func HasGroups() predicate.Account {
	return predicate.Account(func(s *sql.Selector) {
		step := sqlgraph.NewStep(
			sqlgraph.From(Table, FieldID),
			sqlgraph.Edge(sqlgraph.M2M, false, GroupsTable, GroupsPrimaryKey...),
		)
		sqlgraph.HasNeighbors(s, step)
	})
}

// HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).
func HasGroupsWith(preds ...predicate.Group) predicate.Account {
	return predicate.Account(func(s *sql.Selector) {
		step := newGroupsStep()
		sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
			for _, p := range preds {
				p(s)
			}
		})
	})
}

// HasProxy applies the HasEdge predicate on the "proxy" edge.
func HasProxy() predicate.Account {
	return predicate.Account(func(s *sql.Selector) {
		step := sqlgraph.NewStep(
			sqlgraph.From(Table, FieldID),
			sqlgraph.Edge(sqlgraph.M2O, false, ProxyTable, ProxyColumn),
		)
		sqlgraph.HasNeighbors(s, step)
	})
}

// HasProxyWith applies the HasEdge predicate on the "proxy" edge with a given conditions (other predicates).
func HasProxyWith(preds ...predicate.Proxy) predicate.Account {
	return predicate.Account(func(s *sql.Selector) {
		step := newProxyStep()
		sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
			for _, p := range preds {
				p(s)
			}
		})
	})
}

// HasUsageLogs applies the HasEdge predicate on the "usage_logs" edge.
func HasUsageLogs() predicate.Account {
	return predicate.Account(func(s *sql.Selector) {
		step := sqlgraph.NewStep(
			sqlgraph.From(Table, FieldID),
			sqlgraph.Edge(sqlgraph.O2M, false, UsageLogsTable, UsageLogsColumn),
		)
		sqlgraph.HasNeighbors(s, step)
	})
}

// HasUsageLogsWith applies the HasEdge predicate on the "usage_logs" edge with a given conditions (other predicates).
func HasUsageLogsWith(preds ...predicate.UsageLog) predicate.Account {
	return predicate.Account(func(s *sql.Selector) {
		step := newUsageLogsStep()
		sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
			for _, p := range preds {
				p(s)
			}
		})
	})
}

// HasAccountGroups applies the HasEdge predicate on the "account_groups" edge.
func HasAccountGroups() predicate.Account {
	return predicate.Account(func(s *sql.Selector) {
		step := sqlgraph.NewStep(
			sqlgraph.From(Table, FieldID),
			sqlgraph.Edge(sqlgraph.O2M, true, AccountGroupsTable, AccountGroupsColumn),
		)
		sqlgraph.HasNeighbors(s, step)
	})
}

// HasAccountGroupsWith applies the HasEdge predicate on the "account_groups" edge with a given conditions (other predicates).
func HasAccountGroupsWith(preds ...predicate.AccountGroup) predicate.Account {
	return predicate.Account(func(s *sql.Selector) {
		step := newAccountGroupsStep()
		sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
			for _, p := range preds {
				p(s)
			}
		})
	})
}

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

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

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