// Code generated by ent, DO NOT EDIT.

package compapiasynctask

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

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

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

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

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

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

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

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

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

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

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

// AuthToken applies equality check predicate on the "auth_token" field. It's identical to AuthTokenEQ.
func AuthToken(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldAuthToken, v))
}

// EventType applies equality check predicate on the "event_type" field. It's identical to EventTypeEQ.
func EventType(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldEventType, v))
}

// ChatID applies equality check predicate on the "chat_id" field. It's identical to ChatIDEQ.
func ChatID(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldChatID, v))
}

// ResponseChatItemID applies equality check predicate on the "response_chat_item_id" field. It's identical to ResponseChatItemIDEQ.
func ResponseChatItemID(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldResponseChatItemID, v))
}

// OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationID(v uint64) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldOrganizationID, v))
}

// OpenaiBase applies equality check predicate on the "openai_base" field. It's identical to OpenaiBaseEQ.
func OpenaiBase(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldOpenaiBase, v))
}

// OpenaiKey applies equality check predicate on the "openai_key" field. It's identical to OpenaiKeyEQ.
func OpenaiKey(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldOpenaiKey, v))
}

// RequestRaw applies equality check predicate on the "request_raw" field. It's identical to RequestRawEQ.
func RequestRaw(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldRequestRaw, v))
}

// ResponseRaw applies equality check predicate on the "response_raw" field. It's identical to ResponseRawEQ.
func ResponseRaw(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldResponseRaw, v))
}

// CallbackURL applies equality check predicate on the "callback_url" field. It's identical to CallbackURLEQ.
func CallbackURL(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldCallbackURL, v))
}

// CallbackResponseRaw applies equality check predicate on the "callback_response_raw" field. It's identical to CallbackResponseRawEQ.
func CallbackResponseRaw(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldCallbackResponseRaw, v))
}

// Model applies equality check predicate on the "model" field. It's identical to ModelEQ.
func Model(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldModel, v))
}

// TaskStatus applies equality check predicate on the "task_status" field. It's identical to TaskStatusEQ.
func TaskStatus(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldTaskStatus, v))
}

// RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.
func RetryCount(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldRetryCount, v))
}

// LastError applies equality check predicate on the "last_error" field. It's identical to LastErrorEQ.
func LastError(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldLastError, v))
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// AuthTokenEQ applies the EQ predicate on the "auth_token" field.
func AuthTokenEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldAuthToken, v))
}

// AuthTokenNEQ applies the NEQ predicate on the "auth_token" field.
func AuthTokenNEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldAuthToken, v))
}

// AuthTokenIn applies the In predicate on the "auth_token" field.
func AuthTokenIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldAuthToken, vs...))
}

// AuthTokenNotIn applies the NotIn predicate on the "auth_token" field.
func AuthTokenNotIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldAuthToken, vs...))
}

// AuthTokenGT applies the GT predicate on the "auth_token" field.
func AuthTokenGT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldAuthToken, v))
}

// AuthTokenGTE applies the GTE predicate on the "auth_token" field.
func AuthTokenGTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldAuthToken, v))
}

// AuthTokenLT applies the LT predicate on the "auth_token" field.
func AuthTokenLT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldAuthToken, v))
}

// AuthTokenLTE applies the LTE predicate on the "auth_token" field.
func AuthTokenLTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldAuthToken, v))
}

// AuthTokenContains applies the Contains predicate on the "auth_token" field.
func AuthTokenContains(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContains(FieldAuthToken, v))
}

// AuthTokenHasPrefix applies the HasPrefix predicate on the "auth_token" field.
func AuthTokenHasPrefix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldAuthToken, v))
}

// AuthTokenHasSuffix applies the HasSuffix predicate on the "auth_token" field.
func AuthTokenHasSuffix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldAuthToken, v))
}

// AuthTokenEqualFold applies the EqualFold predicate on the "auth_token" field.
func AuthTokenEqualFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldAuthToken, v))
}

// AuthTokenContainsFold applies the ContainsFold predicate on the "auth_token" field.
func AuthTokenContainsFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldAuthToken, v))
}

// EventTypeEQ applies the EQ predicate on the "event_type" field.
func EventTypeEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldEventType, v))
}

// EventTypeNEQ applies the NEQ predicate on the "event_type" field.
func EventTypeNEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldEventType, v))
}

