1022 lines
38 KiB
Go
1022 lines
38 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package disputes
|
|
|
|
import (
|
|
"juwan-backend/app/dispute/rpc/internal/models/predicate"
|
|
"juwan-backend/pkg/types"
|
|
"time"
|
|
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// ID filters vertices based on their ID field.
|
|
func ID(id int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// OrderID applies equality check predicate on the "order_id" field. It's identical to OrderIDEQ.
|
|
func OrderID(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldOrderID, v))
|
|
}
|
|
|
|
// InitiatorID applies equality check predicate on the "initiator_id" field. It's identical to InitiatorIDEQ.
|
|
func InitiatorID(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldInitiatorID, v))
|
|
}
|
|
|
|
// InitiatorName applies equality check predicate on the "initiator_name" field. It's identical to InitiatorNameEQ.
|
|
func InitiatorName(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldInitiatorName, v))
|
|
}
|
|
|
|
// RespondentID applies equality check predicate on the "respondent_id" field. It's identical to RespondentIDEQ.
|
|
func RespondentID(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldRespondentID, v))
|
|
}
|
|
|
|
// Reason applies equality check predicate on the "reason" field. It's identical to ReasonEQ.
|
|
func Reason(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldReason, v))
|
|
}
|
|
|
|
// Evidence applies equality check predicate on the "evidence" field. It's identical to EvidenceEQ.
|
|
func Evidence(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldEvidence, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// Result applies equality check predicate on the "result" field. It's identical to ResultEQ.
|
|
func Result(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldResult, v))
|
|
}
|
|
|
|
// RespondentReason applies equality check predicate on the "respondent_reason" field. It's identical to RespondentReasonEQ.
|
|
func RespondentReason(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldRespondentReason, v))
|
|
}
|
|
|
|
// RespondentEvidence applies equality check predicate on the "respondent_evidence" field. It's identical to RespondentEvidenceEQ.
|
|
func RespondentEvidence(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldRespondentEvidence, v))
|
|
}
|
|
|
|
// AppealReason applies equality check predicate on the "appeal_reason" field. It's identical to AppealReasonEQ.
|
|
func AppealReason(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldAppealReason, v))
|
|
}
|
|
|
|
// AppealedAt applies equality check predicate on the "appealed_at" field. It's identical to AppealedAtEQ.
|
|
func AppealedAt(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldAppealedAt, v))
|
|
}
|
|
|
|
// ResolvedBy applies equality check predicate on the "resolved_by" field. It's identical to ResolvedByEQ.
|
|
func ResolvedBy(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldResolvedBy, v))
|
|
}
|
|
|
|
// ResolvedAt applies equality check predicate on the "resolved_at" field. It's identical to ResolvedAtEQ.
|
|
func ResolvedAt(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldResolvedAt, v))
|
|
}
|
|
|
|
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
|
|
func CreatedAt(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(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.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// OrderIDEQ applies the EQ predicate on the "order_id" field.
|
|
func OrderIDEQ(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldOrderID, v))
|
|
}
|
|
|
|
// OrderIDNEQ applies the NEQ predicate on the "order_id" field.
|
|
func OrderIDNEQ(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldOrderID, v))
|
|
}
|
|
|
|
// OrderIDIn applies the In predicate on the "order_id" field.
|
|
func OrderIDIn(vs ...int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldOrderID, vs...))
|
|
}
|
|
|
|
// OrderIDNotIn applies the NotIn predicate on the "order_id" field.
|
|
func OrderIDNotIn(vs ...int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldOrderID, vs...))
|
|
}
|
|
|
|
// OrderIDGT applies the GT predicate on the "order_id" field.
|
|
func OrderIDGT(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldOrderID, v))
|
|
}
|
|
|
|
// OrderIDGTE applies the GTE predicate on the "order_id" field.
|
|
func OrderIDGTE(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldOrderID, v))
|
|
}
|
|
|
|
// OrderIDLT applies the LT predicate on the "order_id" field.
|
|
func OrderIDLT(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldOrderID, v))
|
|
}
|
|
|
|
// OrderIDLTE applies the LTE predicate on the "order_id" field.
|
|
func OrderIDLTE(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldOrderID, v))
|
|
}
|
|
|
|
// InitiatorIDEQ applies the EQ predicate on the "initiator_id" field.
|
|
func InitiatorIDEQ(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldInitiatorID, v))
|
|
}
|
|
|
|
// InitiatorIDNEQ applies the NEQ predicate on the "initiator_id" field.
|
|
func InitiatorIDNEQ(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldInitiatorID, v))
|
|
}
|
|
|
|
// InitiatorIDIn applies the In predicate on the "initiator_id" field.
|
|
func InitiatorIDIn(vs ...int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldInitiatorID, vs...))
|
|
}
|
|
|
|
// InitiatorIDNotIn applies the NotIn predicate on the "initiator_id" field.
|
|
func InitiatorIDNotIn(vs ...int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldInitiatorID, vs...))
|
|
}
|
|
|
|
// InitiatorIDGT applies the GT predicate on the "initiator_id" field.
|
|
func InitiatorIDGT(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldInitiatorID, v))
|
|
}
|
|
|
|
// InitiatorIDGTE applies the GTE predicate on the "initiator_id" field.
|
|
func InitiatorIDGTE(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldInitiatorID, v))
|
|
}
|
|
|
|
// InitiatorIDLT applies the LT predicate on the "initiator_id" field.
|
|
func InitiatorIDLT(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldInitiatorID, v))
|
|
}
|
|
|
|
// InitiatorIDLTE applies the LTE predicate on the "initiator_id" field.
|
|
func InitiatorIDLTE(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldInitiatorID, v))
|
|
}
|
|
|
|
// InitiatorNameEQ applies the EQ predicate on the "initiator_name" field.
|
|
func InitiatorNameEQ(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldInitiatorName, v))
|
|
}
|
|
|
|
// InitiatorNameNEQ applies the NEQ predicate on the "initiator_name" field.
|
|
func InitiatorNameNEQ(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldInitiatorName, v))
|
|
}
|
|
|
|
// InitiatorNameIn applies the In predicate on the "initiator_name" field.
|
|
func InitiatorNameIn(vs ...string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldInitiatorName, vs...))
|
|
}
|
|
|
|
// InitiatorNameNotIn applies the NotIn predicate on the "initiator_name" field.
|
|
func InitiatorNameNotIn(vs ...string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldInitiatorName, vs...))
|
|
}
|
|
|
|
// InitiatorNameGT applies the GT predicate on the "initiator_name" field.
|
|
func InitiatorNameGT(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldInitiatorName, v))
|
|
}
|
|
|
|
// InitiatorNameGTE applies the GTE predicate on the "initiator_name" field.
|
|
func InitiatorNameGTE(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldInitiatorName, v))
|
|
}
|
|
|
|
// InitiatorNameLT applies the LT predicate on the "initiator_name" field.
|
|
func InitiatorNameLT(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldInitiatorName, v))
|
|
}
|
|
|
|
// InitiatorNameLTE applies the LTE predicate on the "initiator_name" field.
|
|
func InitiatorNameLTE(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldInitiatorName, v))
|
|
}
|
|
|
|
// InitiatorNameContains applies the Contains predicate on the "initiator_name" field.
|
|
func InitiatorNameContains(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldContains(FieldInitiatorName, v))
|
|
}
|
|
|
|
// InitiatorNameHasPrefix applies the HasPrefix predicate on the "initiator_name" field.
|
|
func InitiatorNameHasPrefix(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldHasPrefix(FieldInitiatorName, v))
|
|
}
|
|
|
|
// InitiatorNameHasSuffix applies the HasSuffix predicate on the "initiator_name" field.
|
|
func InitiatorNameHasSuffix(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldHasSuffix(FieldInitiatorName, v))
|
|
}
|
|
|
|
// InitiatorNameEqualFold applies the EqualFold predicate on the "initiator_name" field.
|
|
func InitiatorNameEqualFold(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEqualFold(FieldInitiatorName, v))
|
|
}
|
|
|
|
// InitiatorNameContainsFold applies the ContainsFold predicate on the "initiator_name" field.
|
|
func InitiatorNameContainsFold(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldContainsFold(FieldInitiatorName, v))
|
|
}
|
|
|
|
// RespondentIDEQ applies the EQ predicate on the "respondent_id" field.
|
|
func RespondentIDEQ(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldRespondentID, v))
|
|
}
|
|
|
|
// RespondentIDNEQ applies the NEQ predicate on the "respondent_id" field.
|
|
func RespondentIDNEQ(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldRespondentID, v))
|
|
}
|
|
|
|
// RespondentIDIn applies the In predicate on the "respondent_id" field.
|
|
func RespondentIDIn(vs ...int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldRespondentID, vs...))
|
|
}
|
|
|
|
// RespondentIDNotIn applies the NotIn predicate on the "respondent_id" field.
|
|
func RespondentIDNotIn(vs ...int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldRespondentID, vs...))
|
|
}
|
|
|
|
// RespondentIDGT applies the GT predicate on the "respondent_id" field.
|
|
func RespondentIDGT(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldRespondentID, v))
|
|
}
|
|
|
|
// RespondentIDGTE applies the GTE predicate on the "respondent_id" field.
|
|
func RespondentIDGTE(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldRespondentID, v))
|
|
}
|
|
|
|
// RespondentIDLT applies the LT predicate on the "respondent_id" field.
|
|
func RespondentIDLT(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldRespondentID, v))
|
|
}
|
|
|
|
// RespondentIDLTE applies the LTE predicate on the "respondent_id" field.
|
|
func RespondentIDLTE(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldRespondentID, v))
|
|
}
|
|
|
|
// ReasonEQ applies the EQ predicate on the "reason" field.
|
|
func ReasonEQ(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldReason, v))
|
|
}
|
|
|
|
// ReasonNEQ applies the NEQ predicate on the "reason" field.
|
|
func ReasonNEQ(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldReason, v))
|
|
}
|
|
|
|
// ReasonIn applies the In predicate on the "reason" field.
|
|
func ReasonIn(vs ...string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldReason, vs...))
|
|
}
|
|
|
|
// ReasonNotIn applies the NotIn predicate on the "reason" field.
|
|
func ReasonNotIn(vs ...string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldReason, vs...))
|
|
}
|
|
|
|
// ReasonGT applies the GT predicate on the "reason" field.
|
|
func ReasonGT(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldReason, v))
|
|
}
|
|
|
|
// ReasonGTE applies the GTE predicate on the "reason" field.
|
|
func ReasonGTE(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldReason, v))
|
|
}
|
|
|
|
// ReasonLT applies the LT predicate on the "reason" field.
|
|
func ReasonLT(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldReason, v))
|
|
}
|
|
|
|
// ReasonLTE applies the LTE predicate on the "reason" field.
|
|
func ReasonLTE(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldReason, v))
|
|
}
|
|
|
|
// ReasonContains applies the Contains predicate on the "reason" field.
|
|
func ReasonContains(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldContains(FieldReason, v))
|
|
}
|
|
|
|
// ReasonHasPrefix applies the HasPrefix predicate on the "reason" field.
|
|
func ReasonHasPrefix(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldHasPrefix(FieldReason, v))
|
|
}
|
|
|
|
// ReasonHasSuffix applies the HasSuffix predicate on the "reason" field.
|
|
func ReasonHasSuffix(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldHasSuffix(FieldReason, v))
|
|
}
|
|
|
|
// ReasonEqualFold applies the EqualFold predicate on the "reason" field.
|
|
func ReasonEqualFold(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEqualFold(FieldReason, v))
|
|
}
|
|
|
|
// ReasonContainsFold applies the ContainsFold predicate on the "reason" field.
|
|
func ReasonContainsFold(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldContainsFold(FieldReason, v))
|
|
}
|
|
|
|
// EvidenceEQ applies the EQ predicate on the "evidence" field.
|
|
func EvidenceEQ(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldEvidence, v))
|
|
}
|
|
|
|
// EvidenceNEQ applies the NEQ predicate on the "evidence" field.
|
|
func EvidenceNEQ(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldEvidence, v))
|
|
}
|
|
|
|
// EvidenceIn applies the In predicate on the "evidence" field.
|
|
func EvidenceIn(vs ...types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldEvidence, vs...))
|
|
}
|
|
|
|
// EvidenceNotIn applies the NotIn predicate on the "evidence" field.
|
|
func EvidenceNotIn(vs ...types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldEvidence, vs...))
|
|
}
|
|
|
|
// EvidenceGT applies the GT predicate on the "evidence" field.
|
|
func EvidenceGT(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldEvidence, v))
|
|
}
|
|
|
|
// EvidenceGTE applies the GTE predicate on the "evidence" field.
|
|
func EvidenceGTE(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldEvidence, v))
|
|
}
|
|
|
|
// EvidenceLT applies the LT predicate on the "evidence" field.
|
|
func EvidenceLT(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldEvidence, v))
|
|
}
|
|
|
|
// EvidenceLTE applies the LTE predicate on the "evidence" field.
|
|
func EvidenceLTE(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldEvidence, v))
|
|
}
|
|
|
|
// EvidenceIsNil applies the IsNil predicate on the "evidence" field.
|
|
func EvidenceIsNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIsNull(FieldEvidence))
|
|
}
|
|
|
|
// EvidenceNotNil applies the NotNil predicate on the "evidence" field.
|
|
func EvidenceNotNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotNull(FieldEvidence))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContains applies the Contains predicate on the "status" field.
|
|
func StatusContains(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldContains(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasPrefix applies the HasPrefix predicate on the "status" field.
|
|
func StatusHasPrefix(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldHasPrefix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusHasSuffix applies the HasSuffix predicate on the "status" field.
|
|
func StatusHasSuffix(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldHasSuffix(FieldStatus, v))
|
|
}
|
|
|
|
// StatusEqualFold applies the EqualFold predicate on the "status" field.
|
|
func StatusEqualFold(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEqualFold(FieldStatus, v))
|
|
}
|
|
|
|
// StatusContainsFold applies the ContainsFold predicate on the "status" field.
|
|
func StatusContainsFold(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldContainsFold(FieldStatus, v))
|
|
}
|
|
|
|
// ResultEQ applies the EQ predicate on the "result" field.
|
|
func ResultEQ(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldResult, v))
|
|
}
|
|
|
|
// ResultNEQ applies the NEQ predicate on the "result" field.
|
|
func ResultNEQ(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldResult, v))
|
|
}
|
|
|
|
// ResultIn applies the In predicate on the "result" field.
|
|
func ResultIn(vs ...string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldResult, vs...))
|
|
}
|
|
|
|
// ResultNotIn applies the NotIn predicate on the "result" field.
|
|
func ResultNotIn(vs ...string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldResult, vs...))
|
|
}
|
|
|
|
// ResultGT applies the GT predicate on the "result" field.
|
|
func ResultGT(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldResult, v))
|
|
}
|
|
|
|
// ResultGTE applies the GTE predicate on the "result" field.
|
|
func ResultGTE(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldResult, v))
|
|
}
|
|
|
|
// ResultLT applies the LT predicate on the "result" field.
|
|
func ResultLT(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldResult, v))
|
|
}
|
|
|
|
// ResultLTE applies the LTE predicate on the "result" field.
|
|
func ResultLTE(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldResult, v))
|
|
}
|
|
|
|
// ResultContains applies the Contains predicate on the "result" field.
|
|
func ResultContains(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldContains(FieldResult, v))
|
|
}
|
|
|
|
// ResultHasPrefix applies the HasPrefix predicate on the "result" field.
|
|
func ResultHasPrefix(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldHasPrefix(FieldResult, v))
|
|
}
|
|
|
|
// ResultHasSuffix applies the HasSuffix predicate on the "result" field.
|
|
func ResultHasSuffix(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldHasSuffix(FieldResult, v))
|
|
}
|
|
|
|
// ResultIsNil applies the IsNil predicate on the "result" field.
|
|
func ResultIsNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIsNull(FieldResult))
|
|
}
|
|
|
|
// ResultNotNil applies the NotNil predicate on the "result" field.
|
|
func ResultNotNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotNull(FieldResult))
|
|
}
|
|
|
|
// ResultEqualFold applies the EqualFold predicate on the "result" field.
|
|
func ResultEqualFold(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEqualFold(FieldResult, v))
|
|
}
|
|
|
|
// ResultContainsFold applies the ContainsFold predicate on the "result" field.
|
|
func ResultContainsFold(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldContainsFold(FieldResult, v))
|
|
}
|
|
|
|
// RespondentReasonEQ applies the EQ predicate on the "respondent_reason" field.
|
|
func RespondentReasonEQ(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldRespondentReason, v))
|
|
}
|
|
|
|
// RespondentReasonNEQ applies the NEQ predicate on the "respondent_reason" field.
|
|
func RespondentReasonNEQ(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldRespondentReason, v))
|
|
}
|
|
|
|
// RespondentReasonIn applies the In predicate on the "respondent_reason" field.
|
|
func RespondentReasonIn(vs ...string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldRespondentReason, vs...))
|
|
}
|
|
|
|
// RespondentReasonNotIn applies the NotIn predicate on the "respondent_reason" field.
|
|
func RespondentReasonNotIn(vs ...string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldRespondentReason, vs...))
|
|
}
|
|
|
|
// RespondentReasonGT applies the GT predicate on the "respondent_reason" field.
|
|
func RespondentReasonGT(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldRespondentReason, v))
|
|
}
|
|
|
|
// RespondentReasonGTE applies the GTE predicate on the "respondent_reason" field.
|
|
func RespondentReasonGTE(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldRespondentReason, v))
|
|
}
|
|
|
|
// RespondentReasonLT applies the LT predicate on the "respondent_reason" field.
|
|
func RespondentReasonLT(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldRespondentReason, v))
|
|
}
|
|
|
|
// RespondentReasonLTE applies the LTE predicate on the "respondent_reason" field.
|
|
func RespondentReasonLTE(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldRespondentReason, v))
|
|
}
|
|
|
|
// RespondentReasonContains applies the Contains predicate on the "respondent_reason" field.
|
|
func RespondentReasonContains(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldContains(FieldRespondentReason, v))
|
|
}
|
|
|
|
// RespondentReasonHasPrefix applies the HasPrefix predicate on the "respondent_reason" field.
|
|
func RespondentReasonHasPrefix(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldHasPrefix(FieldRespondentReason, v))
|
|
}
|
|
|
|
// RespondentReasonHasSuffix applies the HasSuffix predicate on the "respondent_reason" field.
|
|
func RespondentReasonHasSuffix(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldHasSuffix(FieldRespondentReason, v))
|
|
}
|
|
|
|
// RespondentReasonIsNil applies the IsNil predicate on the "respondent_reason" field.
|
|
func RespondentReasonIsNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIsNull(FieldRespondentReason))
|
|
}
|
|
|
|
// RespondentReasonNotNil applies the NotNil predicate on the "respondent_reason" field.
|
|
func RespondentReasonNotNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotNull(FieldRespondentReason))
|
|
}
|
|
|
|
// RespondentReasonEqualFold applies the EqualFold predicate on the "respondent_reason" field.
|
|
func RespondentReasonEqualFold(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEqualFold(FieldRespondentReason, v))
|
|
}
|
|
|
|
// RespondentReasonContainsFold applies the ContainsFold predicate on the "respondent_reason" field.
|
|
func RespondentReasonContainsFold(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldContainsFold(FieldRespondentReason, v))
|
|
}
|
|
|
|
// RespondentEvidenceEQ applies the EQ predicate on the "respondent_evidence" field.
|
|
func RespondentEvidenceEQ(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldRespondentEvidence, v))
|
|
}
|
|
|
|
// RespondentEvidenceNEQ applies the NEQ predicate on the "respondent_evidence" field.
|
|
func RespondentEvidenceNEQ(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldRespondentEvidence, v))
|
|
}
|
|
|
|
// RespondentEvidenceIn applies the In predicate on the "respondent_evidence" field.
|
|
func RespondentEvidenceIn(vs ...types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldRespondentEvidence, vs...))
|
|
}
|
|
|
|
// RespondentEvidenceNotIn applies the NotIn predicate on the "respondent_evidence" field.
|
|
func RespondentEvidenceNotIn(vs ...types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldRespondentEvidence, vs...))
|
|
}
|
|
|
|
// RespondentEvidenceGT applies the GT predicate on the "respondent_evidence" field.
|
|
func RespondentEvidenceGT(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldRespondentEvidence, v))
|
|
}
|
|
|
|
// RespondentEvidenceGTE applies the GTE predicate on the "respondent_evidence" field.
|
|
func RespondentEvidenceGTE(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldRespondentEvidence, v))
|
|
}
|
|
|
|
// RespondentEvidenceLT applies the LT predicate on the "respondent_evidence" field.
|
|
func RespondentEvidenceLT(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldRespondentEvidence, v))
|
|
}
|
|
|
|
// RespondentEvidenceLTE applies the LTE predicate on the "respondent_evidence" field.
|
|
func RespondentEvidenceLTE(v types.TextArray) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldRespondentEvidence, v))
|
|
}
|
|
|
|
// RespondentEvidenceIsNil applies the IsNil predicate on the "respondent_evidence" field.
|
|
func RespondentEvidenceIsNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIsNull(FieldRespondentEvidence))
|
|
}
|
|
|
|
// RespondentEvidenceNotNil applies the NotNil predicate on the "respondent_evidence" field.
|
|
func RespondentEvidenceNotNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotNull(FieldRespondentEvidence))
|
|
}
|
|
|
|
// AppealReasonEQ applies the EQ predicate on the "appeal_reason" field.
|
|
func AppealReasonEQ(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldAppealReason, v))
|
|
}
|
|
|
|
// AppealReasonNEQ applies the NEQ predicate on the "appeal_reason" field.
|
|
func AppealReasonNEQ(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldAppealReason, v))
|
|
}
|
|
|
|
// AppealReasonIn applies the In predicate on the "appeal_reason" field.
|
|
func AppealReasonIn(vs ...string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldAppealReason, vs...))
|
|
}
|
|
|
|
// AppealReasonNotIn applies the NotIn predicate on the "appeal_reason" field.
|
|
func AppealReasonNotIn(vs ...string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldAppealReason, vs...))
|
|
}
|
|
|
|
// AppealReasonGT applies the GT predicate on the "appeal_reason" field.
|
|
func AppealReasonGT(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldAppealReason, v))
|
|
}
|
|
|
|
// AppealReasonGTE applies the GTE predicate on the "appeal_reason" field.
|
|
func AppealReasonGTE(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldAppealReason, v))
|
|
}
|
|
|
|
// AppealReasonLT applies the LT predicate on the "appeal_reason" field.
|
|
func AppealReasonLT(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldAppealReason, v))
|
|
}
|
|
|
|
// AppealReasonLTE applies the LTE predicate on the "appeal_reason" field.
|
|
func AppealReasonLTE(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldAppealReason, v))
|
|
}
|
|
|
|
// AppealReasonContains applies the Contains predicate on the "appeal_reason" field.
|
|
func AppealReasonContains(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldContains(FieldAppealReason, v))
|
|
}
|
|
|
|
// AppealReasonHasPrefix applies the HasPrefix predicate on the "appeal_reason" field.
|
|
func AppealReasonHasPrefix(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldHasPrefix(FieldAppealReason, v))
|
|
}
|
|
|
|
// AppealReasonHasSuffix applies the HasSuffix predicate on the "appeal_reason" field.
|
|
func AppealReasonHasSuffix(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldHasSuffix(FieldAppealReason, v))
|
|
}
|
|
|
|
// AppealReasonIsNil applies the IsNil predicate on the "appeal_reason" field.
|
|
func AppealReasonIsNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIsNull(FieldAppealReason))
|
|
}
|
|
|
|
// AppealReasonNotNil applies the NotNil predicate on the "appeal_reason" field.
|
|
func AppealReasonNotNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotNull(FieldAppealReason))
|
|
}
|
|
|
|
// AppealReasonEqualFold applies the EqualFold predicate on the "appeal_reason" field.
|
|
func AppealReasonEqualFold(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEqualFold(FieldAppealReason, v))
|
|
}
|
|
|
|
// AppealReasonContainsFold applies the ContainsFold predicate on the "appeal_reason" field.
|
|
func AppealReasonContainsFold(v string) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldContainsFold(FieldAppealReason, v))
|
|
}
|
|
|
|
// AppealedAtEQ applies the EQ predicate on the "appealed_at" field.
|
|
func AppealedAtEQ(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldAppealedAt, v))
|
|
}
|
|
|
|
// AppealedAtNEQ applies the NEQ predicate on the "appealed_at" field.
|
|
func AppealedAtNEQ(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldAppealedAt, v))
|
|
}
|
|
|
|
// AppealedAtIn applies the In predicate on the "appealed_at" field.
|
|
func AppealedAtIn(vs ...time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldAppealedAt, vs...))
|
|
}
|
|
|
|
// AppealedAtNotIn applies the NotIn predicate on the "appealed_at" field.
|
|
func AppealedAtNotIn(vs ...time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldAppealedAt, vs...))
|
|
}
|
|
|
|
// AppealedAtGT applies the GT predicate on the "appealed_at" field.
|
|
func AppealedAtGT(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldAppealedAt, v))
|
|
}
|
|
|
|
// AppealedAtGTE applies the GTE predicate on the "appealed_at" field.
|
|
func AppealedAtGTE(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldAppealedAt, v))
|
|
}
|
|
|
|
// AppealedAtLT applies the LT predicate on the "appealed_at" field.
|
|
func AppealedAtLT(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldAppealedAt, v))
|
|
}
|
|
|
|
// AppealedAtLTE applies the LTE predicate on the "appealed_at" field.
|
|
func AppealedAtLTE(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldAppealedAt, v))
|
|
}
|
|
|
|
// AppealedAtIsNil applies the IsNil predicate on the "appealed_at" field.
|
|
func AppealedAtIsNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIsNull(FieldAppealedAt))
|
|
}
|
|
|
|
// AppealedAtNotNil applies the NotNil predicate on the "appealed_at" field.
|
|
func AppealedAtNotNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotNull(FieldAppealedAt))
|
|
}
|
|
|
|
// ResolvedByEQ applies the EQ predicate on the "resolved_by" field.
|
|
func ResolvedByEQ(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldResolvedBy, v))
|
|
}
|
|
|
|
// ResolvedByNEQ applies the NEQ predicate on the "resolved_by" field.
|
|
func ResolvedByNEQ(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldResolvedBy, v))
|
|
}
|
|
|
|
// ResolvedByIn applies the In predicate on the "resolved_by" field.
|
|
func ResolvedByIn(vs ...int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldResolvedBy, vs...))
|
|
}
|
|
|
|
// ResolvedByNotIn applies the NotIn predicate on the "resolved_by" field.
|
|
func ResolvedByNotIn(vs ...int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldResolvedBy, vs...))
|
|
}
|
|
|
|
// ResolvedByGT applies the GT predicate on the "resolved_by" field.
|
|
func ResolvedByGT(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldResolvedBy, v))
|
|
}
|
|
|
|
// ResolvedByGTE applies the GTE predicate on the "resolved_by" field.
|
|
func ResolvedByGTE(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldResolvedBy, v))
|
|
}
|
|
|
|
// ResolvedByLT applies the LT predicate on the "resolved_by" field.
|
|
func ResolvedByLT(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldResolvedBy, v))
|
|
}
|
|
|
|
// ResolvedByLTE applies the LTE predicate on the "resolved_by" field.
|
|
func ResolvedByLTE(v int64) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldResolvedBy, v))
|
|
}
|
|
|
|
// ResolvedByIsNil applies the IsNil predicate on the "resolved_by" field.
|
|
func ResolvedByIsNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIsNull(FieldResolvedBy))
|
|
}
|
|
|
|
// ResolvedByNotNil applies the NotNil predicate on the "resolved_by" field.
|
|
func ResolvedByNotNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotNull(FieldResolvedBy))
|
|
}
|
|
|
|
// ResolvedAtEQ applies the EQ predicate on the "resolved_at" field.
|
|
func ResolvedAtEQ(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldResolvedAt, v))
|
|
}
|
|
|
|
// ResolvedAtNEQ applies the NEQ predicate on the "resolved_at" field.
|
|
func ResolvedAtNEQ(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldResolvedAt, v))
|
|
}
|
|
|
|
// ResolvedAtIn applies the In predicate on the "resolved_at" field.
|
|
func ResolvedAtIn(vs ...time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldResolvedAt, vs...))
|
|
}
|
|
|
|
// ResolvedAtNotIn applies the NotIn predicate on the "resolved_at" field.
|
|
func ResolvedAtNotIn(vs ...time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldResolvedAt, vs...))
|
|
}
|
|
|
|
// ResolvedAtGT applies the GT predicate on the "resolved_at" field.
|
|
func ResolvedAtGT(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldResolvedAt, v))
|
|
}
|
|
|
|
// ResolvedAtGTE applies the GTE predicate on the "resolved_at" field.
|
|
func ResolvedAtGTE(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldResolvedAt, v))
|
|
}
|
|
|
|
// ResolvedAtLT applies the LT predicate on the "resolved_at" field.
|
|
func ResolvedAtLT(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldResolvedAt, v))
|
|
}
|
|
|
|
// ResolvedAtLTE applies the LTE predicate on the "resolved_at" field.
|
|
func ResolvedAtLTE(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldResolvedAt, v))
|
|
}
|
|
|
|
// ResolvedAtIsNil applies the IsNil predicate on the "resolved_at" field.
|
|
func ResolvedAtIsNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIsNull(FieldResolvedAt))
|
|
}
|
|
|
|
// ResolvedAtNotNil applies the NotNil predicate on the "resolved_at" field.
|
|
func ResolvedAtNotNil() predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotNull(FieldResolvedAt))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
|
func CreatedAtEQ(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
|
func CreatedAtNEQ(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "created_at" field.
|
|
func CreatedAtIn(vs ...time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
|
func CreatedAtNotIn(vs ...time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
|
func CreatedAtGT(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
|
func CreatedAtGTE(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
|
func CreatedAtLT(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
|
func CreatedAtLTE(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
|
|
func UpdatedAtEQ(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
|
|
func UpdatedAtNEQ(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtIn applies the In predicate on the "updated_at" field.
|
|
func UpdatedAtIn(vs ...time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
|
|
func UpdatedAtNotIn(vs ...time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldNotIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
|
|
func UpdatedAtGT(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
|
|
func UpdatedAtGTE(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldGTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
|
|
func UpdatedAtLT(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
|
|
func UpdatedAtLTE(v time.Time) predicate.Disputes {
|
|
return predicate.Disputes(sql.FieldLTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.Disputes) predicate.Disputes {
|
|
return predicate.Disputes(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.Disputes) predicate.Disputes {
|
|
return predicate.Disputes(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.Disputes) predicate.Disputes {
|
|
return predicate.Disputes(sql.NotPredicates(p))
|
|
}
|