// Code generated by ent, DO NOT EDIT.

package usagestatisticmonth

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

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

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

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

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

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

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

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

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

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

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

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

// DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAt(v time.Time) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldDeletedAt, v))
}

// Addtime applies equality check predicate on the "addtime" field. It's identical to AddtimeEQ.
func Addtime(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldAddtime, v))
}

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

// BotID applies equality check predicate on the "bot_id" field. It's identical to BotIDEQ.
func BotID(v string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldBotID, v))
}

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

// AiResponse applies equality check predicate on the "ai_response" field. It's identical to AiResponseEQ.
func AiResponse(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldAiResponse, v))
}

// SopRun applies equality check predicate on the "sop_run" field. It's identical to SopRunEQ.
func SopRun(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldSopRun, v))
}

// TotalFriend applies equality check predicate on the "total_friend" field. It's identical to TotalFriendEQ.
func TotalFriend(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldTotalFriend, v))
}

// TotalGroup applies equality check predicate on the "total_group" field. It's identical to TotalGroupEQ.
func TotalGroup(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldTotalGroup, v))
}

// AccountBalance applies equality check predicate on the "account_balance" field. It's identical to AccountBalanceEQ.
func AccountBalance(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldAccountBalance, v))
}

// ConsumeToken applies equality check predicate on the "consume_token" field. It's identical to ConsumeTokenEQ.
func ConsumeToken(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldConsumeToken, v))
}

// ActiveUser applies equality check predicate on the "active_user" field. It's identical to ActiveUserEQ.
func ActiveUser(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldActiveUser, v))
}

// NewUser applies equality check predicate on the "new_user" field. It's identical to NewUserEQ.
func NewUser(v int64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldNewUser, v))
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// AddtimeEQ applies the EQ predicate on the "addtime" field.
func AddtimeEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldAddtime, v))
}

// AddtimeNEQ applies the NEQ predicate on the "addtime" field.
func AddtimeNEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNEQ(FieldAddtime, v))
}

// AddtimeIn applies the In predicate on the "addtime" field.
func AddtimeIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldIn(FieldAddtime, vs...))
}

// AddtimeNotIn applies the NotIn predicate on the "addtime" field.
func AddtimeNotIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNotIn(FieldAddtime, vs...))
}

// AddtimeGT applies the GT predicate on the "addtime" field.
func AddtimeGT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGT(FieldAddtime, v))
}

// AddtimeGTE applies the GTE predicate on the "addtime" field.
func AddtimeGTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGTE(FieldAddtime, v))
}

// AddtimeLT applies the LT predicate on the "addtime" field.
func AddtimeLT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLT(FieldAddtime, v))
}

// AddtimeLTE applies the LTE predicate on the "addtime" field.
func AddtimeLTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLTE(FieldAddtime, v))
}

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

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

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

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

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

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

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

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

// BotIDEQ applies the EQ predicate on the "bot_id" field.
func BotIDEQ(v string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldBotID, v))
}

// BotIDNEQ applies the NEQ predicate on the "bot_id" field.
func BotIDNEQ(v string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNEQ(FieldBotID, v))
}

// BotIDIn applies the In predicate on the "bot_id" field.
func BotIDIn(vs ...string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldIn(FieldBotID, vs...))
}

// BotIDNotIn applies the NotIn predicate on the "bot_id" field.
func BotIDNotIn(vs ...string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNotIn(FieldBotID, vs...))
}

// BotIDGT applies the GT predicate on the "bot_id" field.
func BotIDGT(v string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGT(FieldBotID, v))
}

// BotIDGTE applies the GTE predicate on the "bot_id" field.
func BotIDGTE(v string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGTE(FieldBotID, v))
}

// BotIDLT applies the LT predicate on the "bot_id" field.
func BotIDLT(v string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLT(FieldBotID, v))
}

// BotIDLTE applies the LTE predicate on the "bot_id" field.
func BotIDLTE(v string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLTE(FieldBotID, v))
}

// BotIDContains applies the Contains predicate on the "bot_id" field.
func BotIDContains(v string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldContains(FieldBotID, v))
}

// BotIDHasPrefix applies the HasPrefix predicate on the "bot_id" field.
func BotIDHasPrefix(v string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldHasPrefix(FieldBotID, v))
}

// BotIDHasSuffix applies the HasSuffix predicate on the "bot_id" field.
func BotIDHasSuffix(v string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldHasSuffix(FieldBotID, v))
}

// BotIDIsNil applies the IsNil predicate on the "bot_id" field.
func BotIDIsNil() predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldIsNull(FieldBotID))
}

// BotIDNotNil applies the NotNil predicate on the "bot_id" field.
func BotIDNotNil() predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNotNull(FieldBotID))
}

// BotIDEqualFold applies the EqualFold predicate on the "bot_id" field.
func BotIDEqualFold(v string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEqualFold(FieldBotID, v))
}