// EventTypeIn applies the In predicate on the "event_type" field.
func EventTypeIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldEventType, vs...))
}

// EventTypeNotIn applies the NotIn predicate on the "event_type" field.
func EventTypeNotIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldEventType, vs...))
}

// EventTypeGT applies the GT predicate on the "event_type" field.
func EventTypeGT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldEventType, v))
}

// EventTypeGTE applies the GTE predicate on the "event_type" field.
func EventTypeGTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldEventType, v))
}

// EventTypeLT applies the LT predicate on the "event_type" field.
func EventTypeLT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldEventType, v))
}

// EventTypeLTE applies the LTE predicate on the "event_type" field.
func EventTypeLTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldEventType, v))
}

// EventTypeContains applies the Contains predicate on the "event_type" field.
func EventTypeContains(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContains(FieldEventType, v))
}

// EventTypeHasPrefix applies the HasPrefix predicate on the "event_type" field.
func EventTypeHasPrefix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldEventType, v))
}

// EventTypeHasSuffix applies the HasSuffix predicate on the "event_type" field.
func EventTypeHasSuffix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldEventType, v))
}

// EventTypeEqualFold applies the EqualFold predicate on the "event_type" field.
func EventTypeEqualFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldEventType, v))
}

// EventTypeContainsFold applies the ContainsFold predicate on the "event_type" field.
func EventTypeContainsFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldEventType, v))
}

// ChatIDEQ applies the EQ predicate on the "chat_id" field.
func ChatIDEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldChatID, v))
}

// ChatIDNEQ applies the NEQ predicate on the "chat_id" field.
func ChatIDNEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldChatID, v))
}

// ChatIDIn applies the In predicate on the "chat_id" field.
func ChatIDIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldChatID, vs...))
}

// ChatIDNotIn applies the NotIn predicate on the "chat_id" field.
func ChatIDNotIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldChatID, vs...))
}

// ChatIDGT applies the GT predicate on the "chat_id" field.
func ChatIDGT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldChatID, v))
}

// ChatIDGTE applies the GTE predicate on the "chat_id" field.
func ChatIDGTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldChatID, v))
}

// ChatIDLT applies the LT predicate on the "chat_id" field.
func ChatIDLT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldChatID, v))
}

// ChatIDLTE applies the LTE predicate on the "chat_id" field.
func ChatIDLTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldChatID, v))
}

// ChatIDContains applies the Contains predicate on the "chat_id" field.
func ChatIDContains(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContains(FieldChatID, v))
}

// ChatIDHasPrefix applies the HasPrefix predicate on the "chat_id" field.
func ChatIDHasPrefix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldChatID, v))
}

// ChatIDHasSuffix applies the HasSuffix predicate on the "chat_id" field.
func ChatIDHasSuffix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldChatID, v))
}

// ChatIDIsNil applies the IsNil predicate on the "chat_id" field.
func ChatIDIsNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIsNull(FieldChatID))
}

// ChatIDNotNil applies the NotNil predicate on the "chat_id" field.
func ChatIDNotNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotNull(FieldChatID))
}

// ChatIDEqualFold applies the EqualFold predicate on the "chat_id" field.
func ChatIDEqualFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldChatID, v))
}

// ChatIDContainsFold applies the ContainsFold predicate on the "chat_id" field.
func ChatIDContainsFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldChatID, v))
}

// ResponseChatItemIDEQ applies the EQ predicate on the "response_chat_item_id" field.
func ResponseChatItemIDEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldResponseChatItemID, v))
}

// ResponseChatItemIDNEQ applies the NEQ predicate on the "response_chat_item_id" field.
func ResponseChatItemIDNEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldResponseChatItemID, v))
}

// ResponseChatItemIDIn applies the In predicate on the "response_chat_item_id" field.
func ResponseChatItemIDIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldResponseChatItemID, vs...))
}

// ResponseChatItemIDNotIn applies the NotIn predicate on the "response_chat_item_id" field.
func ResponseChatItemIDNotIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldResponseChatItemID, vs...))
}

// ResponseChatItemIDGT applies the GT predicate on the "response_chat_item_id" field.
func ResponseChatItemIDGT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldResponseChatItemID, v))
}

// ResponseChatItemIDGTE applies the GTE predicate on the "response_chat_item_id" field.
func ResponseChatItemIDGTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldResponseChatItemID, v))
}

