376 lines
14 KiB
Go
376 lines
14 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package disputetimeline
|
|
|
|
import (
|
|
"juwan-backend/app/dispute/rpc/internal/models/predicate"
|
|
"time"
|
|
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// ID filters vertices based on their ID field.
|
|
func ID(id int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// DisputeID applies equality check predicate on the "dispute_id" field. It's identical to DisputeIDEQ.
|
|
func DisputeID(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEQ(FieldDisputeID, v))
|
|
}
|
|
|
|
// EventType applies equality check predicate on the "event_type" field. It's identical to EventTypeEQ.
|
|
func EventType(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEQ(FieldEventType, v))
|
|
}
|
|
|
|
// ActorID applies equality check predicate on the "actor_id" field. It's identical to ActorIDEQ.
|
|
func ActorID(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEQ(FieldActorID, v))
|
|
}
|
|
|
|
// ActorName applies equality check predicate on the "actor_name" field. It's identical to ActorNameEQ.
|
|
func ActorName(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEQ(FieldActorName, v))
|
|
}
|
|
|
|
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
|
|
func CreatedAt(v time.Time) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// DisputeIDEQ applies the EQ predicate on the "dispute_id" field.
|
|
func DisputeIDEQ(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEQ(FieldDisputeID, v))
|
|
}
|
|
|
|
// DisputeIDNEQ applies the NEQ predicate on the "dispute_id" field.
|
|
func DisputeIDNEQ(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNEQ(FieldDisputeID, v))
|
|
}
|
|
|
|
// DisputeIDIn applies the In predicate on the "dispute_id" field.
|
|
func DisputeIDIn(vs ...int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldIn(FieldDisputeID, vs...))
|
|
}
|
|
|
|
// DisputeIDNotIn applies the NotIn predicate on the "dispute_id" field.
|
|
func DisputeIDNotIn(vs ...int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNotIn(FieldDisputeID, vs...))
|
|
}
|
|
|
|
// DisputeIDGT applies the GT predicate on the "dispute_id" field.
|
|
func DisputeIDGT(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldGT(FieldDisputeID, v))
|
|
}
|
|
|
|
// DisputeIDGTE applies the GTE predicate on the "dispute_id" field.
|
|
func DisputeIDGTE(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldGTE(FieldDisputeID, v))
|
|
}
|
|
|
|
// DisputeIDLT applies the LT predicate on the "dispute_id" field.
|
|
func DisputeIDLT(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldLT(FieldDisputeID, v))
|
|
}
|
|
|
|
// DisputeIDLTE applies the LTE predicate on the "dispute_id" field.
|
|
func DisputeIDLTE(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldLTE(FieldDisputeID, v))
|
|
}
|
|
|
|
// EventTypeEQ applies the EQ predicate on the "event_type" field.
|
|
func EventTypeEQ(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEQ(FieldEventType, v))
|
|
}
|
|
|
|
// EventTypeNEQ applies the NEQ predicate on the "event_type" field.
|
|
func EventTypeNEQ(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNEQ(FieldEventType, v))
|
|
}
|
|
|
|
// EventTypeIn applies the In predicate on the "event_type" field.
|
|
func EventTypeIn(vs ...string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldIn(FieldEventType, vs...))
|
|
}
|
|
|
|
// EventTypeNotIn applies the NotIn predicate on the "event_type" field.
|
|
func EventTypeNotIn(vs ...string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNotIn(FieldEventType, vs...))
|
|
}
|
|
|
|
// EventTypeGT applies the GT predicate on the "event_type" field.
|
|
func EventTypeGT(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldGT(FieldEventType, v))
|
|
}
|
|
|
|
// EventTypeGTE applies the GTE predicate on the "event_type" field.
|
|
func EventTypeGTE(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldGTE(FieldEventType, v))
|
|
}
|
|
|
|
// EventTypeLT applies the LT predicate on the "event_type" field.
|
|
func EventTypeLT(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldLT(FieldEventType, v))
|
|
}
|
|
|
|
// EventTypeLTE applies the LTE predicate on the "event_type" field.
|
|
func EventTypeLTE(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldLTE(FieldEventType, v))
|
|
}
|
|
|
|
// EventTypeContains applies the Contains predicate on the "event_type" field.
|
|
func EventTypeContains(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldContains(FieldEventType, v))
|
|
}
|
|
|
|
// EventTypeHasPrefix applies the HasPrefix predicate on the "event_type" field.
|
|
func EventTypeHasPrefix(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldHasPrefix(FieldEventType, v))
|
|
}
|
|
|
|
// EventTypeHasSuffix applies the HasSuffix predicate on the "event_type" field.
|
|
func EventTypeHasSuffix(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldHasSuffix(FieldEventType, v))
|
|
}
|
|
|
|
// EventTypeEqualFold applies the EqualFold predicate on the "event_type" field.
|
|
func EventTypeEqualFold(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEqualFold(FieldEventType, v))
|
|
}
|
|
|
|
// EventTypeContainsFold applies the ContainsFold predicate on the "event_type" field.
|
|
func EventTypeContainsFold(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldContainsFold(FieldEventType, v))
|
|
}
|
|
|
|
// ActorIDEQ applies the EQ predicate on the "actor_id" field.
|
|
func ActorIDEQ(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEQ(FieldActorID, v))
|
|
}
|
|
|
|
// ActorIDNEQ applies the NEQ predicate on the "actor_id" field.
|
|
func ActorIDNEQ(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNEQ(FieldActorID, v))
|
|
}
|
|
|
|
// ActorIDIn applies the In predicate on the "actor_id" field.
|
|
func ActorIDIn(vs ...int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldIn(FieldActorID, vs...))
|
|
}
|
|
|
|
// ActorIDNotIn applies the NotIn predicate on the "actor_id" field.
|
|
func ActorIDNotIn(vs ...int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNotIn(FieldActorID, vs...))
|
|
}
|
|
|
|
// ActorIDGT applies the GT predicate on the "actor_id" field.
|
|
func ActorIDGT(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldGT(FieldActorID, v))
|
|
}
|
|
|
|
// ActorIDGTE applies the GTE predicate on the "actor_id" field.
|
|
func ActorIDGTE(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldGTE(FieldActorID, v))
|
|
}
|
|
|
|
// ActorIDLT applies the LT predicate on the "actor_id" field.
|
|
func ActorIDLT(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldLT(FieldActorID, v))
|
|
}
|
|
|
|
// ActorIDLTE applies the LTE predicate on the "actor_id" field.
|
|
func ActorIDLTE(v int64) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldLTE(FieldActorID, v))
|
|
}
|
|
|
|
// ActorIDIsNil applies the IsNil predicate on the "actor_id" field.
|
|
func ActorIDIsNil() predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldIsNull(FieldActorID))
|
|
}
|
|
|
|
// ActorIDNotNil applies the NotNil predicate on the "actor_id" field.
|
|
func ActorIDNotNil() predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNotNull(FieldActorID))
|
|
}
|
|
|
|
// ActorNameEQ applies the EQ predicate on the "actor_name" field.
|
|
func ActorNameEQ(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEQ(FieldActorName, v))
|
|
}
|
|
|
|
// ActorNameNEQ applies the NEQ predicate on the "actor_name" field.
|
|
func ActorNameNEQ(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNEQ(FieldActorName, v))
|
|
}
|
|
|
|
// ActorNameIn applies the In predicate on the "actor_name" field.
|
|
func ActorNameIn(vs ...string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldIn(FieldActorName, vs...))
|
|
}
|
|
|
|
// ActorNameNotIn applies the NotIn predicate on the "actor_name" field.
|
|
func ActorNameNotIn(vs ...string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNotIn(FieldActorName, vs...))
|
|
}
|
|
|
|
// ActorNameGT applies the GT predicate on the "actor_name" field.
|
|
func ActorNameGT(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldGT(FieldActorName, v))
|
|
}
|
|
|
|
// ActorNameGTE applies the GTE predicate on the "actor_name" field.
|
|
func ActorNameGTE(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldGTE(FieldActorName, v))
|
|
}
|
|
|
|
// ActorNameLT applies the LT predicate on the "actor_name" field.
|
|
func ActorNameLT(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldLT(FieldActorName, v))
|
|
}
|
|
|
|
// ActorNameLTE applies the LTE predicate on the "actor_name" field.
|
|
func ActorNameLTE(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldLTE(FieldActorName, v))
|
|
}
|
|
|
|
// ActorNameContains applies the Contains predicate on the "actor_name" field.
|
|
func ActorNameContains(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldContains(FieldActorName, v))
|
|
}
|
|
|
|
// ActorNameHasPrefix applies the HasPrefix predicate on the "actor_name" field.
|
|
func ActorNameHasPrefix(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldHasPrefix(FieldActorName, v))
|
|
}
|
|
|
|
// ActorNameHasSuffix applies the HasSuffix predicate on the "actor_name" field.
|
|
func ActorNameHasSuffix(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldHasSuffix(FieldActorName, v))
|
|
}
|
|
|
|
// ActorNameIsNil applies the IsNil predicate on the "actor_name" field.
|
|
func ActorNameIsNil() predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldIsNull(FieldActorName))
|
|
}
|
|
|
|
// ActorNameNotNil applies the NotNil predicate on the "actor_name" field.
|
|
func ActorNameNotNil() predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNotNull(FieldActorName))
|
|
}
|
|
|
|
// ActorNameEqualFold applies the EqualFold predicate on the "actor_name" field.
|
|
func ActorNameEqualFold(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEqualFold(FieldActorName, v))
|
|
}
|
|
|
|
// ActorNameContainsFold applies the ContainsFold predicate on the "actor_name" field.
|
|
func ActorNameContainsFold(v string) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldContainsFold(FieldActorName, v))
|
|
}
|
|
|
|
// DetailsIsNil applies the IsNil predicate on the "details" field.
|
|
func DetailsIsNil() predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldIsNull(FieldDetails))
|
|
}
|
|
|
|
// DetailsNotNil applies the NotNil predicate on the "details" field.
|
|
func DetailsNotNil() predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNotNull(FieldDetails))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
|
func CreatedAtEQ(v time.Time) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
|
func CreatedAtNEQ(v time.Time) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "created_at" field.
|
|
func CreatedAtIn(vs ...time.Time) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
|
func CreatedAtNotIn(vs ...time.Time) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
|
func CreatedAtGT(v time.Time) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
|
func CreatedAtGTE(v time.Time) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
|
func CreatedAtLT(v time.Time) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
|
func CreatedAtLTE(v time.Time) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.DisputeTimeline) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.DisputeTimeline) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.DisputeTimeline) predicate.DisputeTimeline {
|
|
return predicate.DisputeTimeline(sql.NotPredicates(p))
|
|
}
|