// BotIDContainsFold applies the ContainsFold predicate on the "bot_id" field.
func BotIDContainsFold(v string) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldContainsFold(FieldBotID, v))
}

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

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

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

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

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

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

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

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

// OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
func OrganizationIDIsNil() predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldIsNull(FieldOrganizationID))
}

// OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
func OrganizationIDNotNil() predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNotNull(FieldOrganizationID))
}

// AiResponseEQ applies the EQ predicate on the "ai_response" field.
func AiResponseEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldAiResponse, v))
}

// AiResponseNEQ applies the NEQ predicate on the "ai_response" field.
func AiResponseNEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNEQ(FieldAiResponse, v))
}

// AiResponseIn applies the In predicate on the "ai_response" field.
func AiResponseIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldIn(FieldAiResponse, vs...))
}

// AiResponseNotIn applies the NotIn predicate on the "ai_response" field.
func AiResponseNotIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNotIn(FieldAiResponse, vs...))
}

// AiResponseGT applies the GT predicate on the "ai_response" field.
func AiResponseGT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGT(FieldAiResponse, v))
}

// AiResponseGTE applies the GTE predicate on the "ai_response" field.
func AiResponseGTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGTE(FieldAiResponse, v))
}

// AiResponseLT applies the LT predicate on the "ai_response" field.
func AiResponseLT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLT(FieldAiResponse, v))
}

// AiResponseLTE applies the LTE predicate on the "ai_response" field.
func AiResponseLTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLTE(FieldAiResponse, v))
}

// SopRunEQ applies the EQ predicate on the "sop_run" field.
func SopRunEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldSopRun, v))
}

// SopRunNEQ applies the NEQ predicate on the "sop_run" field.
func SopRunNEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNEQ(FieldSopRun, v))
}

// SopRunIn applies the In predicate on the "sop_run" field.
func SopRunIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldIn(FieldSopRun, vs...))
}

// SopRunNotIn applies the NotIn predicate on the "sop_run" field.
func SopRunNotIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNotIn(FieldSopRun, vs...))
}

// SopRunGT applies the GT predicate on the "sop_run" field.
func SopRunGT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGT(FieldSopRun, v))
}

// SopRunGTE applies the GTE predicate on the "sop_run" field.
func SopRunGTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGTE(FieldSopRun, v))
}

// SopRunLT applies the LT predicate on the "sop_run" field.
func SopRunLT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLT(FieldSopRun, v))
}

// SopRunLTE applies the LTE predicate on the "sop_run" field.
func SopRunLTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLTE(FieldSopRun, v))
}

// TotalFriendEQ applies the EQ predicate on the "total_friend" field.
func TotalFriendEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldTotalFriend, v))
}

// TotalFriendNEQ applies the NEQ predicate on the "total_friend" field.
func TotalFriendNEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNEQ(FieldTotalFriend, v))
}

// TotalFriendIn applies the In predicate on the "total_friend" field.
func TotalFriendIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldIn(FieldTotalFriend, vs...))
}

// TotalFriendNotIn applies the NotIn predicate on the "total_friend" field.
func TotalFriendNotIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNotIn(FieldTotalFriend, vs...))
}

// TotalFriendGT applies the GT predicate on the "total_friend" field.
func TotalFriendGT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGT(FieldTotalFriend, v))
}

// TotalFriendGTE applies the GTE predicate on the "total_friend" field.
func TotalFriendGTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGTE(FieldTotalFriend, v))
}

// TotalFriendLT applies the LT predicate on the "total_friend" field.
func TotalFriendLT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLT(FieldTotalFriend, v))
}

// TotalFriendLTE applies the LTE predicate on the "total_friend" field.
func TotalFriendLTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLTE(FieldTotalFriend, v))
}

// TotalGroupEQ applies the EQ predicate on the "total_group" field.
func TotalGroupEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldTotalGroup, v))
}

// TotalGroupNEQ applies the NEQ predicate on the "total_group" field.
func TotalGroupNEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNEQ(FieldTotalGroup, v))
}

// TotalGroupIn applies the In predicate on the "total_group" field.
func TotalGroupIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldIn(FieldTotalGroup, vs...))
}

// TotalGroupNotIn applies the NotIn predicate on the "total_group" field.
func TotalGroupNotIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNotIn(FieldTotalGroup, vs...))
}

// TotalGroupGT applies the GT predicate on the "total_group" field.
func TotalGroupGT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGT(FieldTotalGroup, v))
}

// TotalGroupGTE applies the GTE predicate on the "total_group" field.
func TotalGroupGTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGTE(FieldTotalGroup, v))
}

// TotalGroupLT applies the LT predicate on the "total_group" field.
func TotalGroupLT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLT(FieldTotalGroup, v))
}

// TotalGroupLTE applies the LTE predicate on the "total_group" field.
func TotalGroupLTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLTE(FieldTotalGroup, v))
}