// ResponseChatItemIDLT applies the LT predicate on the "response_chat_item_id" field.
func ResponseChatItemIDLT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldResponseChatItemID, v))
}

// ResponseChatItemIDLTE applies the LTE predicate on the "response_chat_item_id" field.
func ResponseChatItemIDLTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldResponseChatItemID, v))
}

// ResponseChatItemIDContains applies the Contains predicate on the "response_chat_item_id" field.
func ResponseChatItemIDContains(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContains(FieldResponseChatItemID, v))
}

// ResponseChatItemIDHasPrefix applies the HasPrefix predicate on the "response_chat_item_id" field.
func ResponseChatItemIDHasPrefix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldResponseChatItemID, v))
}

// ResponseChatItemIDHasSuffix applies the HasSuffix predicate on the "response_chat_item_id" field.
func ResponseChatItemIDHasSuffix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldResponseChatItemID, v))
}

// ResponseChatItemIDIsNil applies the IsNil predicate on the "response_chat_item_id" field.
func ResponseChatItemIDIsNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIsNull(FieldResponseChatItemID))
}

// ResponseChatItemIDNotNil applies the NotNil predicate on the "response_chat_item_id" field.
func ResponseChatItemIDNotNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotNull(FieldResponseChatItemID))
}

// ResponseChatItemIDEqualFold applies the EqualFold predicate on the "response_chat_item_id" field.
func ResponseChatItemIDEqualFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldResponseChatItemID, v))
}

// ResponseChatItemIDContainsFold applies the ContainsFold predicate on the "response_chat_item_id" field.
func ResponseChatItemIDContainsFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldResponseChatItemID, v))
}

// OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDEQ(v uint64) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldOrganizationID, v))
}

// OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNEQ(v uint64) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldOrganizationID, v))
}

// OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDIn(vs ...uint64) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldOrganizationID, vs...))
}

// OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func OrganizationIDNotIn(vs ...uint64) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldOrganizationID, vs...))
}

// OrganizationIDGT applies the GT predicate on the "organization_id" field.
func OrganizationIDGT(v uint64) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldOrganizationID, v))
}

// OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
func OrganizationIDGTE(v uint64) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldOrganizationID, v))
}

// OrganizationIDLT applies the LT predicate on the "organization_id" field.
func OrganizationIDLT(v uint64) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldOrganizationID, v))
}

// OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
func OrganizationIDLTE(v uint64) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldOrganizationID, v))
}

// OpenaiBaseEQ applies the EQ predicate on the "openai_base" field.
func OpenaiBaseEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldOpenaiBase, v))
}

// OpenaiBaseNEQ applies the NEQ predicate on the "openai_base" field.
func OpenaiBaseNEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldOpenaiBase, v))
}

// OpenaiBaseIn applies the In predicate on the "openai_base" field.
func OpenaiBaseIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldOpenaiBase, vs...))
}

// OpenaiBaseNotIn applies the NotIn predicate on the "openai_base" field.
func OpenaiBaseNotIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldOpenaiBase, vs...))
}

// OpenaiBaseGT applies the GT predicate on the "openai_base" field.
func OpenaiBaseGT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldOpenaiBase, v))
}

// OpenaiBaseGTE applies the GTE predicate on the "openai_base" field.
func OpenaiBaseGTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldOpenaiBase, v))
}

// OpenaiBaseLT applies the LT predicate on the "openai_base" field.
func OpenaiBaseLT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldOpenaiBase, v))
}

// OpenaiBaseLTE applies the LTE predicate on the "openai_base" field.
func OpenaiBaseLTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldOpenaiBase, v))
}

// OpenaiBaseContains applies the Contains predicate on the "openai_base" field.
func OpenaiBaseContains(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContains(FieldOpenaiBase, v))
}

// OpenaiBaseHasPrefix applies the HasPrefix predicate on the "openai_base" field.
func OpenaiBaseHasPrefix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldOpenaiBase, v))
}

// OpenaiBaseHasSuffix applies the HasSuffix predicate on the "openai_base" field.
func OpenaiBaseHasSuffix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldOpenaiBase, v))
}

// OpenaiBaseEqualFold applies the EqualFold predicate on the "openai_base" field.
func OpenaiBaseEqualFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldOpenaiBase, v))
}

