570 lines
21 KiB
Go
570 lines
21 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package paynotifylog
|
|
|
|
import (
|
|
"mingyang-admin-pay/rpc/ent/predicate"
|
|
"time"
|
|
|
|
"entgo.io/ent/dialect/sql"
|
|
"entgo.io/ent/dialect/sql/sqlgraph"
|
|
)
|
|
|
|
// ID filters vertices based on their ID field.
|
|
func ID(id uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(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.PayNotifyLog {
|
|
return predicate.PayNotifyLog(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.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v uint8) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
|
|
func TenantID(v uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldTenantID, v))
|
|
}
|
|
|
|
// DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
|
|
func DeletedAt(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldDeletedAt, v))
|
|
}
|
|
|
|
// TaskID applies equality check predicate on the "task_id" field. It's identical to TaskIDEQ.
|
|
func TaskID(v uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldTaskID, v))
|
|
}
|
|
|
|
// NotifyCount applies equality check predicate on the "notify_count" field. It's identical to NotifyCountEQ.
|
|
func NotifyCount(v uint32) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldNotifyCount, v))
|
|
}
|
|
|
|
// Response applies equality check predicate on the "response" field. It's identical to ResponseEQ.
|
|
func Response(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldResponse, v))
|
|
}
|
|
|
|
// NotifyStatus applies equality check predicate on the "notify_status" field. It's identical to NotifyStatusEQ.
|
|
func NotifyStatus(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldNotifyStatus, v))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
|
func CreatedAtEQ(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
|
func CreatedAtNEQ(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "created_at" field.
|
|
func CreatedAtIn(vs ...time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
|
func CreatedAtNotIn(vs ...time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
|
func CreatedAtGT(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
|
func CreatedAtGTE(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
|
func CreatedAtLT(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
|
func CreatedAtLTE(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
|
|
func UpdatedAtEQ(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
|
|
func UpdatedAtNEQ(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtIn applies the In predicate on the "updated_at" field.
|
|
func UpdatedAtIn(vs ...time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
|
|
func UpdatedAtNotIn(vs ...time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
|
|
func UpdatedAtGT(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
|
|
func UpdatedAtGTE(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
|
|
func UpdatedAtLT(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
|
|
func UpdatedAtLTE(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v uint8) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v uint8) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...uint8) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...uint8) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v uint8) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v uint8) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v uint8) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v uint8) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIsNil applies the IsNil predicate on the "status" field.
|
|
func StatusIsNil() predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIsNull(FieldStatus))
|
|
}
|
|
|
|
// StatusNotNil applies the NotNil predicate on the "status" field.
|
|
func StatusNotNil() predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotNull(FieldStatus))
|
|
}
|
|
|
|
// TenantIDEQ applies the EQ predicate on the "tenant_id" field.
|
|
func TenantIDEQ(v uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
|
|
func TenantIDNEQ(v uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNEQ(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDIn applies the In predicate on the "tenant_id" field.
|
|
func TenantIDIn(vs ...uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIn(FieldTenantID, vs...))
|
|
}
|
|
|
|
// TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
|
|
func TenantIDNotIn(vs ...uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotIn(FieldTenantID, vs...))
|
|
}
|
|
|
|
// TenantIDGT applies the GT predicate on the "tenant_id" field.
|
|
func TenantIDGT(v uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGT(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDGTE applies the GTE predicate on the "tenant_id" field.
|
|
func TenantIDGTE(v uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGTE(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDLT applies the LT predicate on the "tenant_id" field.
|
|
func TenantIDLT(v uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLT(FieldTenantID, v))
|
|
}
|
|
|
|
// TenantIDLTE applies the LTE predicate on the "tenant_id" field.
|
|
func TenantIDLTE(v uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLTE(FieldTenantID, v))
|
|
}
|
|
|
|
// DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
|
|
func DeletedAtEQ(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
|
|
func DeletedAtNEQ(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNEQ(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtIn applies the In predicate on the "deleted_at" field.
|
|
func DeletedAtIn(vs ...time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIn(FieldDeletedAt, vs...))
|
|
}
|
|
|
|
// DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
|
|
func DeletedAtNotIn(vs ...time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotIn(FieldDeletedAt, vs...))
|
|
}
|
|
|
|
// DeletedAtGT applies the GT predicate on the "deleted_at" field.
|
|
func DeletedAtGT(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGT(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
|
|
func DeletedAtGTE(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGTE(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtLT applies the LT predicate on the "deleted_at" field.
|
|
func DeletedAtLT(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLT(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
|
|
func DeletedAtLTE(v time.Time) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLTE(FieldDeletedAt, v))
|
|
}
|
|
|
|
// DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
|
|
func DeletedAtIsNil() predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIsNull(FieldDeletedAt))
|
|
}
|
|
|
|
// DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
|
|
func DeletedAtNotNil() predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotNull(FieldDeletedAt))
|
|
}
|
|
|
|
// TaskIDEQ applies the EQ predicate on the "task_id" field.
|
|
func TaskIDEQ(v uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldTaskID, v))
|
|
}
|
|
|
|
// TaskIDNEQ applies the NEQ predicate on the "task_id" field.
|
|
func TaskIDNEQ(v uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNEQ(FieldTaskID, v))
|
|
}
|
|
|
|
// TaskIDIn applies the In predicate on the "task_id" field.
|
|
func TaskIDIn(vs ...uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIn(FieldTaskID, vs...))
|
|
}
|
|
|
|
// TaskIDNotIn applies the NotIn predicate on the "task_id" field.
|
|
func TaskIDNotIn(vs ...uint64) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotIn(FieldTaskID, vs...))
|
|
}
|
|
|
|
// NotifyCountEQ applies the EQ predicate on the "notify_count" field.
|
|
func NotifyCountEQ(v uint32) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldNotifyCount, v))
|
|
}
|
|
|
|
// NotifyCountNEQ applies the NEQ predicate on the "notify_count" field.
|
|
func NotifyCountNEQ(v uint32) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNEQ(FieldNotifyCount, v))
|
|
}
|
|
|
|
// NotifyCountIn applies the In predicate on the "notify_count" field.
|
|
func NotifyCountIn(vs ...uint32) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIn(FieldNotifyCount, vs...))
|
|
}
|
|
|
|
// NotifyCountNotIn applies the NotIn predicate on the "notify_count" field.
|
|
func NotifyCountNotIn(vs ...uint32) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotIn(FieldNotifyCount, vs...))
|
|
}
|
|
|
|
// NotifyCountGT applies the GT predicate on the "notify_count" field.
|
|
func NotifyCountGT(v uint32) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGT(FieldNotifyCount, v))
|
|
}
|
|
|
|
// NotifyCountGTE applies the GTE predicate on the "notify_count" field.
|
|
func NotifyCountGTE(v uint32) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGTE(FieldNotifyCount, v))
|
|
}
|
|
|
|
// NotifyCountLT applies the LT predicate on the "notify_count" field.
|
|
func NotifyCountLT(v uint32) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLT(FieldNotifyCount, v))
|
|
}
|
|
|
|
// NotifyCountLTE applies the LTE predicate on the "notify_count" field.
|
|
func NotifyCountLTE(v uint32) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLTE(FieldNotifyCount, v))
|
|
}
|
|
|
|
// ResponseEQ applies the EQ predicate on the "response" field.
|
|
func ResponseEQ(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldResponse, v))
|
|
}
|
|
|
|
// ResponseNEQ applies the NEQ predicate on the "response" field.
|
|
func ResponseNEQ(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNEQ(FieldResponse, v))
|
|
}
|
|
|
|
// ResponseIn applies the In predicate on the "response" field.
|
|
func ResponseIn(vs ...string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIn(FieldResponse, vs...))
|
|
}
|
|
|
|
// ResponseNotIn applies the NotIn predicate on the "response" field.
|
|
func ResponseNotIn(vs ...string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotIn(FieldResponse, vs...))
|
|
}
|
|
|
|
// ResponseGT applies the GT predicate on the "response" field.
|
|
func ResponseGT(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGT(FieldResponse, v))
|
|
}
|
|
|
|
// ResponseGTE applies the GTE predicate on the "response" field.
|
|
func ResponseGTE(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGTE(FieldResponse, v))
|
|
}
|
|
|
|
// ResponseLT applies the LT predicate on the "response" field.
|
|
func ResponseLT(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLT(FieldResponse, v))
|
|
}
|
|
|
|
// ResponseLTE applies the LTE predicate on the "response" field.
|
|
func ResponseLTE(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLTE(FieldResponse, v))
|
|
}
|
|
|
|
// ResponseContains applies the Contains predicate on the "response" field.
|
|
func ResponseContains(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldContains(FieldResponse, v))
|
|
}
|
|
|
|
// ResponseHasPrefix applies the HasPrefix predicate on the "response" field.
|
|
func ResponseHasPrefix(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldHasPrefix(FieldResponse, v))
|
|
}
|
|
|
|
// ResponseHasSuffix applies the HasSuffix predicate on the "response" field.
|
|
func ResponseHasSuffix(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldHasSuffix(FieldResponse, v))
|
|
}
|
|
|
|
// ResponseIsNil applies the IsNil predicate on the "response" field.
|
|
func ResponseIsNil() predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIsNull(FieldResponse))
|
|
}
|
|
|
|
// ResponseNotNil applies the NotNil predicate on the "response" field.
|
|
func ResponseNotNil() predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotNull(FieldResponse))
|
|
}
|
|
|
|
// ResponseEqualFold applies the EqualFold predicate on the "response" field.
|
|
func ResponseEqualFold(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEqualFold(FieldResponse, v))
|
|
}
|
|
|
|
// ResponseContainsFold applies the ContainsFold predicate on the "response" field.
|
|
func ResponseContainsFold(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldContainsFold(FieldResponse, v))
|
|
}
|
|
|
|
// NotifyStatusEQ applies the EQ predicate on the "notify_status" field.
|
|
func NotifyStatusEQ(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEQ(FieldNotifyStatus, v))
|
|
}
|
|
|
|
// NotifyStatusNEQ applies the NEQ predicate on the "notify_status" field.
|
|
func NotifyStatusNEQ(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNEQ(FieldNotifyStatus, v))
|
|
}
|
|
|
|
// NotifyStatusIn applies the In predicate on the "notify_status" field.
|
|
func NotifyStatusIn(vs ...string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIn(FieldNotifyStatus, vs...))
|
|
}
|
|
|
|
// NotifyStatusNotIn applies the NotIn predicate on the "notify_status" field.
|
|
func NotifyStatusNotIn(vs ...string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotIn(FieldNotifyStatus, vs...))
|
|
}
|
|
|
|
// NotifyStatusGT applies the GT predicate on the "notify_status" field.
|
|
func NotifyStatusGT(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGT(FieldNotifyStatus, v))
|
|
}
|
|
|
|
// NotifyStatusGTE applies the GTE predicate on the "notify_status" field.
|
|
func NotifyStatusGTE(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldGTE(FieldNotifyStatus, v))
|
|
}
|
|
|
|
// NotifyStatusLT applies the LT predicate on the "notify_status" field.
|
|
func NotifyStatusLT(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLT(FieldNotifyStatus, v))
|
|
}
|
|
|
|
// NotifyStatusLTE applies the LTE predicate on the "notify_status" field.
|
|
func NotifyStatusLTE(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldLTE(FieldNotifyStatus, v))
|
|
}
|
|
|
|
// NotifyStatusContains applies the Contains predicate on the "notify_status" field.
|
|
func NotifyStatusContains(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldContains(FieldNotifyStatus, v))
|
|
}
|
|
|
|
// NotifyStatusHasPrefix applies the HasPrefix predicate on the "notify_status" field.
|
|
func NotifyStatusHasPrefix(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldHasPrefix(FieldNotifyStatus, v))
|
|
}
|
|
|
|
// NotifyStatusHasSuffix applies the HasSuffix predicate on the "notify_status" field.
|
|
func NotifyStatusHasSuffix(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldHasSuffix(FieldNotifyStatus, v))
|
|
}
|
|
|
|
// NotifyStatusIsNil applies the IsNil predicate on the "notify_status" field.
|
|
func NotifyStatusIsNil() predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldIsNull(FieldNotifyStatus))
|
|
}
|
|
|
|
// NotifyStatusNotNil applies the NotNil predicate on the "notify_status" field.
|
|
func NotifyStatusNotNil() predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldNotNull(FieldNotifyStatus))
|
|
}
|
|
|
|
// NotifyStatusEqualFold applies the EqualFold predicate on the "notify_status" field.
|
|
func NotifyStatusEqualFold(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldEqualFold(FieldNotifyStatus, v))
|
|
}
|
|
|
|
// NotifyStatusContainsFold applies the ContainsFold predicate on the "notify_status" field.
|
|
func NotifyStatusContainsFold(v string) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.FieldContainsFold(FieldNotifyStatus, v))
|
|
}
|
|
|
|
// HasTask applies the HasEdge predicate on the "task" edge.
|
|
func HasTask() predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(func(s *sql.Selector) {
|
|
step := sqlgraph.NewStep(
|
|
sqlgraph.From(Table, FieldID),
|
|
sqlgraph.Edge(sqlgraph.M2O, false, TaskTable, TaskColumn),
|
|
)
|
|
sqlgraph.HasNeighbors(s, step)
|
|
})
|
|
}
|
|
|
|
// HasTaskWith applies the HasEdge predicate on the "task" edge with a given conditions (other predicates).
|
|
func HasTaskWith(preds ...predicate.PayNotifyTask) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(func(s *sql.Selector) {
|
|
step := newTaskStep()
|
|
sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
|
|
for _, p := range preds {
|
|
p(s)
|
|
}
|
|
})
|
|
})
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.PayNotifyLog) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.PayNotifyLog) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.PayNotifyLog) predicate.PayNotifyLog {
|
|
return predicate.PayNotifyLog(sql.NotPredicates(p))
|
|
}
|