You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloudreve/ent/abusereport/where.go

741 lines
28 KiB

// Code generated by ent, DO NOT EDIT.
package abusereport
import (
"time"
"entgo.io/ent/dialect/sql"
"github.com/cloudreve/Cloudreve/v4/ent/predicate"
)
// ID filters vertices based on their ID field.
func ID(id int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id int) predicate.AbuseReport {
return predicate.AbuseReport(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.AbuseReport {
return predicate.AbuseReport(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.AbuseReport {
return predicate.AbuseReport(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.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldDeletedAt, v))
}
// ReporterID applies equality check predicate on the "reporter_id" field. It's identical to ReporterIDEQ.
func ReporterID(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldReporterID, v))
}
// ReporterEmail applies equality check predicate on the "reporter_email" field. It's identical to ReporterEmailEQ.
func ReporterEmail(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldReporterEmail, v))
}
// TargetType applies equality check predicate on the "target_type" field. It's identical to TargetTypeEQ.
func TargetType(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldTargetType, v))
}
// TargetID applies equality check predicate on the "target_id" field. It's identical to TargetIDEQ.
func TargetID(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldTargetID, v))
}
// Reason applies equality check predicate on the "reason" field. It's identical to ReasonEQ.
func Reason(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldReason, v))
}
// Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func Description(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldDescription, v))
}
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func Status(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldStatus, v))
}
// AdminNote applies equality check predicate on the "admin_note" field. It's identical to AdminNoteEQ.
func AdminNote(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldAdminNote, v))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLTE(FieldCreatedAt, v))
}
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldUpdatedAt, v))
}
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNEQ(FieldUpdatedAt, v))
}
// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIn(FieldUpdatedAt, vs...))
}
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotIn(FieldUpdatedAt, vs...))
}
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGT(FieldUpdatedAt, v))
}
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGTE(FieldUpdatedAt, v))
}
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLT(FieldUpdatedAt, v))
}
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLTE(FieldUpdatedAt, v))
}
// DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtEQ(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldDeletedAt, v))
}
// DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNEQ(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNEQ(FieldDeletedAt, v))
}
// DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIn(vs ...time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIn(FieldDeletedAt, vs...))
}
// DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotIn(vs ...time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotIn(FieldDeletedAt, vs...))
}
// DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGT(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGT(FieldDeletedAt, v))
}
// DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtGTE(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGTE(FieldDeletedAt, v))
}
// DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLT(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLT(FieldDeletedAt, v))
}
// DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtLTE(v time.Time) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLTE(FieldDeletedAt, v))
}
// DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtIsNil() predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIsNull(FieldDeletedAt))
}
// DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedAtNotNil() predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotNull(FieldDeletedAt))
}
// ReporterIDEQ applies the EQ predicate on the "reporter_id" field.
func ReporterIDEQ(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldReporterID, v))
}
// ReporterIDNEQ applies the NEQ predicate on the "reporter_id" field.
func ReporterIDNEQ(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNEQ(FieldReporterID, v))
}
// ReporterIDIn applies the In predicate on the "reporter_id" field.
func ReporterIDIn(vs ...int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIn(FieldReporterID, vs...))
}
// ReporterIDNotIn applies the NotIn predicate on the "reporter_id" field.
func ReporterIDNotIn(vs ...int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotIn(FieldReporterID, vs...))
}
// ReporterIDGT applies the GT predicate on the "reporter_id" field.
func ReporterIDGT(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGT(FieldReporterID, v))
}
// ReporterIDGTE applies the GTE predicate on the "reporter_id" field.
func ReporterIDGTE(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGTE(FieldReporterID, v))
}
// ReporterIDLT applies the LT predicate on the "reporter_id" field.
func ReporterIDLT(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLT(FieldReporterID, v))
}
// ReporterIDLTE applies the LTE predicate on the "reporter_id" field.
func ReporterIDLTE(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLTE(FieldReporterID, v))
}
// ReporterIDIsNil applies the IsNil predicate on the "reporter_id" field.
func ReporterIDIsNil() predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIsNull(FieldReporterID))
}
// ReporterIDNotNil applies the NotNil predicate on the "reporter_id" field.
func ReporterIDNotNil() predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotNull(FieldReporterID))
}
// ReporterEmailEQ applies the EQ predicate on the "reporter_email" field.
func ReporterEmailEQ(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldReporterEmail, v))
}
// ReporterEmailNEQ applies the NEQ predicate on the "reporter_email" field.
func ReporterEmailNEQ(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNEQ(FieldReporterEmail, v))
}
// ReporterEmailIn applies the In predicate on the "reporter_email" field.
func ReporterEmailIn(vs ...string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIn(FieldReporterEmail, vs...))
}
// ReporterEmailNotIn applies the NotIn predicate on the "reporter_email" field.
func ReporterEmailNotIn(vs ...string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotIn(FieldReporterEmail, vs...))
}
// ReporterEmailGT applies the GT predicate on the "reporter_email" field.
func ReporterEmailGT(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGT(FieldReporterEmail, v))
}
// ReporterEmailGTE applies the GTE predicate on the "reporter_email" field.
func ReporterEmailGTE(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGTE(FieldReporterEmail, v))
}
// ReporterEmailLT applies the LT predicate on the "reporter_email" field.
func ReporterEmailLT(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLT(FieldReporterEmail, v))
}
// ReporterEmailLTE applies the LTE predicate on the "reporter_email" field.
func ReporterEmailLTE(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLTE(FieldReporterEmail, v))
}
// ReporterEmailContains applies the Contains predicate on the "reporter_email" field.
func ReporterEmailContains(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldContains(FieldReporterEmail, v))
}
// ReporterEmailHasPrefix applies the HasPrefix predicate on the "reporter_email" field.
func ReporterEmailHasPrefix(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldHasPrefix(FieldReporterEmail, v))
}
// ReporterEmailHasSuffix applies the HasSuffix predicate on the "reporter_email" field.
func ReporterEmailHasSuffix(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldHasSuffix(FieldReporterEmail, v))
}
// ReporterEmailIsNil applies the IsNil predicate on the "reporter_email" field.
func ReporterEmailIsNil() predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIsNull(FieldReporterEmail))
}
// ReporterEmailNotNil applies the NotNil predicate on the "reporter_email" field.
func ReporterEmailNotNil() predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotNull(FieldReporterEmail))
}
// ReporterEmailEqualFold applies the EqualFold predicate on the "reporter_email" field.
func ReporterEmailEqualFold(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEqualFold(FieldReporterEmail, v))
}
// ReporterEmailContainsFold applies the ContainsFold predicate on the "reporter_email" field.
func ReporterEmailContainsFold(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldContainsFold(FieldReporterEmail, v))
}
// TargetTypeEQ applies the EQ predicate on the "target_type" field.
func TargetTypeEQ(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldTargetType, v))
}
// TargetTypeNEQ applies the NEQ predicate on the "target_type" field.
func TargetTypeNEQ(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNEQ(FieldTargetType, v))
}
// TargetTypeIn applies the In predicate on the "target_type" field.
func TargetTypeIn(vs ...string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIn(FieldTargetType, vs...))
}
// TargetTypeNotIn applies the NotIn predicate on the "target_type" field.
func TargetTypeNotIn(vs ...string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotIn(FieldTargetType, vs...))
}
// TargetTypeGT applies the GT predicate on the "target_type" field.
func TargetTypeGT(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGT(FieldTargetType, v))
}
// TargetTypeGTE applies the GTE predicate on the "target_type" field.
func TargetTypeGTE(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGTE(FieldTargetType, v))
}
// TargetTypeLT applies the LT predicate on the "target_type" field.
func TargetTypeLT(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLT(FieldTargetType, v))
}
// TargetTypeLTE applies the LTE predicate on the "target_type" field.
func TargetTypeLTE(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLTE(FieldTargetType, v))
}
// TargetTypeContains applies the Contains predicate on the "target_type" field.
func TargetTypeContains(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldContains(FieldTargetType, v))
}
// TargetTypeHasPrefix applies the HasPrefix predicate on the "target_type" field.
func TargetTypeHasPrefix(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldHasPrefix(FieldTargetType, v))
}
// TargetTypeHasSuffix applies the HasSuffix predicate on the "target_type" field.
func TargetTypeHasSuffix(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldHasSuffix(FieldTargetType, v))
}
// TargetTypeEqualFold applies the EqualFold predicate on the "target_type" field.
func TargetTypeEqualFold(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEqualFold(FieldTargetType, v))
}
// TargetTypeContainsFold applies the ContainsFold predicate on the "target_type" field.
func TargetTypeContainsFold(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldContainsFold(FieldTargetType, v))
}
// TargetIDEQ applies the EQ predicate on the "target_id" field.
func TargetIDEQ(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldTargetID, v))
}
// TargetIDNEQ applies the NEQ predicate on the "target_id" field.
func TargetIDNEQ(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNEQ(FieldTargetID, v))
}
// TargetIDIn applies the In predicate on the "target_id" field.
func TargetIDIn(vs ...int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIn(FieldTargetID, vs...))
}
// TargetIDNotIn applies the NotIn predicate on the "target_id" field.
func TargetIDNotIn(vs ...int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotIn(FieldTargetID, vs...))
}
// TargetIDGT applies the GT predicate on the "target_id" field.
func TargetIDGT(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGT(FieldTargetID, v))
}
// TargetIDGTE applies the GTE predicate on the "target_id" field.
func TargetIDGTE(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGTE(FieldTargetID, v))
}
// TargetIDLT applies the LT predicate on the "target_id" field.
func TargetIDLT(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLT(FieldTargetID, v))
}
// TargetIDLTE applies the LTE predicate on the "target_id" field.
func TargetIDLTE(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLTE(FieldTargetID, v))
}
// ReasonEQ applies the EQ predicate on the "reason" field.
func ReasonEQ(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldReason, v))
}
// ReasonNEQ applies the NEQ predicate on the "reason" field.
func ReasonNEQ(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNEQ(FieldReason, v))
}
// ReasonIn applies the In predicate on the "reason" field.
func ReasonIn(vs ...int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIn(FieldReason, vs...))
}
// ReasonNotIn applies the NotIn predicate on the "reason" field.
func ReasonNotIn(vs ...int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotIn(FieldReason, vs...))
}
// ReasonGT applies the GT predicate on the "reason" field.
func ReasonGT(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGT(FieldReason, v))
}
// ReasonGTE applies the GTE predicate on the "reason" field.
func ReasonGTE(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGTE(FieldReason, v))
}
// ReasonLT applies the LT predicate on the "reason" field.
func ReasonLT(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLT(FieldReason, v))
}
// ReasonLTE applies the LTE predicate on the "reason" field.
func ReasonLTE(v int) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLTE(FieldReason, v))
}
// DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEQ(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldDescription, v))
}
// DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNEQ(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNEQ(FieldDescription, v))
}
// DescriptionIn applies the In predicate on the "description" field.
func DescriptionIn(vs ...string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIn(FieldDescription, vs...))
}
// DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotIn(vs ...string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotIn(FieldDescription, vs...))
}
// DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGT(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGT(FieldDescription, v))
}
// DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionGTE(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGTE(FieldDescription, v))
}
// DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLT(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLT(FieldDescription, v))
}
// DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionLTE(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLTE(FieldDescription, v))
}
// DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContains(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldContains(FieldDescription, v))
}
// DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasPrefix(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldHasPrefix(FieldDescription, v))
}
// DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionHasSuffix(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldHasSuffix(FieldDescription, v))
}
// DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionIsNil() predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIsNull(FieldDescription))
}
// DescriptionNotNil applies the NotNil predicate on the "description" field.
func DescriptionNotNil() predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotNull(FieldDescription))
}
// DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionEqualFold(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEqualFold(FieldDescription, v))
}
// DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionContainsFold(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldContainsFold(FieldDescription, v))
}
// StatusEQ applies the EQ predicate on the "status" field.
func StatusEQ(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldStatus, v))
}
// StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNEQ(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNEQ(FieldStatus, v))
}
// StatusIn applies the In predicate on the "status" field.
func StatusIn(vs ...string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIn(FieldStatus, vs...))
}
// StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotIn(vs ...string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotIn(FieldStatus, vs...))
}
// StatusGT applies the GT predicate on the "status" field.
func StatusGT(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGT(FieldStatus, v))
}
// StatusGTE applies the GTE predicate on the "status" field.
func StatusGTE(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGTE(FieldStatus, v))
}
// StatusLT applies the LT predicate on the "status" field.
func StatusLT(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLT(FieldStatus, v))
}
// StatusLTE applies the LTE predicate on the "status" field.
func StatusLTE(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLTE(FieldStatus, v))
}
// StatusContains applies the Contains predicate on the "status" field.
func StatusContains(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldContains(FieldStatus, v))
}
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasPrefix(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldHasPrefix(FieldStatus, v))
}
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusHasSuffix(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldHasSuffix(FieldStatus, v))
}
// StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusEqualFold(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEqualFold(FieldStatus, v))
}
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusContainsFold(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldContainsFold(FieldStatus, v))
}
// AdminNoteEQ applies the EQ predicate on the "admin_note" field.
func AdminNoteEQ(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEQ(FieldAdminNote, v))
}
// AdminNoteNEQ applies the NEQ predicate on the "admin_note" field.
func AdminNoteNEQ(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNEQ(FieldAdminNote, v))
}
// AdminNoteIn applies the In predicate on the "admin_note" field.
func AdminNoteIn(vs ...string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIn(FieldAdminNote, vs...))
}
// AdminNoteNotIn applies the NotIn predicate on the "admin_note" field.
func AdminNoteNotIn(vs ...string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotIn(FieldAdminNote, vs...))
}
// AdminNoteGT applies the GT predicate on the "admin_note" field.
func AdminNoteGT(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGT(FieldAdminNote, v))
}
// AdminNoteGTE applies the GTE predicate on the "admin_note" field.
func AdminNoteGTE(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldGTE(FieldAdminNote, v))
}
// AdminNoteLT applies the LT predicate on the "admin_note" field.
func AdminNoteLT(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLT(FieldAdminNote, v))
}
// AdminNoteLTE applies the LTE predicate on the "admin_note" field.
func AdminNoteLTE(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldLTE(FieldAdminNote, v))
}
// AdminNoteContains applies the Contains predicate on the "admin_note" field.
func AdminNoteContains(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldContains(FieldAdminNote, v))
}
// AdminNoteHasPrefix applies the HasPrefix predicate on the "admin_note" field.
func AdminNoteHasPrefix(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldHasPrefix(FieldAdminNote, v))
}
// AdminNoteHasSuffix applies the HasSuffix predicate on the "admin_note" field.
func AdminNoteHasSuffix(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldHasSuffix(FieldAdminNote, v))
}
// AdminNoteIsNil applies the IsNil predicate on the "admin_note" field.
func AdminNoteIsNil() predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldIsNull(FieldAdminNote))
}
// AdminNoteNotNil applies the NotNil predicate on the "admin_note" field.
func AdminNoteNotNil() predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldNotNull(FieldAdminNote))
}
// AdminNoteEqualFold applies the EqualFold predicate on the "admin_note" field.
func AdminNoteEqualFold(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldEqualFold(FieldAdminNote, v))
}
// AdminNoteContainsFold applies the ContainsFold predicate on the "admin_note" field.
func AdminNoteContainsFold(v string) predicate.AbuseReport {
return predicate.AbuseReport(sql.FieldContainsFold(FieldAdminNote, v))
}
// And groups predicates with the AND operator between them.
func And(predicates ...predicate.AbuseReport) predicate.AbuseReport {
return predicate.AbuseReport(sql.AndPredicates(predicates...))
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.AbuseReport) predicate.AbuseReport {
return predicate.AbuseReport(sql.OrPredicates(predicates...))
}
// Not applies the not operator on the given predicate.
func Not(p predicate.AbuseReport) predicate.AbuseReport {
return predicate.AbuseReport(sql.NotPredicates(p))
}