// OpenaiBaseContainsFold applies the ContainsFold predicate on the "openai_base" field.
func OpenaiBaseContainsFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldOpenaiBase, v))
}

// OpenaiKeyEQ applies the EQ predicate on the "openai_key" field.
func OpenaiKeyEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldOpenaiKey, v))
}

// OpenaiKeyNEQ applies the NEQ predicate on the "openai_key" field.
func OpenaiKeyNEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldOpenaiKey, v))
}

// OpenaiKeyIn applies the In predicate on the "openai_key" field.
func OpenaiKeyIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldOpenaiKey, vs...))
}

// OpenaiKeyNotIn applies the NotIn predicate on the "openai_key" field.
func OpenaiKeyNotIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldOpenaiKey, vs...))
}

// OpenaiKeyGT applies the GT predicate on the "openai_key" field.
func OpenaiKeyGT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldOpenaiKey, v))
}

// OpenaiKeyGTE applies the GTE predicate on the "openai_key" field.
func OpenaiKeyGTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldOpenaiKey, v))
}

// OpenaiKeyLT applies the LT predicate on the "openai_key" field.
func OpenaiKeyLT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldOpenaiKey, v))
}

// OpenaiKeyLTE applies the LTE predicate on the "openai_key" field.
func OpenaiKeyLTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldOpenaiKey, v))
}

// OpenaiKeyContains applies the Contains predicate on the "openai_key" field.
func OpenaiKeyContains(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContains(FieldOpenaiKey, v))
}

// OpenaiKeyHasPrefix applies the HasPrefix predicate on the "openai_key" field.
func OpenaiKeyHasPrefix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldOpenaiKey, v))
}

// OpenaiKeyHasSuffix applies the HasSuffix predicate on the "openai_key" field.
func OpenaiKeyHasSuffix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldOpenaiKey, v))
}

// OpenaiKeyEqualFold applies the EqualFold predicate on the "openai_key" field.
func OpenaiKeyEqualFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldOpenaiKey, v))
}

// OpenaiKeyContainsFold applies the ContainsFold predicate on the "openai_key" field.
func OpenaiKeyContainsFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldOpenaiKey, v))
}

// RequestRawEQ applies the EQ predicate on the "request_raw" field.
func RequestRawEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldRequestRaw, v))
}

// RequestRawNEQ applies the NEQ predicate on the "request_raw" field.
func RequestRawNEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldRequestRaw, v))
}

// RequestRawIn applies the In predicate on the "request_raw" field.
func RequestRawIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldRequestRaw, vs...))
}

// RequestRawNotIn applies the NotIn predicate on the "request_raw" field.
func RequestRawNotIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldRequestRaw, vs...))
}

// RequestRawGT applies the GT predicate on the "request_raw" field.
func RequestRawGT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldRequestRaw, v))
}

// RequestRawGTE applies the GTE predicate on the "request_raw" field.
func RequestRawGTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldRequestRaw, v))
}

// RequestRawLT applies the LT predicate on the "request_raw" field.
func RequestRawLT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldRequestRaw, v))
}

// RequestRawLTE applies the LTE predicate on the "request_raw" field.
func RequestRawLTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldRequestRaw, v))
}

// RequestRawContains applies the Contains predicate on the "request_raw" field.
func RequestRawContains(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContains(FieldRequestRaw, v))
}

// RequestRawHasPrefix applies the HasPrefix predicate on the "request_raw" field.
func RequestRawHasPrefix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldRequestRaw, v))
}

// RequestRawHasSuffix applies the HasSuffix predicate on the "request_raw" field.
func RequestRawHasSuffix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldRequestRaw, v))
}

// RequestRawEqualFold applies the EqualFold predicate on the "request_raw" field.
func RequestRawEqualFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldRequestRaw, v))
}

// RequestRawContainsFold applies the ContainsFold predicate on the "request_raw" field.
func RequestRawContainsFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldRequestRaw, v))
}

// ResponseRawEQ applies the EQ predicate on the "response_raw" field.
func ResponseRawEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldResponseRaw, v))
}

// ResponseRawNEQ applies the NEQ predicate on the "response_raw" field.
func ResponseRawNEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldResponseRaw, v))
}

// ResponseRawIn applies the In predicate on the "response_raw" field.
func ResponseRawIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldResponseRaw, vs...))
}

