mingyang-admin-pay/rpc/ent/paynotifytask/where.go

871 lines
33 KiB
Go

// Code generated by ent, DO NOT EDIT.
package paynotifytask
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.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(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.PayNotifyTask {
return predicate.PayNotifyTask(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.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldUpdatedAt, v))
}
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func Status(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldStatus, v))
}
// TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantID(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(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.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldDeletedAt, v))
}
// Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func Type(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldType, v))
}
// DataID applies equality check predicate on the "data_id" field. It's identical to DataIDEQ.
func DataID(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldDataID, v))
}
// OrderID applies equality check predicate on the "order_id" field. It's identical to OrderIDEQ.
func OrderID(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldOrderID, v))
}
// AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppID(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldAppID, v))
}
// NotifyStatus applies equality check predicate on the "notify_status" field. It's identical to NotifyStatusEQ.
func NotifyStatus(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldNotifyStatus, v))
}
// NextNotifyTime applies equality check predicate on the "next_notify_time" field. It's identical to NextNotifyTimeEQ.
func NextNotifyTime(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldNextNotifyTime, v))
}
// LastExecuteTime applies equality check predicate on the "last_execute_time" field. It's identical to LastExecuteTimeEQ.
func LastExecuteTime(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldLastExecuteTime, v))
}
// RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.
func RetryCount(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldRetryCount, v))
}
// MaxRetryCount applies equality check predicate on the "max_retry_count" field. It's identical to MaxRetryCountEQ.
func MaxRetryCount(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldMaxRetryCount, v))
}
// NotifyURL applies equality check predicate on the "notify_url" field. It's identical to NotifyURLEQ.
func NotifyURL(v string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldNotifyURL, v))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldCreatedAt, v))
}
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldUpdatedAt, v))
}
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldUpdatedAt, v))
}
// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldUpdatedAt, vs...))
}
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldUpdatedAt, vs...))
}
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldUpdatedAt, v))
}
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldUpdatedAt, v))
}
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldUpdatedAt, v))
}
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldUpdatedAt, v))
}
// StatusEQ applies the EQ predicate on the "status" field.
func StatusEQ(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldStatus, v))
}
// StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNEQ(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldStatus, v))
}
// StatusIn applies the In predicate on the "status" field.
func StatusIn(vs ...uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldStatus, vs...))
}
// StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotIn(vs ...uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldStatus, vs...))
}
// StatusGT applies the GT predicate on the "status" field.
func StatusGT(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldStatus, v))
}
// StatusGTE applies the GTE predicate on the "status" field.
func StatusGTE(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldStatus, v))
}
// StatusLT applies the LT predicate on the "status" field.
func StatusLT(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldStatus, v))
}
// StatusLTE applies the LTE predicate on the "status" field.
func StatusLTE(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldStatus, v))
}
// StatusIsNil applies the IsNil predicate on the "status" field.
func StatusIsNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIsNull(FieldStatus))
}
// StatusNotNil applies the NotNil predicate on the "status" field.
func StatusNotNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotNull(FieldStatus))
}
// TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDEQ(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldTenantID, v))
}
// TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNEQ(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldTenantID, v))
}
// TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDIn(vs ...uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldTenantID, vs...))
}
// TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func TenantIDNotIn(vs ...uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldTenantID, vs...))
}
// TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGT(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldTenantID, v))
}
// TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDGTE(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldTenantID, v))
}
// TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLT(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldTenantID, v))
}
// TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDLTE(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldTenantID, v))
}
// DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtEQ(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldDeletedAt, v))
}
// DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNEQ(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldDeletedAt, v))
}
// DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIn(vs ...time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldDeletedAt, vs...))
}
// DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotIn(vs ...time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldDeletedAt, vs...))
}
// DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGT(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldDeletedAt, v))
}
// DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtGTE(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldDeletedAt, v))
}
// DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLT(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldDeletedAt, v))
}
// DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtLTE(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldDeletedAt, v))
}
// DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtIsNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIsNull(FieldDeletedAt))
}
// DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedAtNotNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotNull(FieldDeletedAt))
}
// TypeEQ applies the EQ predicate on the "type" field.
func TypeEQ(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldType, v))
}
// TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNEQ(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldType, v))
}
// TypeIn applies the In predicate on the "type" field.
func TypeIn(vs ...uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldType, vs...))
}
// TypeNotIn applies the NotIn predicate on the "type" field.
func TypeNotIn(vs ...uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldType, vs...))
}
// TypeGT applies the GT predicate on the "type" field.
func TypeGT(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldType, v))
}
// TypeGTE applies the GTE predicate on the "type" field.
func TypeGTE(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldType, v))
}
// TypeLT applies the LT predicate on the "type" field.
func TypeLT(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldType, v))
}
// TypeLTE applies the LTE predicate on the "type" field.
func TypeLTE(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldType, v))
}
// DataIDEQ applies the EQ predicate on the "data_id" field.
func DataIDEQ(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldDataID, v))
}
// DataIDNEQ applies the NEQ predicate on the "data_id" field.
func DataIDNEQ(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldDataID, v))
}
// DataIDIn applies the In predicate on the "data_id" field.
func DataIDIn(vs ...uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldDataID, vs...))
}
// DataIDNotIn applies the NotIn predicate on the "data_id" field.
func DataIDNotIn(vs ...uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldDataID, vs...))
}
// DataIDGT applies the GT predicate on the "data_id" field.
func DataIDGT(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldDataID, v))
}
// DataIDGTE applies the GTE predicate on the "data_id" field.
func DataIDGTE(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldDataID, v))
}
// DataIDLT applies the LT predicate on the "data_id" field.
func DataIDLT(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldDataID, v))
}
// DataIDLTE applies the LTE predicate on the "data_id" field.
func DataIDLTE(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldDataID, v))
}
// OrderIDEQ applies the EQ predicate on the "order_id" field.
func OrderIDEQ(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldOrderID, v))
}
// OrderIDNEQ applies the NEQ predicate on the "order_id" field.
func OrderIDNEQ(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldOrderID, v))
}
// OrderIDIn applies the In predicate on the "order_id" field.
func OrderIDIn(vs ...uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldOrderID, vs...))
}
// OrderIDNotIn applies the NotIn predicate on the "order_id" field.
func OrderIDNotIn(vs ...uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldOrderID, vs...))
}
// AppIDEQ applies the EQ predicate on the "app_id" field.
func AppIDEQ(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldAppID, v))
}
// AppIDNEQ applies the NEQ predicate on the "app_id" field.
func AppIDNEQ(v uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldAppID, v))
}
// AppIDIn applies the In predicate on the "app_id" field.
func AppIDIn(vs ...uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldAppID, vs...))
}
// AppIDNotIn applies the NotIn predicate on the "app_id" field.
func AppIDNotIn(vs ...uint64) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldAppID, vs...))
}
// NotifyStatusEQ applies the EQ predicate on the "notify_status" field.
func NotifyStatusEQ(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldNotifyStatus, v))
}
// NotifyStatusNEQ applies the NEQ predicate on the "notify_status" field.
func NotifyStatusNEQ(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldNotifyStatus, v))
}
// NotifyStatusIn applies the In predicate on the "notify_status" field.
func NotifyStatusIn(vs ...uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldNotifyStatus, vs...))
}
// NotifyStatusNotIn applies the NotIn predicate on the "notify_status" field.
func NotifyStatusNotIn(vs ...uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldNotifyStatus, vs...))
}
// NotifyStatusGT applies the GT predicate on the "notify_status" field.
func NotifyStatusGT(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldNotifyStatus, v))
}
// NotifyStatusGTE applies the GTE predicate on the "notify_status" field.
func NotifyStatusGTE(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldNotifyStatus, v))
}
// NotifyStatusLT applies the LT predicate on the "notify_status" field.
func NotifyStatusLT(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldNotifyStatus, v))
}
// NotifyStatusLTE applies the LTE predicate on the "notify_status" field.
func NotifyStatusLTE(v uint8) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldNotifyStatus, v))
}
// NextNotifyTimeEQ applies the EQ predicate on the "next_notify_time" field.
func NextNotifyTimeEQ(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldNextNotifyTime, v))
}
// NextNotifyTimeNEQ applies the NEQ predicate on the "next_notify_time" field.
func NextNotifyTimeNEQ(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldNextNotifyTime, v))
}
// NextNotifyTimeIn applies the In predicate on the "next_notify_time" field.
func NextNotifyTimeIn(vs ...time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldNextNotifyTime, vs...))
}
// NextNotifyTimeNotIn applies the NotIn predicate on the "next_notify_time" field.
func NextNotifyTimeNotIn(vs ...time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldNextNotifyTime, vs...))
}
// NextNotifyTimeGT applies the GT predicate on the "next_notify_time" field.
func NextNotifyTimeGT(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldNextNotifyTime, v))
}
// NextNotifyTimeGTE applies the GTE predicate on the "next_notify_time" field.
func NextNotifyTimeGTE(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldNextNotifyTime, v))
}
// NextNotifyTimeLT applies the LT predicate on the "next_notify_time" field.
func NextNotifyTimeLT(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldNextNotifyTime, v))
}
// NextNotifyTimeLTE applies the LTE predicate on the "next_notify_time" field.
func NextNotifyTimeLTE(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldNextNotifyTime, v))
}
// NextNotifyTimeIsNil applies the IsNil predicate on the "next_notify_time" field.
func NextNotifyTimeIsNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIsNull(FieldNextNotifyTime))
}
// NextNotifyTimeNotNil applies the NotNil predicate on the "next_notify_time" field.
func NextNotifyTimeNotNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotNull(FieldNextNotifyTime))
}
// LastExecuteTimeEQ applies the EQ predicate on the "last_execute_time" field.
func LastExecuteTimeEQ(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldLastExecuteTime, v))
}
// LastExecuteTimeNEQ applies the NEQ predicate on the "last_execute_time" field.
func LastExecuteTimeNEQ(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldLastExecuteTime, v))
}
// LastExecuteTimeIn applies the In predicate on the "last_execute_time" field.
func LastExecuteTimeIn(vs ...time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldLastExecuteTime, vs...))
}
// LastExecuteTimeNotIn applies the NotIn predicate on the "last_execute_time" field.
func LastExecuteTimeNotIn(vs ...time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldLastExecuteTime, vs...))
}
// LastExecuteTimeGT applies the GT predicate on the "last_execute_time" field.
func LastExecuteTimeGT(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldLastExecuteTime, v))
}
// LastExecuteTimeGTE applies the GTE predicate on the "last_execute_time" field.
func LastExecuteTimeGTE(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldLastExecuteTime, v))
}
// LastExecuteTimeLT applies the LT predicate on the "last_execute_time" field.
func LastExecuteTimeLT(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldLastExecuteTime, v))
}
// LastExecuteTimeLTE applies the LTE predicate on the "last_execute_time" field.
func LastExecuteTimeLTE(v time.Time) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldLastExecuteTime, v))
}
// LastExecuteTimeIsNil applies the IsNil predicate on the "last_execute_time" field.
func LastExecuteTimeIsNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIsNull(FieldLastExecuteTime))
}
// LastExecuteTimeNotNil applies the NotNil predicate on the "last_execute_time" field.
func LastExecuteTimeNotNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotNull(FieldLastExecuteTime))
}
// RetryCountEQ applies the EQ predicate on the "retry_count" field.
func RetryCountEQ(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldRetryCount, v))
}
// RetryCountNEQ applies the NEQ predicate on the "retry_count" field.
func RetryCountNEQ(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldRetryCount, v))
}
// RetryCountIn applies the In predicate on the "retry_count" field.
func RetryCountIn(vs ...uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldRetryCount, vs...))
}
// RetryCountNotIn applies the NotIn predicate on the "retry_count" field.
func RetryCountNotIn(vs ...uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldRetryCount, vs...))
}
// RetryCountGT applies the GT predicate on the "retry_count" field.
func RetryCountGT(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldRetryCount, v))
}
// RetryCountGTE applies the GTE predicate on the "retry_count" field.
func RetryCountGTE(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldRetryCount, v))
}
// RetryCountLT applies the LT predicate on the "retry_count" field.
func RetryCountLT(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldRetryCount, v))
}
// RetryCountLTE applies the LTE predicate on the "retry_count" field.
func RetryCountLTE(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldRetryCount, v))
}
// RetryCountIsNil applies the IsNil predicate on the "retry_count" field.
func RetryCountIsNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIsNull(FieldRetryCount))
}
// RetryCountNotNil applies the NotNil predicate on the "retry_count" field.
func RetryCountNotNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotNull(FieldRetryCount))
}
// MaxRetryCountEQ applies the EQ predicate on the "max_retry_count" field.
func MaxRetryCountEQ(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldMaxRetryCount, v))
}
// MaxRetryCountNEQ applies the NEQ predicate on the "max_retry_count" field.
func MaxRetryCountNEQ(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldMaxRetryCount, v))
}
// MaxRetryCountIn applies the In predicate on the "max_retry_count" field.
func MaxRetryCountIn(vs ...uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldMaxRetryCount, vs...))
}
// MaxRetryCountNotIn applies the NotIn predicate on the "max_retry_count" field.
func MaxRetryCountNotIn(vs ...uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldMaxRetryCount, vs...))
}
// MaxRetryCountGT applies the GT predicate on the "max_retry_count" field.
func MaxRetryCountGT(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldMaxRetryCount, v))
}
// MaxRetryCountGTE applies the GTE predicate on the "max_retry_count" field.
func MaxRetryCountGTE(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldMaxRetryCount, v))
}
// MaxRetryCountLT applies the LT predicate on the "max_retry_count" field.
func MaxRetryCountLT(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldMaxRetryCount, v))
}
// MaxRetryCountLTE applies the LTE predicate on the "max_retry_count" field.
func MaxRetryCountLTE(v uint32) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldMaxRetryCount, v))
}
// MaxRetryCountIsNil applies the IsNil predicate on the "max_retry_count" field.
func MaxRetryCountIsNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIsNull(FieldMaxRetryCount))
}
// MaxRetryCountNotNil applies the NotNil predicate on the "max_retry_count" field.
func MaxRetryCountNotNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotNull(FieldMaxRetryCount))
}
// NotifyURLEQ applies the EQ predicate on the "notify_url" field.
func NotifyURLEQ(v string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEQ(FieldNotifyURL, v))
}
// NotifyURLNEQ applies the NEQ predicate on the "notify_url" field.
func NotifyURLNEQ(v string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNEQ(FieldNotifyURL, v))
}
// NotifyURLIn applies the In predicate on the "notify_url" field.
func NotifyURLIn(vs ...string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIn(FieldNotifyURL, vs...))
}
// NotifyURLNotIn applies the NotIn predicate on the "notify_url" field.
func NotifyURLNotIn(vs ...string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotIn(FieldNotifyURL, vs...))
}
// NotifyURLGT applies the GT predicate on the "notify_url" field.
func NotifyURLGT(v string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGT(FieldNotifyURL, v))
}
// NotifyURLGTE applies the GTE predicate on the "notify_url" field.
func NotifyURLGTE(v string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldGTE(FieldNotifyURL, v))
}
// NotifyURLLT applies the LT predicate on the "notify_url" field.
func NotifyURLLT(v string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLT(FieldNotifyURL, v))
}
// NotifyURLLTE applies the LTE predicate on the "notify_url" field.
func NotifyURLLTE(v string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldLTE(FieldNotifyURL, v))
}
// NotifyURLContains applies the Contains predicate on the "notify_url" field.
func NotifyURLContains(v string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldContains(FieldNotifyURL, v))
}
// NotifyURLHasPrefix applies the HasPrefix predicate on the "notify_url" field.
func NotifyURLHasPrefix(v string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldHasPrefix(FieldNotifyURL, v))
}
// NotifyURLHasSuffix applies the HasSuffix predicate on the "notify_url" field.
func NotifyURLHasSuffix(v string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldHasSuffix(FieldNotifyURL, v))
}
// NotifyURLIsNil applies the IsNil predicate on the "notify_url" field.
func NotifyURLIsNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldIsNull(FieldNotifyURL))
}
// NotifyURLNotNil applies the NotNil predicate on the "notify_url" field.
func NotifyURLNotNil() predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldNotNull(FieldNotifyURL))
}
// NotifyURLEqualFold applies the EqualFold predicate on the "notify_url" field.
func NotifyURLEqualFold(v string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldEqualFold(FieldNotifyURL, v))
}
// NotifyURLContainsFold applies the ContainsFold predicate on the "notify_url" field.
func NotifyURLContainsFold(v string) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.FieldContainsFold(FieldNotifyURL, v))
}
// HasApp applies the HasEdge predicate on the "app" edge.
func HasApp() predicate.PayNotifyTask {
return predicate.PayNotifyTask(func(s *sql.Selector) {
step := sqlgraph.NewStep(
sqlgraph.From(Table, FieldID),
sqlgraph.Edge(sqlgraph.M2O, false, AppTable, AppColumn),
)
sqlgraph.HasNeighbors(s, step)
})
}
// HasAppWith applies the HasEdge predicate on the "app" edge with a given conditions (other predicates).
func HasAppWith(preds ...predicate.App) predicate.PayNotifyTask {
return predicate.PayNotifyTask(func(s *sql.Selector) {
step := newAppStep()
sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
for _, p := range preds {
p(s)
}
})
})
}
// HasOrder applies the HasEdge predicate on the "order" edge.
func HasOrder() predicate.PayNotifyTask {
return predicate.PayNotifyTask(func(s *sql.Selector) {
step := sqlgraph.NewStep(
sqlgraph.From(Table, FieldID),
sqlgraph.Edge(sqlgraph.M2O, false, OrderTable, OrderColumn),
)
sqlgraph.HasNeighbors(s, step)
})
}
// HasOrderWith applies the HasEdge predicate on the "order" edge with a given conditions (other predicates).
func HasOrderWith(preds ...predicate.PayOrder) predicate.PayNotifyTask {
return predicate.PayNotifyTask(func(s *sql.Selector) {
step := newOrderStep()
sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
for _, p := range preds {
p(s)
}
})
})
}
// HasNotifyLog applies the HasEdge predicate on the "notify_log" edge.
func HasNotifyLog() predicate.PayNotifyTask {
return predicate.PayNotifyTask(func(s *sql.Selector) {
step := sqlgraph.NewStep(
sqlgraph.From(Table, FieldID),
sqlgraph.Edge(sqlgraph.O2M, true, NotifyLogTable, NotifyLogColumn),
)
sqlgraph.HasNeighbors(s, step)
})
}
// HasNotifyLogWith applies the HasEdge predicate on the "notify_log" edge with a given conditions (other predicates).
func HasNotifyLogWith(preds ...predicate.PayNotifyLog) predicate.PayNotifyTask {
return predicate.PayNotifyTask(func(s *sql.Selector) {
step := newNotifyLogStep()
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.PayNotifyTask) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.AndPredicates(predicates...))
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.PayNotifyTask) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.OrPredicates(predicates...))
}
// Not applies the not operator on the given predicate.
func Not(p predicate.PayNotifyTask) predicate.PayNotifyTask {
return predicate.PayNotifyTask(sql.NotPredicates(p))
}