// Code generated by ent, DO NOT EDIT. package paymentauditlog import ( "time" "entgo.io/ent/dialect/sql" "github.com/Wei-Shaw/sub2api/ent/predicate" ) // ID filters vertices based on their ID field. func ID(id int64) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id int64) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id int64) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...int64) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...int64) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id int64) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id int64) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id int64) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id int64) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldLTE(FieldID, id)) } // OrderID applies equality check predicate on the "order_id" field. It's identical to OrderIDEQ. func OrderID(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEQ(FieldOrderID, v)) } // Action applies equality check predicate on the "action" field. It's identical to ActionEQ. func Action(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEQ(FieldAction, v)) } // Detail applies equality check predicate on the "detail" field. It's identical to DetailEQ. func Detail(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEQ(FieldDetail, v)) } // Operator applies equality check predicate on the "operator" field. It's identical to OperatorEQ. func Operator(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEQ(FieldOperator, v)) } // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ. func CreatedAt(v time.Time) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEQ(FieldCreatedAt, v)) } // OrderIDEQ applies the EQ predicate on the "order_id" field. func OrderIDEQ(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEQ(FieldOrderID, v)) } // OrderIDNEQ applies the NEQ predicate on the "order_id" field. func OrderIDNEQ(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldNEQ(FieldOrderID, v)) } // OrderIDIn applies the In predicate on the "order_id" field. func OrderIDIn(vs ...string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldIn(FieldOrderID, vs...)) } // OrderIDNotIn applies the NotIn predicate on the "order_id" field. func OrderIDNotIn(vs ...string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldNotIn(FieldOrderID, vs...)) } // OrderIDGT applies the GT predicate on the "order_id" field. func OrderIDGT(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldGT(FieldOrderID, v)) } // OrderIDGTE applies the GTE predicate on the "order_id" field. func OrderIDGTE(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldGTE(FieldOrderID, v)) } // OrderIDLT applies the LT predicate on the "order_id" field. func OrderIDLT(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldLT(FieldOrderID, v)) } // OrderIDLTE applies the LTE predicate on the "order_id" field. func OrderIDLTE(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldLTE(FieldOrderID, v)) } // OrderIDContains applies the Contains predicate on the "order_id" field. func OrderIDContains(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldContains(FieldOrderID, v)) } // OrderIDHasPrefix applies the HasPrefix predicate on the "order_id" field. func OrderIDHasPrefix(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldHasPrefix(FieldOrderID, v)) } // OrderIDHasSuffix applies the HasSuffix predicate on the "order_id" field. func OrderIDHasSuffix(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldHasSuffix(FieldOrderID, v)) } // OrderIDEqualFold applies the EqualFold predicate on the "order_id" field. func OrderIDEqualFold(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEqualFold(FieldOrderID, v)) } // OrderIDContainsFold applies the ContainsFold predicate on the "order_id" field. func OrderIDContainsFold(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldContainsFold(FieldOrderID, v)) } // ActionEQ applies the EQ predicate on the "action" field. func ActionEQ(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEQ(FieldAction, v)) } // ActionNEQ applies the NEQ predicate on the "action" field. func ActionNEQ(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldNEQ(FieldAction, v)) } // ActionIn applies the In predicate on the "action" field. func ActionIn(vs ...string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldIn(FieldAction, vs...)) } // ActionNotIn applies the NotIn predicate on the "action" field. func ActionNotIn(vs ...string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldNotIn(FieldAction, vs...)) } // ActionGT applies the GT predicate on the "action" field. func ActionGT(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldGT(FieldAction, v)) } // ActionGTE applies the GTE predicate on the "action" field. func ActionGTE(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldGTE(FieldAction, v)) } // ActionLT applies the LT predicate on the "action" field. func ActionLT(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldLT(FieldAction, v)) } // ActionLTE applies the LTE predicate on the "action" field. func ActionLTE(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldLTE(FieldAction, v)) } // ActionContains applies the Contains predicate on the "action" field. func ActionContains(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldContains(FieldAction, v)) } // ActionHasPrefix applies the HasPrefix predicate on the "action" field. func ActionHasPrefix(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldHasPrefix(FieldAction, v)) } // ActionHasSuffix applies the HasSuffix predicate on the "action" field. func ActionHasSuffix(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldHasSuffix(FieldAction, v)) } // ActionEqualFold applies the EqualFold predicate on the "action" field. func ActionEqualFold(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEqualFold(FieldAction, v)) } // ActionContainsFold applies the ContainsFold predicate on the "action" field. func ActionContainsFold(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldContainsFold(FieldAction, v)) } // DetailEQ applies the EQ predicate on the "detail" field. func DetailEQ(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEQ(FieldDetail, v)) } // DetailNEQ applies the NEQ predicate on the "detail" field. func DetailNEQ(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldNEQ(FieldDetail, v)) } // DetailIn applies the In predicate on the "detail" field. func DetailIn(vs ...string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldIn(FieldDetail, vs...)) } // DetailNotIn applies the NotIn predicate on the "detail" field. func DetailNotIn(vs ...string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldNotIn(FieldDetail, vs...)) } // DetailGT applies the GT predicate on the "detail" field. func DetailGT(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldGT(FieldDetail, v)) } // DetailGTE applies the GTE predicate on the "detail" field. func DetailGTE(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldGTE(FieldDetail, v)) } // DetailLT applies the LT predicate on the "detail" field. func DetailLT(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldLT(FieldDetail, v)) } // DetailLTE applies the LTE predicate on the "detail" field. func DetailLTE(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldLTE(FieldDetail, v)) } // DetailContains applies the Contains predicate on the "detail" field. func DetailContains(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldContains(FieldDetail, v)) } // DetailHasPrefix applies the HasPrefix predicate on the "detail" field. func DetailHasPrefix(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldHasPrefix(FieldDetail, v)) } // DetailHasSuffix applies the HasSuffix predicate on the "detail" field. func DetailHasSuffix(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldHasSuffix(FieldDetail, v)) } // DetailEqualFold applies the EqualFold predicate on the "detail" field. func DetailEqualFold(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEqualFold(FieldDetail, v)) } // DetailContainsFold applies the ContainsFold predicate on the "detail" field. func DetailContainsFold(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldContainsFold(FieldDetail, v)) } // OperatorEQ applies the EQ predicate on the "operator" field. func OperatorEQ(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEQ(FieldOperator, v)) } // OperatorNEQ applies the NEQ predicate on the "operator" field. func OperatorNEQ(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldNEQ(FieldOperator, v)) } // OperatorIn applies the In predicate on the "operator" field. func OperatorIn(vs ...string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldIn(FieldOperator, vs...)) } // OperatorNotIn applies the NotIn predicate on the "operator" field. func OperatorNotIn(vs ...string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldNotIn(FieldOperator, vs...)) } // OperatorGT applies the GT predicate on the "operator" field. func OperatorGT(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldGT(FieldOperator, v)) } // OperatorGTE applies the GTE predicate on the "operator" field. func OperatorGTE(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldGTE(FieldOperator, v)) } // OperatorLT applies the LT predicate on the "operator" field. func OperatorLT(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldLT(FieldOperator, v)) } // OperatorLTE applies the LTE predicate on the "operator" field. func OperatorLTE(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldLTE(FieldOperator, v)) } // OperatorContains applies the Contains predicate on the "operator" field. func OperatorContains(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldContains(FieldOperator, v)) } // OperatorHasPrefix applies the HasPrefix predicate on the "operator" field. func OperatorHasPrefix(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldHasPrefix(FieldOperator, v)) } // OperatorHasSuffix applies the HasSuffix predicate on the "operator" field. func OperatorHasSuffix(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldHasSuffix(FieldOperator, v)) } // OperatorEqualFold applies the EqualFold predicate on the "operator" field. func OperatorEqualFold(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEqualFold(FieldOperator, v)) } // OperatorContainsFold applies the ContainsFold predicate on the "operator" field. func OperatorContainsFold(v string) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldContainsFold(FieldOperator, v)) } // CreatedAtEQ applies the EQ predicate on the "created_at" field. func CreatedAtEQ(v time.Time) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldEQ(FieldCreatedAt, v)) } // CreatedAtNEQ applies the NEQ predicate on the "created_at" field. func CreatedAtNEQ(v time.Time) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldNEQ(FieldCreatedAt, v)) } // CreatedAtIn applies the In predicate on the "created_at" field. func CreatedAtIn(vs ...time.Time) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldIn(FieldCreatedAt, vs...)) } // CreatedAtNotIn applies the NotIn predicate on the "created_at" field. func CreatedAtNotIn(vs ...time.Time) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldNotIn(FieldCreatedAt, vs...)) } // CreatedAtGT applies the GT predicate on the "created_at" field. func CreatedAtGT(v time.Time) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldGT(FieldCreatedAt, v)) } // CreatedAtGTE applies the GTE predicate on the "created_at" field. func CreatedAtGTE(v time.Time) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldGTE(FieldCreatedAt, v)) } // CreatedAtLT applies the LT predicate on the "created_at" field. func CreatedAtLT(v time.Time) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldLT(FieldCreatedAt, v)) } // CreatedAtLTE applies the LTE predicate on the "created_at" field. func CreatedAtLTE(v time.Time) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.FieldLTE(FieldCreatedAt, v)) } // And groups predicates with the AND operator between them. func And(predicates ...predicate.PaymentAuditLog) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.AndPredicates(predicates...)) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.PaymentAuditLog) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.OrPredicates(predicates...)) } // Not applies the not operator on the given predicate. func Not(p predicate.PaymentAuditLog) predicate.PaymentAuditLog { return predicate.PaymentAuditLog(sql.NotPredicates(p)) }