// ResponseRawNotIn applies the NotIn predicate on the "response_raw" field.
func ResponseRawNotIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldResponseRaw, vs...))
}

// ResponseRawGT applies the GT predicate on the "response_raw" field.
func ResponseRawGT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldResponseRaw, v))
}

// ResponseRawGTE applies the GTE predicate on the "response_raw" field.
func ResponseRawGTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldResponseRaw, v))
}

// ResponseRawLT applies the LT predicate on the "response_raw" field.
func ResponseRawLT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldResponseRaw, v))
}

// ResponseRawLTE applies the LTE predicate on the "response_raw" field.
func ResponseRawLTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldResponseRaw, v))
}

// ResponseRawContains applies the Contains predicate on the "response_raw" field.
func ResponseRawContains(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContains(FieldResponseRaw, v))
}

// ResponseRawHasPrefix applies the HasPrefix predicate on the "response_raw" field.
func ResponseRawHasPrefix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldResponseRaw, v))
}

// ResponseRawHasSuffix applies the HasSuffix predicate on the "response_raw" field.
func ResponseRawHasSuffix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldResponseRaw, v))
}

// ResponseRawIsNil applies the IsNil predicate on the "response_raw" field.
func ResponseRawIsNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIsNull(FieldResponseRaw))
}

// ResponseRawNotNil applies the NotNil predicate on the "response_raw" field.
func ResponseRawNotNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotNull(FieldResponseRaw))
}

// ResponseRawEqualFold applies the EqualFold predicate on the "response_raw" field.
func ResponseRawEqualFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldResponseRaw, v))
}

// ResponseRawContainsFold applies the ContainsFold predicate on the "response_raw" field.
func ResponseRawContainsFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldResponseRaw, v))
}

// CallbackURLEQ applies the EQ predicate on the "callback_url" field.
func CallbackURLEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldCallbackURL, v))
}

// CallbackURLNEQ applies the NEQ predicate on the "callback_url" field.
func CallbackURLNEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldCallbackURL, v))
}

// CallbackURLIn applies the In predicate on the "callback_url" field.
func CallbackURLIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldCallbackURL, vs...))
}

// CallbackURLNotIn applies the NotIn predicate on the "callback_url" field.
func CallbackURLNotIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldCallbackURL, vs...))
}

// CallbackURLGT applies the GT predicate on the "callback_url" field.
func CallbackURLGT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldCallbackURL, v))
}

// CallbackURLGTE applies the GTE predicate on the "callback_url" field.
func CallbackURLGTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldCallbackURL, v))
}

// CallbackURLLT applies the LT predicate on the "callback_url" field.
func CallbackURLLT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldCallbackURL, v))
}

// CallbackURLLTE applies the LTE predicate on the "callback_url" field.
func CallbackURLLTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldCallbackURL, v))
}

// CallbackURLContains applies the Contains predicate on the "callback_url" field.
func CallbackURLContains(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContains(FieldCallbackURL, v))
}

// CallbackURLHasPrefix applies the HasPrefix predicate on the "callback_url" field.
func CallbackURLHasPrefix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldCallbackURL, v))
}

// CallbackURLHasSuffix applies the HasSuffix predicate on the "callback_url" field.
func CallbackURLHasSuffix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldCallbackURL, v))
}

// CallbackURLEqualFold applies the EqualFold predicate on the "callback_url" field.
func CallbackURLEqualFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldCallbackURL, v))
}

// CallbackURLContainsFold applies the ContainsFold predicate on the "callback_url" field.
func CallbackURLContainsFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldCallbackURL, v))
}

// CallbackResponseRawEQ applies the EQ predicate on the "callback_response_raw" field.
func CallbackResponseRawEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldCallbackResponseRaw, v))
}

// CallbackResponseRawNEQ applies the NEQ predicate on the "callback_response_raw" field.
func CallbackResponseRawNEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldCallbackResponseRaw, v))
}

// CallbackResponseRawIn applies the In predicate on the "callback_response_raw" field.
func CallbackResponseRawIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldCallbackResponseRaw, vs...))
}

// CallbackResponseRawNotIn applies the NotIn predicate on the "callback_response_raw" field.
func CallbackResponseRawNotIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldCallbackResponseRaw, vs...))
}