// AccountBalanceEQ applies the EQ predicate on the "account_balance" field.
func AccountBalanceEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldAccountBalance, v))
}

// AccountBalanceNEQ applies the NEQ predicate on the "account_balance" field.
func AccountBalanceNEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNEQ(FieldAccountBalance, v))
}

// AccountBalanceIn applies the In predicate on the "account_balance" field.
func AccountBalanceIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldIn(FieldAccountBalance, vs...))
}

// AccountBalanceNotIn applies the NotIn predicate on the "account_balance" field.
func AccountBalanceNotIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNotIn(FieldAccountBalance, vs...))
}

// AccountBalanceGT applies the GT predicate on the "account_balance" field.
func AccountBalanceGT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGT(FieldAccountBalance, v))
}

// AccountBalanceGTE applies the GTE predicate on the "account_balance" field.
func AccountBalanceGTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGTE(FieldAccountBalance, v))
}

// AccountBalanceLT applies the LT predicate on the "account_balance" field.
func AccountBalanceLT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLT(FieldAccountBalance, v))
}

// AccountBalanceLTE applies the LTE predicate on the "account_balance" field.
func AccountBalanceLTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLTE(FieldAccountBalance, v))
}

// ConsumeTokenEQ applies the EQ predicate on the "consume_token" field.
func ConsumeTokenEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldConsumeToken, v))
}

// ConsumeTokenNEQ applies the NEQ predicate on the "consume_token" field.
func ConsumeTokenNEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNEQ(FieldConsumeToken, v))
}

// ConsumeTokenIn applies the In predicate on the "consume_token" field.
func ConsumeTokenIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldIn(FieldConsumeToken, vs...))
}

// ConsumeTokenNotIn applies the NotIn predicate on the "consume_token" field.
func ConsumeTokenNotIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNotIn(FieldConsumeToken, vs...))
}

// ConsumeTokenGT applies the GT predicate on the "consume_token" field.
func ConsumeTokenGT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGT(FieldConsumeToken, v))
}

// ConsumeTokenGTE applies the GTE predicate on the "consume_token" field.
func ConsumeTokenGTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGTE(FieldConsumeToken, v))
}

// ConsumeTokenLT applies the LT predicate on the "consume_token" field.
func ConsumeTokenLT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLT(FieldConsumeToken, v))
}

// ConsumeTokenLTE applies the LTE predicate on the "consume_token" field.
func ConsumeTokenLTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLTE(FieldConsumeToken, v))
}

// ActiveUserEQ applies the EQ predicate on the "active_user" field.
func ActiveUserEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldActiveUser, v))
}

// ActiveUserNEQ applies the NEQ predicate on the "active_user" field.
func ActiveUserNEQ(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNEQ(FieldActiveUser, v))
}

// ActiveUserIn applies the In predicate on the "active_user" field.
func ActiveUserIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldIn(FieldActiveUser, vs...))
}

// ActiveUserNotIn applies the NotIn predicate on the "active_user" field.
func ActiveUserNotIn(vs ...uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNotIn(FieldActiveUser, vs...))
}

// ActiveUserGT applies the GT predicate on the "active_user" field.
func ActiveUserGT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGT(FieldActiveUser, v))
}

// ActiveUserGTE applies the GTE predicate on the "active_user" field.
func ActiveUserGTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGTE(FieldActiveUser, v))
}

// ActiveUserLT applies the LT predicate on the "active_user" field.
func ActiveUserLT(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLT(FieldActiveUser, v))
}

// ActiveUserLTE applies the LTE predicate on the "active_user" field.
func ActiveUserLTE(v uint64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLTE(FieldActiveUser, v))
}

// NewUserEQ applies the EQ predicate on the "new_user" field.
func NewUserEQ(v int64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldEQ(FieldNewUser, v))
}

// NewUserNEQ applies the NEQ predicate on the "new_user" field.
func NewUserNEQ(v int64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNEQ(FieldNewUser, v))
}

// NewUserIn applies the In predicate on the "new_user" field.
func NewUserIn(vs ...int64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldIn(FieldNewUser, vs...))
}

// NewUserNotIn applies the NotIn predicate on the "new_user" field.
func NewUserNotIn(vs ...int64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldNotIn(FieldNewUser, vs...))
}

// NewUserGT applies the GT predicate on the "new_user" field.
func NewUserGT(v int64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGT(FieldNewUser, v))
}

// NewUserGTE applies the GTE predicate on the "new_user" field.
func NewUserGTE(v int64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldGTE(FieldNewUser, v))
}

// NewUserLT applies the LT predicate on the "new_user" field.
func NewUserLT(v int64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLT(FieldNewUser, v))
}

// NewUserLTE applies the LTE predicate on the "new_user" field.
func NewUserLTE(v int64) predicate.UsageStatisticMonth {
	return predicate.UsageStatisticMonth(sql.FieldLTE(FieldNewUser, v))
}

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

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

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