// CallbackResponseRawGT applies the GT predicate on the "callback_response_raw" field.
func CallbackResponseRawGT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldCallbackResponseRaw, v))
}

// CallbackResponseRawGTE applies the GTE predicate on the "callback_response_raw" field.
func CallbackResponseRawGTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldCallbackResponseRaw, v))
}

// CallbackResponseRawLT applies the LT predicate on the "callback_response_raw" field.
func CallbackResponseRawLT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldCallbackResponseRaw, v))
}

// CallbackResponseRawLTE applies the LTE predicate on the "callback_response_raw" field.
func CallbackResponseRawLTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldCallbackResponseRaw, v))
}

// CallbackResponseRawContains applies the Contains predicate on the "callback_response_raw" field.
func CallbackResponseRawContains(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContains(FieldCallbackResponseRaw, v))
}

// CallbackResponseRawHasPrefix applies the HasPrefix predicate on the "callback_response_raw" field.
func CallbackResponseRawHasPrefix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldCallbackResponseRaw, v))
}

// CallbackResponseRawHasSuffix applies the HasSuffix predicate on the "callback_response_raw" field.
func CallbackResponseRawHasSuffix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldCallbackResponseRaw, v))
}

// CallbackResponseRawIsNil applies the IsNil predicate on the "callback_response_raw" field.
func CallbackResponseRawIsNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIsNull(FieldCallbackResponseRaw))
}

// CallbackResponseRawNotNil applies the NotNil predicate on the "callback_response_raw" field.
func CallbackResponseRawNotNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotNull(FieldCallbackResponseRaw))
}

// CallbackResponseRawEqualFold applies the EqualFold predicate on the "callback_response_raw" field.
func CallbackResponseRawEqualFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldCallbackResponseRaw, v))
}

// CallbackResponseRawContainsFold applies the ContainsFold predicate on the "callback_response_raw" field.
func CallbackResponseRawContainsFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldCallbackResponseRaw, v))
}

// ModelEQ applies the EQ predicate on the "model" field.
func ModelEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldModel, v))
}

// ModelNEQ applies the NEQ predicate on the "model" field.
func ModelNEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldModel, v))
}

// ModelIn applies the In predicate on the "model" field.
func ModelIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldModel, vs...))
}

// ModelNotIn applies the NotIn predicate on the "model" field.
func ModelNotIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldModel, vs...))
}

// ModelGT applies the GT predicate on the "model" field.
func ModelGT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldModel, v))
}

// ModelGTE applies the GTE predicate on the "model" field.
func ModelGTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldModel, v))
}

// ModelLT applies the LT predicate on the "model" field.
func ModelLT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldModel, v))
}

// ModelLTE applies the LTE predicate on the "model" field.
func ModelLTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldModel, v))
}

// ModelContains applies the Contains predicate on the "model" field.
func ModelContains(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContains(FieldModel, v))
}

// ModelHasPrefix applies the HasPrefix predicate on the "model" field.
func ModelHasPrefix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldModel, v))
}

// ModelHasSuffix applies the HasSuffix predicate on the "model" field.
func ModelHasSuffix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldModel, v))
}

// ModelIsNil applies the IsNil predicate on the "model" field.
func ModelIsNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIsNull(FieldModel))
}

// ModelNotNil applies the NotNil predicate on the "model" field.
func ModelNotNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotNull(FieldModel))
}

// ModelEqualFold applies the EqualFold predicate on the "model" field.
func ModelEqualFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldModel, v))
}

// ModelContainsFold applies the ContainsFold predicate on the "model" field.
func ModelContainsFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldModel, v))
}

// TaskStatusEQ applies the EQ predicate on the "task_status" field.
func TaskStatusEQ(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldTaskStatus, v))
}

// TaskStatusNEQ applies the NEQ predicate on the "task_status" field.
func TaskStatusNEQ(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldTaskStatus, v))
}

// TaskStatusIn applies the In predicate on the "task_status" field.
func TaskStatusIn(vs ...int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldTaskStatus, vs...))
}

// TaskStatusNotIn applies the NotIn predicate on the "task_status" field.
func TaskStatusNotIn(vs ...int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldTaskStatus, vs...))
}

// TaskStatusGT applies the GT predicate on the "task_status" field.
func TaskStatusGT(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldTaskStatus, v))
}

// TaskStatusGTE applies the GTE predicate on the "task_status" field.
func TaskStatusGTE(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldTaskStatus, v))
}

// TaskStatusLT applies the LT predicate on the "task_status" field.
func TaskStatusLT(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldTaskStatus, v))
}

// TaskStatusLTE applies the LTE predicate on the "task_status" field.
func TaskStatusLTE(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldTaskStatus, v))
}

// TaskStatusIsNil applies the IsNil predicate on the "task_status" field.
func TaskStatusIsNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIsNull(FieldTaskStatus))
}

// TaskStatusNotNil applies the NotNil predicate on the "task_status" field.
func TaskStatusNotNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotNull(FieldTaskStatus))
}

// RetryCountEQ applies the EQ predicate on the "retry_count" field.
func RetryCountEQ(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldRetryCount, v))
}

// RetryCountNEQ applies the NEQ predicate on the "retry_count" field.
func RetryCountNEQ(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldRetryCount, v))
}

// RetryCountIn applies the In predicate on the "retry_count" field.
func RetryCountIn(vs ...int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldRetryCount, vs...))
}

// RetryCountNotIn applies the NotIn predicate on the "retry_count" field.
func RetryCountNotIn(vs ...int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldRetryCount, vs...))
}

// RetryCountGT applies the GT predicate on the "retry_count" field.
func RetryCountGT(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldRetryCount, v))
}

// RetryCountGTE applies the GTE predicate on the "retry_count" field.
func RetryCountGTE(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldRetryCount, v))
}

// RetryCountLT applies the LT predicate on the "retry_count" field.
func RetryCountLT(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldRetryCount, v))
}

// RetryCountLTE applies the LTE predicate on the "retry_count" field.
func RetryCountLTE(v int8) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldRetryCount, v))
}

// RetryCountIsNil applies the IsNil predicate on the "retry_count" field.
func RetryCountIsNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIsNull(FieldRetryCount))
}

// RetryCountNotNil applies the NotNil predicate on the "retry_count" field.
func RetryCountNotNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotNull(FieldRetryCount))
}

// LastErrorEQ applies the EQ predicate on the "last_error" field.
func LastErrorEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEQ(FieldLastError, v))
}

// LastErrorNEQ applies the NEQ predicate on the "last_error" field.
func LastErrorNEQ(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNEQ(FieldLastError, v))
}

// LastErrorIn applies the In predicate on the "last_error" field.
func LastErrorIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIn(FieldLastError, vs...))
}

// LastErrorNotIn applies the NotIn predicate on the "last_error" field.
func LastErrorNotIn(vs ...string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotIn(FieldLastError, vs...))
}

// LastErrorGT applies the GT predicate on the "last_error" field.
func LastErrorGT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGT(FieldLastError, v))
}

// LastErrorGTE applies the GTE predicate on the "last_error" field.
func LastErrorGTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldGTE(FieldLastError, v))
}

// LastErrorLT applies the LT predicate on the "last_error" field.
func LastErrorLT(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLT(FieldLastError, v))
}

// LastErrorLTE applies the LTE predicate on the "last_error" field.
func LastErrorLTE(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldLTE(FieldLastError, v))
}

// LastErrorContains applies the Contains predicate on the "last_error" field.
func LastErrorContains(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContains(FieldLastError, v))
}

// LastErrorHasPrefix applies the HasPrefix predicate on the "last_error" field.
func LastErrorHasPrefix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasPrefix(FieldLastError, v))
}

// LastErrorHasSuffix applies the HasSuffix predicate on the "last_error" field.
func LastErrorHasSuffix(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldHasSuffix(FieldLastError, v))
}

// LastErrorIsNil applies the IsNil predicate on the "last_error" field.
func LastErrorIsNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldIsNull(FieldLastError))
}

// LastErrorNotNil applies the NotNil predicate on the "last_error" field.
func LastErrorNotNil() predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldNotNull(FieldLastError))
}

// LastErrorEqualFold applies the EqualFold predicate on the "last_error" field.
func LastErrorEqualFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldEqualFold(FieldLastError, v))
}

// LastErrorContainsFold applies the ContainsFold predicate on the "last_error" field.
func LastErrorContainsFold(v string) predicate.CompapiAsynctask {
	return predicate.CompapiAsynctask(sql.FieldContainsFold(FieldLastError, v))
}

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

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

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